Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 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
Madhav Suram is currently offline Madhav Suram
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] Tue, 20 November 2012 19:03 Go to previous messageGo to next message
Michael Williams is currently offline Michael Williams
Messages: 1560
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

Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.
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
Krzysztof Kazmierczyk is currently offline Krzysztof Kazmierczyk
Messages: 4
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 11:50 Go to previous message
Anthony Farrell is currently offline Anthony Farrell
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 11: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: Thu Aug 28 03:24:50 EDT 2014

Powered by FUDForum. Page generated in 0.01878 seconds