Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
newSessionHandle throws a NullPointerException
boj
Hi,<br />
<br />
I'm coding an eclipse plugin that generates reports given a .rptdesign and changing the path of datasource's source. But I get a NullPointerException on second execution and so on. So I must reboot the plugin everytime. Any idea?<br />
<br />
I'm using eclipse Ganymede with birt 2.3.1 and the code until the exception is the following:<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
ReportDesignHandle design = null;
//Create a design engine configuration object.
DesignConfig dConfig = new DesignConfig( );
DesignEngine dEngine = new DesignEngine( dConfig );
// Create a session handle, using the system locale.
SessionHandle session = dEngine.newSessionHandle( null );
</pre>
Find more posts tagged with
Comments
boj
Hi,
I have the problem solved. I was doing a Platform.shutdown(), so platform was null on every execution after the first one.
Thx