Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327179 - java.lang.NullPointerException at at org.eclipse.birt.report.model.i18n.ResourceHandle.getMessage (ResourceHandle.java:145) on WAS 6.1
Summary: java.lang.NullPointerException at at org.eclipse.birt.report.model.i18n.Resou...
Status: CLOSED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.6.1   Edit
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Target Milestone: 3.7.0   Edit
Assignee: Birt-ReportEngine-inbox@eclipse.org CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-07 01:54 EDT by Monika CLA
Modified: 2011-05-26 13:32 EDT (History)
2 users (show)

See Also:


Attachments
RPT Design Doc of version 2.6.1 (109.88 KB, text/xml)
2010-10-09 04:26 EDT, Monika CLA
no flags Details
Report design using flatfile version (13.96 KB, application/zip)
2010-11-11 00:05 EST, Xiaoying Gu CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Monika CLA 2010-10-07 01:54:01 EDT
Try running report designed in 2.6.1 version on WAS 6.1 through one of the scheduler program and getting following error.. 
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R java.lang.NullPointerException
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at org.eclipse.birt.report.model.i18n.ResourceHandle.getMessage (ResourceHandle.java:145)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at org.eclipse.birt.report.model.i18n.ThreadResources.getMessag e(ThreadResources.java:131)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at org.eclipse.birt.report.model.i18n.ThreadResources.getMessag e(ThreadResources.java:113)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at org.eclipse.birt.report.model.i18n.ModelMessages.getMessage( ModelMessages.java:53)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at org.eclipse.birt.report.model.metadata.Choice.getDisplayName (Choice.java:98)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at org.eclipse.birt.report.model.metadata.ChoiceSet.findChoiceB yDisplayName(ChoiceSet.java:223)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at org.eclipse.birt.report.model.metadata.PropertyDefn.validate ExtendedChoicesByDisplayName(PropertyDefn.java:830)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at org.eclipse.birt.report.model.metadata.PropertyDefn.validate Value(PropertyDefn.java:865)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at org.eclipse.birt.report.model.metadata.PeerExtensionLoader$P eerExtensionElementLoader.addDefaultStyleToMeta(PeerExtensio nLoader.java:383)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at org.eclipse.birt.report.model.metadata.PeerExtensionLoader$P eerExtensionElementLoader.loadElement(PeerExtensionLoader.ja va:344)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at org.eclipse.birt.report.model.metadata.PeerExtensionLoader.l oadExtension(PeerExtensionLoader.java:113)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at org.eclipse.birt.report.model.metadata.ExtensionLoader.doLoa d(ExtensionLoader.java:150)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at org.eclipse.birt.report.model.metadata.PeerExtensionLoader.d oLoad(PeerExtensionLoader.java:65)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at org.eclipse.birt.report.model.metadata.ExtensionLoader.load( ExtensionLoader.java:71)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at org.eclipse.birt.report.model.metadata.ExtensionManagerImpl. initialize(ExtensionManagerImpl.java:97)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at org.eclipse.birt.report.model.metadata.MetaDataDictionary.in tializeExtension(MetaDataDictionary.java:1144)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at org.eclipse.birt.report.model.api.impl.DesignEngineImpl.init ialize(DesignEngineImpl.java:99)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at org.eclipse.birt.report.model.api.impl.DesignEngineImpl.newS essionHandle(DesignEngineImpl.java:147)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at org.eclipse.birt.report.model.api.DesignEngine.newSessionHan dle(DesignEngine.java:108)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at org.eclipse.birt.report.engine.parser.ReportParser.getDesign Handle(ReportParser.java:143)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.g etReportDesignHandle(ReportEngineHelper.java:255)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o penReportDesign(ReportEngineHelper.java:274)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o penReportDesign(ReportEngineHelper.java:196)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o penReportDesign(ReportEngineHelper.java:130)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at org.eclipse.birt.report.engine.api.impl.ReportEngine.openRep ortDesign(ReportEngine.java:304)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at com.checkfree.profile.reports.util.BIRTIntegrationUtil.genra teReport(BIRTIntegrationUtil.java)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at com.checkfree.profile.reports.ReportUtility.generateReport(R eportUtility.java)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at com.fiserv.profiles.endofday.EndOfDayService.generateAuditRe port(EndOfDayService.java)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at com.fiserv.profiles.service.ejb.EndOfDayServiceSessionBean.g enerateAuditReport(EndOfDayServiceSessionBean.java:69)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at com.fiserv.profiles.service.interfaces.EJSRemoteStatelessEnd OfDayService_cce65a05.generateAuditReport(Unknown Source)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at com.fiserv.profiles.service.interfaces._EndOfDayServiceRemot e_Stub.generateAuditReport(_EndOfDayServiceRemote_Stub.java: 303)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:64)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:43)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at java.lang.reflect.Method.invoke(Method.java:615)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at com.fiserv.profiles.service.delegate.ProfileTimedJobDelegato r.invoke(ProfileTimedJobDelegator.java:144)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at com.fiserv.profiles.service.delegate.ProfileTimedJobDelegato r.runJob(ProfileTimedJobDelegator.java:88)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at com.fiserv.profiles.service.ejb.TimedJobTrigger.ejbTimeout(T imedJobTrigger.java:79)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at com.ibm.ejs.container.TimedObjectWrapper.ejbTimeout(TimedObj ectWrapper.java:90)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at com.ibm.ejs.container.TimerTaskHandler.doWork(TimerTaskHandl er.java:265)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at com.ibm.ws.scheduler.AlarmListener.executeTaskWithNotificati on(AlarmListener.java:795)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at com.ibm.ws.scheduler.AlarmListener.access$700(AlarmListener. java:120)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at com.ibm.ws.scheduler.AlarmListener$TaskWork.doWork(AlarmList ener.java:426)
[10/6/10 13:33:32:281 IST] 0000001b SystemErr R at com.ibm.ws.scheduler.AlarmListener$TaskWork.run(AlarmListene r.java:212)
[10/6/10 13:33:32:296 IST] 0000001b SystemErr R at com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java:761)
[10/6/10 13:33:32:296 IST] 0000001b SystemErr R at com.ibm.ws.asynchbeans.ExecutionContextImpl.go(ExecutionCont extImpl.java:85)
[10/6/10 13:33:32:296 IST] 0000001b SystemErr R at com.ibm.ws.scheduler.AlarmListener.fireTask(AlarmListener.ja va:1400)
[10/6/10 13:33:32:296 IST] 0000001b SystemErr R at com.ibm.ws.scheduler.AlarmListener.fired(AlarmListener.java: 1318)
[10/6/10 13:33:32:296 IST] 0000001b SystemErr R at com.ibm.ws.asynchbeans.AlarmImpl.callListenerMethod(AlarmImp l.java:338)
[10/6/10 13:33:32:296 IST] 0000001b SystemErr R at com.ibm.ws.asynchbeans.timer.GenericTimer.run(GenericTimer.j ava:216)
[10/6/10 13:33:32:296 IST] 0000001b SystemErr R at com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java:1114 )
[10/6/10 13:33:32:296 IST] 0000001b SystemErr R at com.ibm.ws.asynchbeans.AlarmImpl.runListenerAsCJWork(AlarmIm pl.java:173)
[10/6/10 13:33:32:296 IST] 0000001b SystemErr R at com.ibm.ws.asynchbeans.am._Alarm.fireAlarm(_Alarm.java:332)
[10/6/10 13:33:32:296 IST] 0000001b SystemErr R at com.ibm.ws.asynchbeans.am._Alarm.run(_Alarm.java:229)
[10/6/10 13:33:32:296 IST] 0000001b SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)


If I run the report directly through JAVA main method it works fine.
Comment 1 Xiaoying Gu CLA 2010-10-09 04:15:10 EDT
Does the NPE only found only on this report or any report deployed on WAS 6.1?

Could you please attache the report for us to investigate?
Comment 2 Monika CLA 2010-10-09 04:26:19 EDT
Created attachment 180542 [details]
RPT Design Doc of version 2.6.1 

RPT Design Doc attachment.
Comment 3 Xiaoying Gu CLA 2010-11-11 00:04:38 EST
Hi Monika,

I can not reproduce this issue in our WAS 6.1 using the BIRT 2.6.1 release build.

I was using the report design you attached but replaced datasource with flatfile.
Comment 4 Xiaoying Gu CLA 2010-11-11 00:05:45 EST
Created attachment 182871 [details]
Report design using flatfile version
Comment 5 wspablo CLA 2010-11-24 17:22:26 EST
has anyone find a workaround for this issue? I've run test with WAS 6.1.0.19 and WAS 6.1.0.23 and magically the bug is gone any idea why?
Comment 6 Xiaoying Gu CLA 2010-11-24 22:19:40 EST
(In reply to comment #5)
> has anyone find a workaround for this issue? I've run test with WAS 6.1.0.19
> and WAS 6.1.0.23 and magically the bug is gone any idea why

This issue is not reproducible in our environment with WAS 6.1
Comment 7 wspablo CLA 2010-11-26 10:54:29 EST
Xiaoying,

Try using WAS 6.1.0.11 I was able to get the error, I suppose any version below will fail too.

Regards
Comment 8 Xiaoying Gu CLA 2011-04-07 04:43:59 EDT
The WAS application server 6.1  was downloaded from http://www-01.ibm.com/support/docview.wss?uid=swg27007435
And I did not see and minor version (6.1.0.19 or 6.1.0.23)

Suggest to upgrade the was version in your environment as we can not reproduce this issue in the official 6.1 version.