Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 16:51 Go to next message
Madhav Suram is currently offline Madhav SuramFriend
Messages: 10
Registered: August 2011
Junior Member
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] Wed, 21 November 2012 00:03 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

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/


Michael

Developer Evangelist, Silanis
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 15:29 Go to previous messageGo to next message
Krzysztof Kazmierczyk is currently offline Krzysztof KazmierczykFriend
Messages: 10
Registered: July 2010
Junior Member
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 15:50 Go to previous message
Anthony Farrell is currently offline Anthony FarrellFriend
Messages: 29
Registered: August 2012
Junior Member
See http://www-01.ibm.com/support/docview.wss?uid=swg21616615


A work around is available.

[Updated on: Fri, 12 April 2013 15:51]

Report message to a 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: Fri Apr 19 13:02:53 GMT 2024

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

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

Back to the top