Buildproject, no traceback: java: java.lang.NullPointerException

Answered

Hello! Recently I haven't been able to build my project. I can't remember anything out of the ordinary that I've done that could have caused this. I'm using intellij community edition 2022.2.2. I've tried removing all plugins. 

This is the traceback. 

java: java.lang.NullPointerException

This is the build output.

Executing pre-compile tasks...
Running 'before' tasks
Checking sources
Copying resources... [neo4j_procedure]
Parsing java… [neo4j_procedure]
java: java.lang.NullPointerException
java: java.lang.NullPointerException
Checking dependencies… [neo4j_procedure]
Dependency analysis found 0 affected files
Errors occurred while compiling module 'neo4j_procedure'
javac 11.0.16 was used to compile java sources
Finished, saving caches…
Executing post-compile tasks...
Finished, saving caches…
Synchronizing output directories...
0
3 comments

Please set the 'neo4j_procedure' module's JDK to be the same version that is set for the entire project. The option can be found under Project Structure | Modules | <module name> | Dependencies | 'Module SDK'. 

For more information, see https://stackoverflow.com/a/26009627/2000323

0

Hello, done that and still get the same error. I also tried some of the suggestions over here https://stackoverflow.com/questions/42525139/maven-build-compilation-error-failed-to-execute-goal-org-apache-maven-plugins. 

I tried running mvn clean install -e and get the following output. There seems to be something wrong with the neo4j package with org.neo4j.tooling.procedure.visitors.RecordTypeVisitor throwing a nullpointerexception. I'm not very familiar with maven so I'm not very confident in my debugging skills though. 

Output: mvn clean install -e: 

https://pastebin.com/dGCMbP5J 

pom.xml:

https://pastebin.com/Xjdfap0T 

0

Could you upload your project to https://uploads.jetbrains.com/ and provide the upload id? I'll take a look.

0

Please sign in to leave a comment.