Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » NullPointer on websphere deployment
NullPointer on websphere deployment [message #508644] Tue, 19 January 2010 17:24 Go to next message
Missing name Missing name is currently offline Missing name Missing nameFriend
Messages: 94
Registered: November 2009
Member
I tried deploying a report that worked in tomcat to websphere 6.1.0.9. I'm using BIRT 2.5.1 runtime. Previously we had reports deployed to the same websphere with 2.3.1 runtime. The error is as follows:

[19/01/10 17:03:31:547 GMT] 00000048 WebApp        E   [Servlet Error]-[Initialiser]: java.lang.NullPointerException
	at org.eclipse.birt.report.model.i18n.ResourceHandle.getMessage(ResourceHandle.java:145)
	at org.eclipse.birt.report.model.i18n.ThreadResources.getMessage(ThreadResources.java:131)
	at org.eclipse.birt.report.model.i18n.ThreadResources.getMessage(ThreadResources.java:113)
	at org.eclipse.birt.report.model.i18n.ModelMessages.getMessage(ModelMessages.java:53)
	at org.eclipse.birt.report.model.metadata.Choice.getDisplayName(Choice.java:98)
	at org.eclipse.birt.report.model.metadata.ChoiceSet.findChoiceByDisplayName(ChoiceSet.java:223)
	at org.eclipse.birt.report.model.metadata.PropertyDefn.validateExtendedChoicesByDisplayName(PropertyDefn.java:830)
	at org.eclipse.birt.report.model.metadata.PropertyDefn.validateValue(PropertyDefn.java:865)
	at org.eclipse.birt.report.model.metadata.PeerExtensionLoader$PeerExtensionElementLoader.addDefaultStyleToMeta(PeerExtensionLoader.java:383)
	at org.eclipse.birt.report.model.metadata.PeerExtensionLoader$PeerExtensionElementLoader.loadElement(PeerExtensionLoader.java:344)
	at org.eclipse.birt.report.model.metadata.PeerExtensionLoader.loadExtension(PeerExtensionLoader.java:113)
	at org.eclipse.birt.report.model.metadata.ExtensionLoader.doLoad(ExtensionLoader.java:137)
	at org.eclipse.birt.report.model.metadata.PeerExtensionLoader.doLoad(PeerExtensionLoader.java:65)
	at org.eclipse.birt.report.model.metadata.ExtensionLoader.load(ExtensionLoader.java:71)
	at org.eclipse.birt.report.model.metadata.ExtensionManager.initialize(ExtensionManager.java:104)
	at org.eclipse.birt.report.model.metadata.MetaDataDictionary.intializeExtension(MetaDataDictionary.java:1116)
	at org.eclipse.birt.report.model.api.impl.DesignEngineImpl.initialize(DesignEngineImpl.java:99)
	at org.eclipse.birt.report.model.api.impl.DesignEngineImpl.newSessionHandle(DesignEngineImpl.java:147)
	at org.eclipse.birt.report.model.api.DesignEngine.newSessionHandle(DesignEngine.java:108)
	at org.eclipse.birt.report.engine.parser.ReportParser.getDesignHandle(ReportParser.java:143)
	at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.openReportDesign(ReportEngineHelper.java:255)
	at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.openReportDesign(ReportEngineHelper.java:195)
	at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.openReportDesign(ReportEngineHelper.java:129)
	at org.eclipse.birt.report.engine.api.impl.ReportEngine.openReportDesign(ReportEngine.java:308)
	at com.fineos.reporting.birt.BirtReportManager.createDesignProperties(BirtReportManager.java:647)
	at com.fineos.reporting.birt.BirtReportManager.getReportDefinition(BirtReportManager.java:610)
	at com.fineos.reporting.birt.BirtReportManager.addReportDefinitionForFiles(BirtReportManager.java:547)
	at com.fineos.reporting.birt.BirtReportManager.addReportCategoriesForDir(BirtReportManager.java:494)
	at com.fineos.reporting.birt.BirtReportManager.addReportCategoriesForDir(BirtReportManager.java:511)
	at com.fineos.reporting.birt.BIRTReportsProvider.getReports(BIRTReportsProvider.java:89)
	at com.fineos.reporting.servlet.InitialiserServlet.doGet(InitialiserServlet.java:64)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:501)
	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
	at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3252)
	at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:264)
	at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
	at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
	at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:112)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
	at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
	at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
	at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
	at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
	at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
	at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)



This occurs when I try to open the report. It looks like its trying to look up a resource/message of some sort.

Is there anything special I should be doing to deploy the runtime to websphere?

thanks

[Updated on: Tue, 19 January 2010 17:25]

Report message to a moderator

Re: NullPointer on websphere deployment [message #508711 is a reply to message #508644] Tue, 19 January 2010 22:58 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Trevor,

Can you open a bug for this? Also here is the FAQ entry for WS and
BIRT, but I think it needs updating.
http://wiki.eclipse.org/BIRT/FAQ/Deployment#Q:_How_do_I_inst all_BIRT_in_WebSphere.3F

Jason

TREVOR.HIGGINS@FINEOS.COM wrote:
> I tried deploying a report that worked in tomcat to websphere 6.1.0.9.
> I'm using BIRT 2.5.1 runtime. Previously we had reports deployed to the
> same websphere with 2.3.1 runtime. The error is as follows:
>
>
> [19/01/10 17:03:31:547 GMT] 00000048 WebApp E [Servlet
> Error]-[Initialiser]: java.lang.NullPointerException
> at
> org.eclipse.birt.report.model.i18n.ResourceHandle.getMessage (ResourceHandle.java:145)
>
> at
> org.eclipse.birt.report.model.i18n.ThreadResources.getMessag e(ThreadResources.java:131)
>
> at
> org.eclipse.birt.report.model.i18n.ThreadResources.getMessag e(ThreadResources.java:113)
>
> at
> org.eclipse.birt.report.model.i18n.ModelMessages.getMessage( ModelMessages.java:53)
>
> at
> org.eclipse.birt.report.model.metadata.Choice.getDisplayName (Choice.java:98)
>
> at
> org.eclipse.birt.report.model.metadata.ChoiceSet.findChoiceB yDisplayName(ChoiceSet.java:223)
>
> at
> org.eclipse.birt.report.model.metadata.PropertyDefn.validate ExtendedChoicesByDisplayName(PropertyDefn.java:830)
>
> at
> org.eclipse.birt.report.model.metadata.PropertyDefn.validate Value(PropertyDefn.java:865)
>
> at
> org.eclipse.birt.report.model.metadata.PeerExtensionLoader$P eerExtensionElementLoader.addDefaultStyleToMeta(PeerExtensio nLoader.java:383)
>
> at
> org.eclipse.birt.report.model.metadata.PeerExtensionLoader$P eerExtensionElementLoader.loadElement(PeerExtensionLoader.ja va:344)
>
> at
> org.eclipse.birt.report.model.metadata.PeerExtensionLoader.l oadExtension(PeerExtensionLoader.java:113)
>
> at
> org.eclipse.birt.report.model.metadata.ExtensionLoader.doLoa d(ExtensionLoader.java:137)
>
> at
> org.eclipse.birt.report.model.metadata.PeerExtensionLoader.d oLoad(PeerExtensionLoader.java:65)
>
> at
> org.eclipse.birt.report.model.metadata.ExtensionLoader.load( ExtensionLoader.java:71)
>
> at
> org.eclipse.birt.report.model.metadata.ExtensionManager.init ialize(ExtensionManager.java:104)
>
> at
> org.eclipse.birt.report.model.metadata.MetaDataDictionary.in tializeExtension(MetaDataDictionary.java:1116)
>
> at
> org.eclipse.birt.report.model.api.impl.DesignEngineImpl.init ialize(DesignEngineImpl.java:99)
>
> at
> org.eclipse.birt.report.model.api.impl.DesignEngineImpl.newS essionHandle(DesignEngineImpl.java:147)
>
> at
> org.eclipse.birt.report.model.api.DesignEngine.newSessionHan dle(DesignEngine.java:108)
>
> at
> org.eclipse.birt.report.engine.parser.ReportParser.getDesign Handle(ReportParser.java:143)
>
> at
> org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o penReportDesign(ReportEngineHelper.java:255)
>
> at
> org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o penReportDesign(ReportEngineHelper.java:195)
>
> at
> org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o penReportDesign(ReportEngineHelper.java:129)
>
> at
> org.eclipse.birt.report.engine.api.impl.ReportEngine.openRep ortDesign(ReportEngine.java:308)
>
> at
> com.fineos.reporting.birt.BirtReportManager.createDesignProp erties(BirtReportManager.java:647)
>
> at
> com.fineos.reporting.birt.BirtReportManager.getReportDefinit ion(BirtReportManager.java:610)
>
> at
> com.fineos.reporting.birt.BirtReportManager.addReportDefinit ionForFiles(BirtReportManager.java:547)
>
> at
> com.fineos.reporting.birt.BirtReportManager.addReportCategor iesForDir(BirtReportManager.java:494)
>
> at
> com.fineos.reporting.birt.BirtReportManager.addReportCategor iesForDir(BirtReportManager.java:511)
>
> at
> com.fineos.reporting.birt.BIRTReportsProvider.getReports(BIR TReportsProvider.java:89)
>
> at
> com.fineos.reporting.servlet.InitialiserServlet.doGet(Initia liserServlet.java:64)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> at
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(Servl etWrapper.java:989)
>
> at
> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest (ServletWrapper.java:501)
>
> at
> com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleReque st(ServletWrapper.java:464)
>
> at
> com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.j ava:3252)
> at
> com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGro up.java:264)
> at
> com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContai ner.java:811)
> at
> com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebCont ainer.java:1433)
>
> at
> com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChanne lLink.java:112)
> at
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleD iscrimination(HttpInboundLink.java:454)
>
> at
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleN ewInformation(HttpInboundLink.java:383)
>
> at
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(H ttpInboundLink.java:263)
>
> at
> com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback .sendToDiscriminators(NewConnectionInitialReadCallback.java: 214)
>
> at
> com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback .complete(NewConnectionInitialReadCallback.java:113)
>
> at
> com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.future Completed(AioReadCompletionListener.java:165)
>
> at
> com.ibm.io.async.AbstractAsyncFuture.invokeCallback(Abstract AsyncFuture.java:217)
>
> at
> com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(As yncChannelFuture.java:161)
>
> at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
> at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:1 95)
> at
> com.ibm.io.async.ResultHandler.runEventProcessingLoop(Result Handler.java:743)
>
> at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
> at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
>
>
>
> It looks like its trying to look up a resource/message of some sort
>
> Is there anything special I should be doing to deploy the runtime to
> websphere?
>
> thanks
Re: NullPointer on websphere deployment [message #508716 is a reply to message #508711] Tue, 19 January 2010 23:14 Go to previous messageGo to next message
Missing name Missing name is currently offline Missing name Missing nameFriend
Messages: 94
Registered: November 2009
Member
Thanks for the reply Jason, ill try to get the BIRT Web Viewer example going on WS with 2.5.1 first using that guide and then will move onto my report.

We had BIRT webapp working on WS with 2.3.1 runtime so I just deleted the libs/plugins from that app, and replace them with the lib/plugins from 2.5.1, but it doesnt appear to be as easy as that.....

Does it look like something i'm doing wrong or a config issue or other?

It will be ran on WS in production so I hope this is not a 2.5.1 bug (which I had to move to, from 2.3.1, following bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=297350, dynamic datasource in crosstabs)

thanks
Re: NullPointer on websphere deployment [message #508919 is a reply to message #508716] Wed, 20 January 2010 12:32 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Trevor,

I am not sure if this a bug or not. I do not have WS to debug, but the
dev team should be able to figure it out.

Jason

TREVOR.HIGGINS@FINEOS.COM wrote:
> Thanks for the reply Jason, ill try to get the BIRT Web Viewer example
> going on WS with 2.5.1 first using that guide and then will move onto my
> report.
> We had BIRT webapp working on WS with 2.3.1 runtime so I just deleted
> the libs/plugins from that app, and replace them with the lib/plugins
> from 2.5.1, but it doesnt appear to be as easy as that.....
>
> Does it look like something i'm doing wrong or a config issue or other?
> It will be ran on WS in production so I hope this is not a 2.5.1 bug
> (which I had to move to, from 2.3.1, following bug
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=297350, dynamic datasource
> in crosstabs)
>
> thanks
Re: NullPointer on websphere deployment [message #512025 is a reply to message #508644] Wed, 03 February 2010 16:53 Go to previous messageGo to next message
Missing name Missing name is currently offline Missing name Missing nameFriend
Messages: 94
Registered: November 2009
Member
It appears it was not a bug. I redeployed the birt.war to WAS 7 windows and Linux and it works fine.

I also deployed our BIRT application to WAS 7 Windows and Linux and both seem to be working fine...
Re: NullPointer on websphere deployment [message #519389 is a reply to message #512025] Mon, 08 March 2010 17:20 Go to previous messageGo to next message
mike  is currently offline mike Friend
Messages: 1
Registered: March 2010
Junior Member
I'm having the same problem. How did you get around it?
I'm going to follow the websphere deployment instructions to create a stand-alone viewer app but will still need to integrate with our app. Any help would be appreciated.

Re: NullPointer on websphere deployment [message #630862 is a reply to message #508644] Tue, 05 October 2010 11:35 Go to previous messageGo to next message
Monika  is currently offline Monika Friend
Messages: 4
Registered: October 2010
Junior Member
I am also getting the same error while running BIRT report from java application and my BIRT report version is 2.6. I would appreciate if somebody provide the solution..

Thanks,
Monika
Re: NullPointer on websphere deployment [message #630942 is a reply to message #630862] Tue, 05 October 2010 15:43 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Monika,

Not sure this is your issue but you may want to look at this thread:
http://www.birt-exchange.org/org/forum/index.php/topic/20613 -birt-26-and-ibm-websphere-can-not-startup-the-osgi-framewor k/page__s__bba98c3c4358fde62f99fb477955f271

Jason

On 10/5/2010 7:35 AM, Monika wrote:
> I am also getting the same error while running BIRT report from java
> application and my BIRT report version is 2.6. I would appreciate if
> somebody provide the solution..
> Thanks,
> Monika
>
Re: NullPointer on websphere deployment [message #631098 is a reply to message #508644] Wed, 06 October 2010 08:07 Go to previous messageGo to next message
Monika  is currently offline Monika Friend
Messages: 4
Registered: October 2010
Junior Member
Thanks Jason.
I did that too for resolving the error but still getting the same issue. I am trying to run the report from of the the scheduler program. If I runt the report through java main method it works fine but if it get deployed on WAS and run through scheduler throwing an 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)

Please let me know what should I do to run my report from one of the application deployed on WAS 6.1
Re: NullPointer on websphere deployment [message #631197 is a reply to message #631098] Wed, 06 October 2010 14:30 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Monika,

Can you open a bug for this? The dev team should be able to test WAS+BIRT.

Jason

On 10/6/2010 4:07 AM, Monika wrote:
> Thanks Jason.
> I did that too for resolving the error but still getting the same issue.
> I am trying to run the report from of the the scheduler program. If I
> runt the report through java main method it works fine but if it get
> deployed on WAS and run through scheduler throwing an 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)
>
> Please let me know what should I do to run my report from one of the
> application deployed on WAS 6.1
Re: NullPointer on websphere deployment [message #631273 is a reply to message #508644] Wed, 06 October 2010 19:08 Go to previous messageGo to next message
Monika  is currently offline Monika Friend
Messages: 4
Registered: October 2010
Junior Member
Thanks Jason for prompt reply. I will open the bug for same. But is there any work around to run report created on 2.6.1 version on websphere server. Report version 2.3.2 was working fine with WAS 6.1 version. I have upgraded the version and created some more rptdesign doc in newer version. Can I run the 2.6.1 rptdesign doc in old integrated environment i.e. on 2.3.2 version?
Otherwise I have to do lot of re-work on the reports I designed in 2.6.1 version to make it compatible in older integrated environmnt... Crying or Very Sad


Monika
Re: NullPointer on websphere deployment [message #631292 is a reply to message #631273] Wed, 06 October 2010 19:59 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Monika,

I know others are running in 6.1 WAS so I would imagine its possible. I
am not certain what is wrong and I do not have WAS to test. The dev
team should have access and should be able to help figure out what is
wrong. You can not run a 2.6.1 report on 2.3.2 runtime. That said you
may be able to remove the version at the top and try open the report in
the 2.3.2 designer. If you have not used any features post 2.3.2 in the
design it may work and allow you to save it as a 2.3.2 report.

Jason

On 10/6/2010 3:08 PM, Monika wrote:
> Thanks Jason for prompt reply. I will open the bug for same. But is
> there any work around to run report created on 2.6.1 version on
> websphere server. Report version 2.3.2 was working fine with WAS 6.1
> version. I have upgraded the version and created some more rptdesign doc
> in newer version. Can I run the 2.6.1 rptdesign doc in old integrated
> environment i.e. on 2.3.2 version? Otherwise I have to do lot of re-work
> on the reports I designed in 2.6.1 version to make it compatible in
> older integrated environmnt... :cry:
>
> Monika
Re: NullPointer on websphere deployment [message #631787 is a reply to message #631292] Fri, 08 October 2010 18:20 Go to previous messageGo to next message
Monika  is currently offline Monika Friend
Messages: 4
Registered: October 2010
Junior Member
I agree I tried running the rptdesign doc of 2.6.1 version after changing version tag with older version integrated environment i.e. 2.3.2 and it runs fines with slight change in spacing of the page. PDF got generated so looks like it is a bug 2.6.1 version which I opened on eclipse bugzilla.


Thanks
Monika
Re: NullPointer on websphere deployment [message #632305 is a reply to message #631787] Tue, 12 October 2010 14:14 Go to previous messageGo to next message
Jitender  is currently offline Jitender Friend
Messages: 5
Registered: September 2010
Junior Member
Hello Jason,

we are also facing this NPE problem, one thing I dont understand is that it was working quite fine, with our applications last build (2 weeks back) and we redeployed the application this week and all of sudden we started facing this NPE..... we are using WAS 7 and BIRT 2.5.1 runtime... and the stacktrace is:
java.lang.NullPointerException
at org.eclipse.birt.report.model.i18n.ResourceHandle.getMessage (ResourceHandle.java:145)
at org.eclipse.birt.report.model.i18n.ThreadResources.getMessag e(ThreadResources.java:131)
at org.eclipse.birt.report.model.i18n.ThreadResources.getMessag e(ThreadResources.java:113)
at org.eclipse.birt.report.model.i18n.ModelMessages.getMessage( ModelMessages.java:53)
at org.eclipse.birt.report.model.metadata.Choice.getDisplayName (Choice.java:98)
at org.eclipse.birt.report.model.metadata.ChoiceSet.findChoiceB yDisplayName(ChoiceSet.java:223)
at org.eclipse.birt.report.model.metadata.PropertyDefn.validate ExtendedChoicesByDisplayName(PropertyDefn.java:830)
at org.eclipse.birt.report.model.metadata.PropertyDefn.validate Value(PropertyDefn.java:865)
at org.eclipse.birt.report.model.metadata.PeerExtensionLoader$P eerExtensionElementLoader.addDefaultStyleToMeta(PeerExtensio nLoader.java:383)
at org.eclipse.birt.report.model.metadata.PeerExtensionLoader$P eerExtensionElementLoader.loadElement(PeerExtensionLoader.ja va:344)
at org.eclipse.birt.report.model.metadata.PeerExtensionLoader.l oadExtension(PeerExtensionLoader.java:113)
at org.eclipse.birt.report.model.metadata.ExtensionLoader.doLoa d(ExtensionLoader.java:137)
at org.eclipse.birt.report.model.metadata.PeerExtensionLoader.d oLoad(PeerExtensionLoader.java:65)
at org.eclipse.birt.report.model.metadata.ExtensionLoader.load( ExtensionLoader.java:71)
at org.eclipse.birt.report.model.metadata.ExtensionManager.init ialize(ExtensionManager.java:104)
at org.eclipse.birt.report.model.metadata.MetaDataDictionary.in tializeExtension(MetaDataDictionary.java:1116)
at org.eclipse.birt.report.model.api.impl.DesignEngineImpl.init ialize(DesignEngineImpl.java:99)
at org.eclipse.birt.report.model.api.impl.DesignEngineImpl.newS essionHandle(DesignEngineImpl.java:147)
at org.eclipse.birt.report.model.api.DesignEngine.newSessionHan dle(DesignEngine.java:108)
at org.eclipse.birt.report.engine.parser.ReportParser.getDesign Handle(ReportParser.java:143)
at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o penReportDesign(ReportEngineHelper.java:255)
at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o penReportDesign(ReportEngineHelper.java:195)
at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o penReportDesign(ReportEngineHelper.java:129)
at org.eclipse.birt.report.engine.api.impl.ReportEngine.openRep ortDesign(ReportEngine.java:308)

[Updated on: Tue, 12 October 2010 14:16]

Report message to a moderator

Re: NullPointer on websphere deployment [message #632381 is a reply to message #632305] Tue, 12 October 2010 17:34 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Is this happening on all your reports?
Take a look at this bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=327179

Jason

On 10/12/2010 10:15 AM, Jitender wrote:
> Hello Jason,
>
> we are also facing this NPE problem, one thing I dont understand is that
> it was working quite fine, with our applications last build (2 weeks
> back) and we redeployed the application this week and all of sudden we
> started facing this NPE..... we are using WAS 7 and BIRT 2.5.1
> runtime... and the stacktrace is:
>
> <p>
> at org.eclipse.birt.report.model.i18n.ResourceHandle.getMessage
> (ResourceHandle.java:145)
> at org.eclipse.birt.report.model.i18n.ThreadResources.getMessag
> e(ThreadResources.java:131)
> at org.eclipse.birt.report.model.i18n.ThreadResources.getMessag
> e(ThreadResources.java:113)
> at org.eclipse.birt.report.model.i18n.ModelMessages.getMessage(
> ModelMessages.java:53)
> at org.eclipse.birt.report.model.metadata.Choice.getDisplayName
> (Choice.java:98)
> at org.eclipse.birt.report.model.metadata.ChoiceSet.findChoiceB
> yDisplayName(ChoiceSet.java:223)
> at org.eclipse.birt.report.model.metadata.PropertyDefn.validate
> ExtendedChoicesByDisplayName(PropertyDefn.java:830)
> at org.eclipse.birt.report.model.metadata.PropertyDefn.validate
> Value(PropertyDefn.java:865)
> at org.eclipse.birt.report.model.metadata.PeerExtensionLoader$P
> eerExtensionElementLoader.addDefaultStyleToMeta(PeerExtensio
> nLoader.java:383)
> at org.eclipse.birt.report.model.metadata.PeerExtensionLoader$P
> eerExtensionElementLoader.loadElement(PeerExtensionLoader.ja va:344)
> at org.eclipse.birt.report.model.metadata.PeerExtensionLoader.l
> oadExtension(PeerExtensionLoader.java:113)
> at org.eclipse.birt.report.model.metadata.ExtensionLoader.doLoa
> d(ExtensionLoader.java:137)
> at org.eclipse.birt.report.model.metadata.PeerExtensionLoader.d
> oLoad(PeerExtensionLoader.java:65)
> at org.eclipse.birt.report.model.metadata.ExtensionLoader.load(
> ExtensionLoader.java:71)
> at org.eclipse.birt.report.model.metadata.ExtensionManager.init
> ialize(ExtensionManager.java:104)
> at org.eclipse.birt.report.model.metadata.MetaDataDictionary.in
> tializeExtension(MetaDataDictionary.java:1116)
> at org.eclipse.birt.report.model.api.impl.DesignEngineImpl.init
> ialize(DesignEngineImpl.java:99)
> at org.eclipse.birt.report.model.api.impl.DesignEngineImpl.newS
> essionHandle(DesignEngineImpl.java:147)
> at org.eclipse.birt.report.model.api.DesignEngine.newSessionHan
> dle(DesignEngine.java:108)
> at org.eclipse.birt.report.engine.parser.ReportParser.getDesign
> Handle(ReportParser.java:143)
> at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o
> penReportDesign(ReportEngineHelper.java:255)
> at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o
> penReportDesign(ReportEngineHelper.java:195)
> at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o
> penReportDesign(ReportEngineHelper.java:129)
> at org.eclipse.birt.report.engine.api.impl.ReportEngine.openRep
> ortDesign(ReportEngine.java:308)
>
> </p>
Re: NullPointer on websphere deployment [message #632547 is a reply to message #632381] Wed, 13 October 2010 11:43 Go to previous messageGo to next message
Jitender  is currently offline Jitender Friend
Messages: 5
Registered: September 2010
Junior Member
Jason

the problem is we have not changed any thing, I mean report designs are quite old and working till last 2 weeks on WAS 7 itself but last week we redeployed the application and we started encountering this NPE. and now its quite frustrating Sad

[Updated on: Wed, 13 October 2010 11:44]

Report message to a moderator

Re: NullPointer on websphere deployment [message #632596 is a reply to message #632547] Wed, 13 October 2010 14:25 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

I am not certain where WAS puts the deployed runtime, but in that
directory you should find a directory structure like:
WEB-INF\platform\configuration

Can you locate this and clear everything in the configuration directory
besides the the config.ini and restart?

Jason


On 10/13/2010 7:43 AM, Jitender wrote:
> Jason
>
> the problem is we have not changed any thing, I mean report designs are
> quite old and working till last 2 weeks on WAS 7 itself but last week we
> redeployed the application and we started encountered this NPE. and now
> its quite frustrating :(
Re: NullPointer on websphere deployment [message #633030 is a reply to message #632596] Fri, 15 October 2010 07:31 Go to previous messageGo to next message
Jitender  is currently offline Jitender Friend
Messages: 5
Registered: September 2010
Junior Member
Jason,

We tried with cleaning the config area, but no relief Sad
by the way while debugging the NPE problem we come to the point which is causing problem, its in CachedBundles.java's populateBundle method and its throwing IOException but we are not able to figure out the reason as IOException is just ignored in the source code.

Line :- is = bundleURL.openStream( ); throwning the exception and IOException is ignored

catch ( FileNotFoundException e )
{
// just ignore
}
catch ( IOException e )
{
// just ignore.
}

Regards,

[Updated on: Fri, 15 October 2010 07:33]

Report message to a moderator

Re: NullPointer on websphere deployment [message #633233 is a reply to message #633030] Fri, 15 October 2010 18:28 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Does this happen on all reports?

On 10/15/2010 3:32 AM, Jitender wrote:
> Jason,
>
> We tried with cleaning the config area, but no relief :(
> by the way while debugging the NPE problem we come to the point which is
> causing problem, its in CachedBundles.java's populateBundle method and
> its throwing IOException but we are not able to figure out the reason as
> IOException is just ignored in the source code.
>
> catch ( FileNotFoundException e )
> {
> // just ignore
> }
> catch ( IOException e )
> {
> // just ignore.
> }
>
> Regards,
>
Re: NullPointer on websphere deployment [message #633240 is a reply to message #633233] Fri, 15 October 2010 19:30 Go to previous messageGo to next message
Jitender  is currently offline Jitender Friend
Messages: 5
Registered: September 2010
Junior Member
Jason,

yes this is happening for all reports, and for debugging we created a simple design, which just has a label field nothing else even for this design we are getting NPE.

Regards,
Jitender
Re: NullPointer on websphere deployment [message #633241 is a reply to message #633240] Fri, 15 October 2010 19:40 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Are you setting a locale? If you have debugged it to the filenotfound,
do you know what file its looking for? BTW do you have a temp directory
defined?

Jason

On 10/15/2010 3:30 PM, Jitender wrote:
> Jason,
>
> yes this is happening for all reports, and for debugging we created a
> simple design, which just has a label field nothing else even for this
> design we are getting NPE.
>
> Regards,
> Jitender
Previous Topic:org.xml.sax.SAXParseException: Premature end of file.
Next Topic:How to get a better performance within a BIRT Report with joins?
Goto Forum:
  


Current Time: Thu Nov 27 12:20:20 GMT 2014

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

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