Skip to content
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

NullPointerException indexing jdk v11 in auto-indexing #520

Open
Strum355 opened this issue Nov 10, 2022 · 2 comments
Open

NullPointerException indexing jdk v11 in auto-indexing #520

Strum355 opened this issue Nov 10, 2022 · 2 comments

Comments

@Strum355
Copy link
Contributor

Strum355 commented Nov 10, 2022

Link to autoindexing job
https://sourcegraph.com/jdk/-/code-graph/indexes/TFNJRkluZGV4OjM5NDM0MDk=

Status: Downloaded newer image for sourcegraph/scip-java@sha256:eb3996bdc8ab3a56600e7d647bc1ef72f3db8cfffc2026550095a0af7bb762bd
+ scip-java index --build-tool=scip
Using JVM version '11'
Downloading https://raw.githubusercontent.com/coursier/jvm-index/master/index.json
Downloaded https://raw.githubusercontent.com/coursier/jvm-index/master/index.json
�[94minfo�[39m: Compiling 18,334 Java sources
Downloaded 1 missing file(s) / 24
Downloaded 2 missing file(s) / 24
Downloaded 3 missing file(s) / 24
Downloaded 4 missing file(s) / 24
Downloaded 5 missing file(s) / 24
Downloaded 6 missing file(s) / 24
Downloaded 7 missing file(s) / 24
Downloaded 8 missing file(s) / 24
Downloaded 9 missing file(s) / 24
Downloaded 10 missing file(s) / 24
Downloaded 11 missing file(s) / 24
Downloaded 12 missing file(s) / 24
Downloaded 13 missing file(s) / 24
Downloaded 14 missing file(s) / 24
Downloaded 15 missing file(s) / 24
Downloaded 16 missing file(s) / 24
Downloaded 17 missing file(s) / 24
Downloaded 18 missing file(s) / 24
Downloaded 19 missing file(s) / 24
Downloaded 20 missing file(s) / 24
Downloaded 21 missing file(s) / 24
Downloaded 22 missing file(s) / 24
Downloaded 23 missing file(s) / 24
Downloaded 24 missing file(s) / 24
�[94minfo�[39m: $ /root/.cache/coursier/arc/https/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.16.1%252B1/OpenJDK11U-jdk_x64_linux_hotspot_11.0.16.1_1.tar.gz/jdk-11.0.16.1+1/bin/javac @/data/target/javacopts.txt
�[94minfo�[39m: An exception has occurred in the compiler (11.0.16.1). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.
�[94minfo�[39m: java.lang.NullPointerException
�[94minfo�[39m: 	at jdk.compiler/com.sun.tools.javac.comp.Modules$UsesProvidesVisitor.visitExports(Modules.java:1011)
�[94minfo�[39m: 	at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCExports.accept(JCTree.java:2743)
�[94minfo�[39m: 	at jdk.compiler/com.sun.tools.javac.comp.Modules$UsesProvidesVisitor.lambda$visitModuleDef$0(Modules.java:988)
�[94minfo�[39m: 	at java.base/java.lang.Iterable.forEach(Iterable.java:75)
�[94minfo�[39m: 	at jdk.compiler/com.sun.tools.javac.comp.Modules$UsesProvidesVisitor.visitModuleDef(Modules.java:988)
�[94minfo�[39m: 	at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCModuleDecl.accept(JCTree.java:2693)
�[94minfo�[39m: 	at jdk.compiler/com.sun.tools.javac.comp.Modules.lambda$getUsesProvidesCompleter$4(Modules.java:963)
�[94minfo�[39m: 	at jdk.compiler/com.sun.tools.javac.code.Symbol$ModuleSymbol.completeUsesProvides(Symbol.java:1009)
�[94minfo�[39m: 	at jdk.compiler/com.sun.tools.javac.comp.Attr.visitModuleDef(Attr.java:4596)
�[94minfo�[39m: 	at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCModuleDecl.accept(JCTree.java:2693)
�[94minfo�[39m: 	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:655)
�[94minfo�[39m: 	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:724)
�[94minfo�[39m: 	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribModule(Attr.java:4493)
�[94minfo�[39m: 	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribModule(Attr.java:4484)
�[94minfo�[39m: 	at jdk.compiler/com.sun.tools.javac.comp.Attr.attrib(Attr.java:4441)
�[94minfo�[39m: 	at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1337)
�[94minfo�[39m: 	at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:973)
�[94minfo�[39m: 	at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:311)
�[94minfo�[39m: 	at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:170)
�[94minfo�[39m: 	at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:57)
�[94minfo�[39m: 	at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:43)
�[91merror�[39m: CommandResult 4
time="2022-11-10T14:55:20Z" level=error msg="Process exited with status 1\n"
@olafurpg
Copy link
Member

Can we work around this issue by using an older version of JDK v11? This was working before.

@Strum355
Copy link
Contributor Author

I will try out multiple versions tomorrow/next week to see if I can narrow it down to that addressing it 🙂

@olafurpg olafurpg removed their assignment May 22, 2024
@linear linear bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants