Skip to main content



      Home
Home » Archived » BIRT » NullPointerException on BIRT 2.6.2 after viewing report for a few times
NullPointerException on BIRT 2.6.2 after viewing report for a few times [message #985917] Fri, 16 November 2012 11:51 Go to next message
Eclipse UserFriend
Hi,

We are running into a NullPointerException issue when running a certain report. This is happening only on Windows 7 and is working fine on AIX platform.

We tried it on multiple Windows machines and the first few times the report renders fine without errors. But after that we see messages written into org.eclipse.birt.chart.engine_XXXX.log file as below for the same report.

SEVERE: ChartReportItemPresentationImpl: onRowSets(...) - failed
Nov 16, 2012 9:58:29 PM org.eclipse.birt.chart.reportitem.ChartReportItemPresentationBase onRowSets
WARNING: Exception
java.lang.NullPointerException
        at org.mozilla.javascript.UintMap.rehashTable(UintMap.java:295)
        at org.mozilla.javascript.UintMap.ensureIndex(UintMap.java:360)
        at org.mozilla.javascript.UintMap.put(UintMap.java:160)
        at org.mozilla.classfile.ConstantPool.addConstant(ClassFileWriter.java:2794)
        at org.mozilla.classfile.ClassFileWriter.addLoadConstant(ClassFileWriter.java:668)
        at org.mozilla.classfile.ClassFileWriter.addPush(ClassFileWriter.java:927)
        at org.mozilla.javascript.optimizer.Codegen.generateNativeFunctionOverrides(Codegen.java:840)
        at org.mozilla.javascript.optimizer.Codegen.generateCode(Codegen.java:313)
        at org.mozilla.javascript.optimizer.Codegen.compileToClassFile(Codegen.java:182)
        at org.mozilla.javascript.optimizer.Codegen.compile(Codegen.java:91)
        at org.mozilla.javascript.Context.compileImpl(Context.java:2391)
        at org.mozilla.javascript.Context.compileString(Context.java:1359)
        at org.mozilla.javascript.Context.compileString(Context.java:1348)
        at org.mozilla.javascript.Context.evaluateString(Context.java:1101)
        at org.eclipse.birt.chart.script.AbstractScriptHandler.register(AbstractScriptHandler.java:673)
        at org.eclipse.birt.chart.reportitem.ChartReportItemPresentationBase.initializeScriptHandler(ChartReportItemPresentationBase.java:996)
        at org.eclipse.birt.chart.reportitem.ChartReportItemPresentationBase.onRowSets(ChartReportItemPresentationBase.java:834)
        at org.eclipse.birt.chart.reportitem.ChartReportItemPresentationProxy.onRowSets(ChartReportItemPresentationProxy.java:108)


Couldn't find any known issues on the forum and on the net for
java.lang.NullPointerException at org.mozilla.javascript.UintMap.rehashTable

Any suggestion on what could be causing it?

Thanks & Regards,
Madhav
Re: NullPointerException on BIRT 2.6.2 after viewing report for a few times [message #986567 is a reply to message #985917] Tue, 20 November 2012 19:03 Go to previous messageGo to next message
Eclipse UserFriend
I'm assuming this is your post, over on BIRT Exchange, too. I'm linking them, since there's some back and forth on that one.

http://www.birt-exchange.org/org/forum/index.php/topic/28265-nullpointerexception-birt-2-6-2/
Re: NullPointerException on BIRT 2.6.2 after viewing report for a few times [message #991169 is a reply to message #986567] Mon, 17 December 2012 10:29 Go to previous messageGo to next message
Eclipse UserFriend
We have the same issue with our product. This seems to be an issue with JIT compiler. See here for more details: IBM technote 1616615
Re: NullPointerException on BIRT 2.6.2 after viewing report for a few times [message #1039795 is a reply to message #991169] Fri, 12 April 2013 11:50 Go to previous message
Eclipse UserFriend
See http://www-01.ibm.com/support/docview.wss?uid=swg21616615


A work around is available.

[Updated on: Fri, 12 April 2013 11:51] by Moderator

Previous Topic:Error in XML Source Page must be correct before other pages can be used
Next Topic:How to use XML datasource to render a report
Goto Forum:
  


Current Time: Wed May 07 16:39:11 EDT 2025

Powered by FUDForum. Page generated in 0.03203 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top