Skip to content

Several IllegalStateException due to duplicate keys #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rahlk opened this issue Jul 22, 2024 · 0 comments
Open

Several IllegalStateException due to duplicate keys #41

rahlk opened this issue Jul 22, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@rahlk
Copy link
Collaborator

rahlk commented Jul 22, 2024

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)
@rahlk rahlk self-assigned this Jul 22, 2024
@rahlk rahlk added the wontfix This will not be worked on label Feb 12, 2025
@rahlk rahlk closed this as not planned Won't fix, can't repro, duplicate, stale Feb 12, 2025
@rahlk rahlk reopened this Mar 12, 2025
@rahlk rahlk added bug Something isn't working and removed wontfix This will not be worked on labels Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant