dmusican / Elegit

A GUI client for people who want to learn Git.
MIT License
30 stars 7 forks source link

Fatal error compiling: CompilerException: NullPointerException #645

Open piegamesde opened 5 years ago

piegamesde commented 5 years ago

Operating system: Arch linux Java version: openjdk 12.0.2 Maven version: 3.6.2

~/Downloads/Elegit(master) » mvn clean compile jfx:build-jar assembly:single

[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for elegit:Elegit:jar:1.1.1
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 41, column 21
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
Downloading from central: https://repo.maven.apache.org/maven2/com/zenjava/javafx-maven-plugin/8.5.0/javafx-maven-plugin-8.5.0.pom
Downloaded from central: https://repo.maven.apache.org/maven2/com/zenjava/javafx-maven-plugin/8.5.0/javafx-maven-plugin-8.5.0.pom (15 kB at 27 kB/s)
Downloading from central: https://repo.maven.apache.org/maven2/com/zenjava/javafx-maven-plugin/8.5.0/javafx-maven-plugin-8.5.0.jar
Downloaded from central: https://repo.maven.apache.org/maven2/com/zenjava/javafx-maven-plugin/8.5.0/javafx-maven-plugin-8.5.0.jar (84 kB at 428 kB/s)
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assembly-plugin/3.1.0/maven-assembly-plugin-3.1.0.pom
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assembly-plugin/3.1.0/maven-assembly-plugin-3.1.0.pom (16 kB at 304 kB/s)
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assembly-plugin/3.1.0/maven-assembly-plugin-3.1.0.jar
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assembly-plugin/3.1.0/maven-assembly-plugin-3.1.0.jar (241 kB at 988 kB/s)
[INFO] 
[INFO] ---------------------------< elegit:Elegit >----------------------------
[INFO] Building Elegit 1.1.1
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ Elegit ---
[INFO] Deleting ~/Downloads/Elegit/target
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ Elegit ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] Copying 32 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ Elegit ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 108 source files to ~/Downloads/Elegit/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.607 s
[INFO] Finished at: 2019-09-27T13:28:29+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project Elegit: Fatal error compiling: CompilerException: NullPointerException -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
dmusican commented 5 years ago

Thanks. This is almost certainly related to issue #637.