Community
Participate
Working Groups
In org.eclipse.birt.core.framework.Platform, the method startup() uses the wrong constructor to build a BirtException. The code looks like so: throw new BirtException( "org.eclipse.birt.core", ResourceConstants.CANNOT_STARTUP_OSGI_PLATFORM, ex ); This makes "ex" an Object argument to the message CANNOT_STARTUP_OSGI_PLATFORM instead of copying it into the cause field. Replace these two lines with throw new BirtException( "org.eclipse.birt.core", ResourceConstants.CANNOT_STARTUP_OSGI_PLATFORM, new Object[0], ex );
Created attachment 196518 [details] Patch for related problems in OSGILauncher.java This patch fixes two broken error messages in OSGILauncher.java Together with the patch in comment #1, this gives users much better error messages when startup fails because the config hasn't been set up correctly.
Correct constructor used
*** Bug 357314 has been marked as a duplicate of this bug. ***