Running into stackoverflow errors when processing Apache/Kafka #29
Open
Description
When codeanalyzer was processing kafka, the following command gave me a stack overflow error:
$ java -jar build/libs/codeanalyzer.jar -i /home/test/java/kafka -o home/test/java/kafka/ --no-build
2024-06-21T20:30:34.306584303 [WARN] Failed to download library dependencies of project
2024-06-21T20:30:37.509034520 [WARN] Could not resolve type: KStreamBuilder: Unsolved symbol : KStreamBuilder
2024-06-21T20:30:37.803926818 [DEBUG] Could not resolve expression: builder: Unsolved symbol : KStreamBuilder
2024-06-21T20:30:37.804356320 [DEBUG] Could not resolve expression: builder.stream("data"): Unsolved symbol : KStreamBuilder
2024-06-21T20:30:38.070039034 [DEBUG] Could not resolve expression: builder.stream(sourceTopic): Unsolved symbol : KStreamBuilder
2024-06-21T20:30:38.081260109 [DEBUG] Could not resolve expression: () -> {
...
2024-06-21T20:32:40.197728109 [DEBUG] Could not resolve expression: log.debug("Updated nodeToSourceTopics: {}", nodeToSourceTopics): Unsolved symbol : Logger
2024-06-21T20:32:40.237174617 [DEBUG] Could not resolve expression: log.debug("Found pattern subscribed source topics, initializing consumer's subscription pattern."): Unsolved symbol : Logger
2024-06-21T20:32:40.237244140 [DEBUG] Could not resolve expression: log.debug("No source topics using pattern subscription found, initializing consumer's subscription collection."): Unsolved symbol : Logger
================================================================================
ERROR
================================================================================
Exception in thread "main" java.lang.StackOverflowError
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:514)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:501)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:487)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:239)
at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
Metadata
Assignees
Labels
No labels