|NullPointerException in jar from Eclipse [message #812224]
||Sat, 03 March 2012 12:38
| Michael Entwisle
Registered: March 2012
I create a reporting API project and it runs fine under Eclipse. I export this using the Eclipse Export/Runnable JAR comand. When I execute this JAR (java -jar myjar.jar), I get an "Exception in thread "main" java.lang.NullPointerException".|
I'm new to BIRT.
BIRT is 3.7.2, Eclipse is Indigo.
The problems seems to be at the line:
IReportEngineFactory factory = (IReportEngineFactory) Platform
It appears in a simple demo program also.
Can you please advise me:
1. what might be the cause of this error?
2. what is the reoommended means of getting an executable JAR file for BIRT and for executing it (the Runnable JAP seems to contain lots of possibly unnecessary JARs)?
Powered by FUDForum
. Page generated in 0.02401 seconds