Skip to content
This repository was archived by the owner on Sep 16, 2025. It is now read-only.
This repository was archived by the owner on Sep 16, 2025. It is now read-only.

Summary is null sometimes #1

@phillip-kruger

Description

@phillip-kruger

When ingesting, we sometimes get a null summary.

2024-07-15 10:17:01,465 INFO  [org.cha.cha.sum.SummaryService] (vert.x-worker-thread-1) [dev-services] not available offline, creating now
org.chappiebot.chappie.summary.SummaryException: Summary creation failed
        at org.chappiebot.chappie.summary.SummaryService.getSummary(SummaryService.java:84)
        at org.chappiebot.chappie.summary.SummaryService_ClientProxy.getSummary(Unknown Source)
        at org.chappiebot.chappie.ingesting.asciidoc.AsciiDocIngestor.ingestDocument(AsciiDocIngestor.java:64)
        at org.chappiebot.chappie.ingesting.asciidoc.AsciiDocIngestor_ClientProxy.ingestDocument(Unknown Source)
        at org.chappiebot.chappie.ingesting.IngestingService.processNextDocument(IngestingService.java:180)
        at org.chappiebot.chappie.ingesting.IngestingService_ClientProxy.processNextDocument(Unknown Source)
        at org.chappiebot.chappie.ingesting.IngestingService_ScheduledInvoker_processNextDocument_41148ea07d06c677aab79901ce3cc5e039915c80.invokeBean(Unknown Source)
        at io.quarkus.scheduler.common.runtime.DefaultInvoker.invoke(DefaultInvoker.java:24)
        at io.quarkus.scheduler.common.runtime.StatusEmitterInvoker.invoke(StatusEmitterInvoker.java:35)
        at io.quarkus.scheduler.common.runtime.SkipConcurrentExecutionInvoker.invoke(SkipConcurrentExecutionInvoker.java:37)
        at io.quarkus.scheduler.runtime.SimpleScheduler$ScheduledTask.doInvoke(SimpleScheduler.java:463)
        at io.quarkus.scheduler.runtime.SimpleScheduler$ScheduledTask$2.call(SimpleScheduler.java:445)
        at io.quarkus.scheduler.runtime.SimpleScheduler$ScheduledTask$2.call(SimpleScheduler.java:442)
        at io.vertx.core.impl.ContextImpl.lambda$executeBlocking$0(ContextImpl.java:178)
        at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:279)
        at io.vertx.core.impl.ContextImpl.lambda$internalExecuteBlocking$2(ContextImpl.java:210)
        at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
        at org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2516)
        at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2495)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1521)
        at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:11)
        at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:11)
        at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
        at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.NullPointerException: Summary should not be null
        at org.chappiebot.chappie.summary.SummaryService.getSummary(SummaryService.java:68)
        ... 23 more
2024-07-15 10:17:08,333 WARN  [org.cha.cha.ing.IngestingService] (vert.x-worker-thread-1) Problem ingesting product [Quarkus] version [3.12.2] document [dev-services.adoc], moving it to the error queue to retry later

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions