Null pointer exception while genrating reports [message #759833] |
Wed, 30 November 2011 09:15  |
harip kaligo Messages: 74 Registered: July 2011 |
Member |
|
|
Hi,
While running 2 reports parallely using BIRT3.7 we are getting below exception and reports are erroring out.Please find the document attached for exception.
Environment in which our reports:
Operating System:Linux
JDK:jdk1.5
Database:oracle 10g
BIRT 3.7
Application Server:Weblogic 10
Any thoughts on how to get rid of this exception?
Thanks,
KKP
[Updated on: Wed, 30 November 2011 09:26] Report message to a moderator
|
|
|
Re: Null pointer exception while genrating reports [message #759971 is a reply to message #759833] |
Wed, 30 November 2011 18:41   |
|
Are both reports running to the same rptdocument?
Jason
On 11/30/2011 4:16 AM, kkp wrote:
> Hi,
>
> While running 2 reports parallely we are getting below exception and reports are erroring out.Please find the document attached for exception.
>
> Enviroment for our reports:
>
> Linux
> jdk1.5
> oracle 10g
> BIRT 3.7
>
> Any thoughts on how to get rid of this exception?
>
>
> Thanks,
> KKP
|
|
|
|
|
|
|
|
Re: Null pointer exception while genrating reports [message #760262 is a reply to message #760238] |
Thu, 01 December 2011 17:27   |
|
How are you getting the report engine? Are calls to it synchronized?
How do you name the rptdocument?
On 12/1/2011 11:49 AM, kkp wrote:
>
>
> Jason
>
> We are using RE API and below is the code:
> EngineConfig config = new EngineConfig();
> config.setResourcePath(birtProperties.getBirtResources(key));
> config.getAppContext().put(EngineConstants.WEBAPP_CLASSPATH_KEY,classPathString);
>
> config.setTempDir(birtProperties.getTempCacheDirectory(tmp));
>
> For generating report:
>
> IReportRunnable design = birtReportEngine.openReportDesign(reportName);
> task = birtReportEngine.createRunTask(design);
> task.run(rptDocumentName);
> task.close();
>
> Pleased suggest if any more info is needed and improvements for better
> performance.
>
> Thanks,
> KKP
|
|
|
|
|
|
|
Re: Null pointer exception while genrating reports [message #761577 is a reply to message #761492] |
Tue, 06 December 2011 17:17   |
|
Can you open a bugzilla entry on this? I can not reproduce the issue.
Jason
On 12/6/2011 9:48 AM, kkp wrote:
> Jason,
>
> Yes the engine creation is wrapped in a synchronized call. Each time we
> run more than 5 reports parallely we are getting the error and had to
> bounce the server.
>
> Thanks,
> KKP
>
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03031 seconds