Hi,

I'm facing an issue that makes me sick
I've deployed a web application on Tomcat on Windows platform. It worked
fine.
But when I deployed it on WAS 6.0.2.25 on AIX, especially when tried to
click a button which generate a PDF file(done by JasperReport), I've got
the following exception in the SystemOut.log:

[4/29/08 16:20:13:398 GMT] 00000028 ServletWrappe E SRVE0068E: Could
not invoke the service() method on servlet /script_imprime_Liste_P.jsp.
Exception thrown : java.lang.NullPointerException
at
com.ibm._jsp._script_5F_imprime_5F_Liste_5F_P._jsp Service(_script_5F_imprime_5F_Liste_5F_P.java:145)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJsp Base.java:93)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:856)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:1585)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:775)
at
com.ibm.wsspi.webcontainer.servlet.GenericServletW rapper.handleRequest(GenericServletWrapper.java:12 1)
at
com.ibm.ws.jsp.webcontainerext.JSPExtensionServlet Wrapper.handleRequest(JSPExtensionServletWrapper.j ava:215)
at
com.ibm.ws.jsp.webcontainerext.JSPExtensionProcess or.handleRequest(JSPExtensionProcessor.java:255)
at com.ibm.ws.webcontainer.webapp.WebApp.handleReques t(WebApp.java:3177)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequ est(WebGroup.java:253)
at com.ibm.ws.webcontainer.VirtualHost.handleRequest( VirtualHost.java:229)
at
com.ibm.ws.webcontainer.WebContainer.handleRequest (WebContainer.java:1970)
at
com.ibm.ws.webcontainer.channel.WCChannelLink.read y(WCChannelLink.java:114)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleDiscrimination(HttpInboundLink.java:472)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleNewInformation(HttpInboundLink.java:411)
at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCa llback.complete(HttpICLReadCallback.java:101)
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.reque stComplete(WorkQueueManager.java:566)
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attem ptIO(WorkQueueManager.java:619)
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.worke rRun(WorkQueueManager.java:952)
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worke r.run(WorkQueueManager.java:1039)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava:1475)

[4/29/08 16:20:13:401 GMT] 00000028 LocalTranCoor E WLTC0017E:
Resources rolled back due to setRollbackOnly() being called.
[4/29/08 16:20:13:403 GMT] 00000028 WebApp E SRVE0026E:
[Servlet Error]-[/script_imprime_Liste_P.jsp]:
java.lang.NullPointerException
at
com.ibm._jsp._script_5F_imprime_5F_Liste_5F_P._jsp Service(_script_5F_imprime_5F_Liste_5F_P.java:145)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJsp Base.java:93)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:856)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:1585)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:775)
at
com.ibm.wsspi.webcontainer.servlet.GenericServletW rapper.handleRequest(GenericServletWrapper.java:12 1)
at
com.ibm.ws.jsp.webcontainerext.JSPExtensionServlet Wrapper.handleRequest(JSPExtensionServletWrapper.j ava:215)
at
com.ibm.ws.jsp.webcontainerext.JSPExtensionProcess or.handleRequest(JSPExtensionProcessor.java:255)
at com.ibm.ws.webcontainer.webapp.WebApp.handleReques t(WebApp.java:3177)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequ est(WebGroup.java:253)
at com.ibm.ws.webcontainer.VirtualHost.handleRequest( VirtualHost.java:229)
at
com.ibm.ws.webcontainer.WebContainer.handleRequest (WebContainer.java:1970)
at
com.ibm.ws.webcontainer.channel.WCChannelLink.read y(WCChannelLink.java:114)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleDiscrimination(HttpInboundLink.java:472)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleNewInformation(HttpInboundLink.java:411)
at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCa llback.complete(HttpICLReadCallback.java:101)
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.reque stComplete(WorkQueueManager.java:566)
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attem ptIO(WorkQueueManager.java:619)
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.worke rRun(WorkQueueManager.java:952)
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worke r.run(WorkQueueManager.java:1039)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava:1475)




I've added -Djava.awt.headless=true to the Generic params, tried to set
the classloader to parent_lat, but nothing works!

Any help could be appreciated.
Many thanks.