Several IllegalStateException
due to duplicate keys #41
Open
Description
Repo
https://github.com/apache/hadoop
Error:
java.lang.IllegalStateException: Duplicate key addEncryption(T) (attempted merging values Callable(signature=addEncryption(T), comment=, annotations=[@Override], modifiers=[public], thrownExceptions=[], declaration=public T addEncryption(final T request), parameters=[ParameterInCallable(type=T, name=request, annotations=[], modifiers=[final])], code={
return request;
}, startLine=35, endLine=38, returnType=T, isImplicit=false, isConstructor=false, referencedTypes=[], accessedFields=[], callSites=[], variableDeclarations=[], cyclomaticComplexity=0) and Callable(signature=addEncryption(T), comment=, annotations=[@Override], modifiers=[public], thrownExceptions=[], declaration=public T addEncryption(final T request), parameters=[ParameterInCallable(type=T, name=request, annotations=[], modifiers=[final])], code={
return request;
}, startLine=40, endLine=43, returnType=T, isImplicit=false, isConstructor=false, referencedTypes=[], accessedFields=[], callSites=[], variableDeclarations=[], cyclomaticComplexity=0))
at java.base/java.util.stream.Collectors.duplicateKeyException(Collectors.java:133)
at java.base/java.util.stream.Collectors.lambda$uniqKeysMapAccumulator$1(Collectors.java:180)
at java.base/java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:497)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:487)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:239)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
at com.ibm.northstar.SymbolTable.lambda$processCompilationUnit$16(SymbolTable.java:201)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:497)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:487)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:239)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
at com.ibm.northstar.SymbolTable.processCompilationUnit(SymbolTable.java:204)
at com.ibm.northstar.SymbolTable.extractAll(SymbolTable.java:636)
at com.ibm.northstar.CodeAnalyzer.analyze(CodeAnalyzer.java:114)
at com.ibm.northstar.CodeAnalyzer.run(CodeAnalyzer.java:86)
at picocli.CommandLine.executeUserObject(CommandLine.java:1767)
at picocli.CommandLine.access$900(CommandLine.java:145)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2139)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2106)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:1973)
at picocli.CommandLine.execute(CommandLine.java:1902)
at com.ibm.northstar.CodeAnalyzer.main(CodeAnalyzer.java:77)
Metadata
Assignees
Labels
No labels