-
Notifications
You must be signed in to change notification settings - Fork 7
Description
After running mvn clean package i run the following cmd
mvn exec:java -Dexec.mainClass="edu.isi.bmkeg.lapdf.bin.BuildFtdDatabase"
-Dexec.args="<db_name> <mysql_login> <mysql_password> "
I am getting following error.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.NullPointerException
at edu.isi.bmkeg.lapdf.bin.BuildFtdDatabase.main(BuildFtdDatabase.java:2
8)
... 6 more
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.178 s
[INFO] Finished at: 2014-06-06T19:00:50+05:30
[INFO] Final Memory: 19M/221M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3:java (def
ault-cli) on project lapdftextServer: An exception occured while executing the J
ava class. null: InvocationTargetException: NullPointerException -> [Help 1]
Please help me to solve this issue.
Thanks,
Rakesh