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

safbuilder error #23

Open
schnydszch opened this issue Sep 19, 2019 · 0 comments
Open

safbuilder error #23

schnydszch opened this issue Sep 19, 2019 · 0 comments

Comments

@schnydszch
Copy link

Hi! I am having difficulties using the safbuilder. Running safbuilder.bat -c AAA_batch-metadata.csv, I get the following:

C:\SAFBuilder>safbuilder.bat -c AAA_batch-metadata.csv
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building safbuilder 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ safbuilder ---
[INFO] Deleting C:\SAFBuilder\target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ safbuilder ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\SAFBuilder\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ safbuilder ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 6 source files to C:\SAFBuilder\target\classes
[WARNING] /C:/SAFBuilder/src/main/java/safbuilder/SAFPackage.java: C:\SAFBuilder\src\main\java\safbuilder\SAFPackage.java uses or overrides a deprecated API.
[WARNING] /C:/SAFBuilder/src/main/java/safbuilder/SAFPackage.java: Recompile with -Xlint:deprecation for details.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ safbuilder ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\SAFBuilder\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ safbuilder ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to C:\SAFBuilder\target\test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ safbuilder ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ safbuilder ---
[INFO] Building jar: C:\SAFBuilder\target\safbuilder-1.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.772 s
[INFO] Finished at: 2019-09-19T18:29:51+08:00
[INFO] Final Memory: 18M/216M
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building safbuilder 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- exec-maven-plugin:1.6.0:java (default-cli) @ safbuilder ---
[WARNING]
java.lang.NullPointerException
at java.io.File.(File.java:277)
at safbuilder.SAFPackage.openCSV(SAFPackage.java:57)
at safbuilder.SAFPackage.processMetaPack(SAFPackage.java:119)
at safbuilder.SAFPackage.processMetaPack(SAFPackage.java:137)
at safbuilder.BatchProcess.main(BatchProcess.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:282)
at java.lang.Thread.run(Thread.java:745)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.601 s
[INFO] Finished at: 2019-09-19T18:29:53+08:00
[INFO] Final Memory: 10M/241M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project safbuilder: An exception occured while executing the Java class. null: 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

java version: 1.8
maven version: 3.3.9
Any help is highly appreaciated. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant