When you add a SAS® Stored Processes portlet to a page in the SAS® Information Delivery Portal 4.31, an HTTP Status 500 error that references a null-pointer exception might occur:
When this problem occurs, the following error message appears in the JBoss server log:
java.lang.NullPointerException at com.sas.portal.portletsJSR.storedprocess.actions.ViewerAction.execute(ViewerAction.java:45) at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58) at org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67) at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51) at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191) at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305) at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191) at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.sas.portlet.container.client.DirectPortletAccessFilter.onDoFilter(DirectPortletAccessFilter.java:39) at com.sas.framework.webapp.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:66) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.sas.servlet.filters.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:62) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.sas.framework.webapp.servlet.SanitizingRequestFilter.onDoFilter(SanitizingRequestFilter.java:83) at com.sas.framework.webapp.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:66) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:599) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451) at java.lang.Thread.run(Thread.java:662)
This error should occur only the first time the portlet is added to the page. If you log off and then log back on to the SAS Information Delivery Portal, the error should not appear.
To work around this issue, add the element "<SessionCookie path="/" />" to the context.xml file that resides in JBoss51\server\SASServer'n'\deploy\jbossweb.sar.
When you add this element, the file contents appears as follows:
<!-- The contents of this file will be loaded for each Web application. --> <Context cookies="true" crossContext="true"> <!-- Session persistence is disable by default. To enable for all web apps set the pathname to a non-empty value: <Manager pathname="SESSIONS.ser" /> To enable session persistence for a single web app, add a WEB-INF/context.xml --> <Manager pathname="" /> <SessionCookie path="/" /> <!-- Install an InstanceListener to handle the establishment of the run-as role for servlet init/destroy events. --> <InstanceListener>org.jboss.web.tomcat.security.RunAsListener</InstanceListener> </Context>
A fix for this problem is planned for a future SAS® hot fix.
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | SAS Enterprise BI Server | z/OS | 9.3 | 9.3 | 9.3 TS1M0 | 9.3 TS1M1 |
Microsoft® Windows® for x64 | 9.3 | 9.3 | 9.3 TS1M0 | 9.3 TS1M1 | ||
Microsoft Windows Server 2003 Datacenter Edition | 9.3 | 9.3 | 9.3 TS1M0 | 9.3 TS1M1 | ||
Microsoft Windows Server 2003 Enterprise Edition | 9.3 | 9.3 | 9.3 TS1M0 | 9.3 TS1M1 | ||
Microsoft Windows Server 2003 Standard Edition | 9.3 | 9.3 | 9.3 TS1M0 | 9.3 TS1M1 | ||
Microsoft Windows Server 2003 for x64 | 9.3 | 9.3 | 9.3 TS1M0 | 9.3 TS1M1 | ||
Microsoft Windows Server 2008 | 9.3 | 9.3 | 9.3 TS1M0 | 9.3 TS1M1 | ||
Microsoft Windows Server 2008 for x64 | 9.3 | 9.3 | 9.3 TS1M0 | 9.3 TS1M1 | ||
Microsoft Windows XP Professional | 9.3 | 9.3 | 9.3 TS1M0 | 9.3 TS1M1 | ||
Windows 7 Enterprise 32 bit | 9.3 | 9.3 | 9.3 TS1M0 | 9.3 TS1M1 | ||
Windows 7 Enterprise x64 | 9.3 | 9.3 | 9.3 TS1M0 | 9.3 TS1M1 | ||
Windows 7 Home Premium 32 bit | 9.3 | 9.3 | 9.3 TS1M0 | 9.3 TS1M1 | ||
Windows 7 Home Premium x64 | 9.3 | 9.3 | 9.3 TS1M0 | 9.3 TS1M1 | ||
Windows 7 Professional 32 bit | 9.3 | 9.3 | 9.3 TS1M0 | 9.3 TS1M1 | ||
Windows 7 Professional x64 | 9.3 | 9.3 | 9.3 TS1M0 | 9.3 TS1M1 | ||
Windows 7 Ultimate 32 bit | 9.3 | 9.3 | 9.3 TS1M0 | 9.3 TS1M1 | ||
Windows 7 Ultimate x64 | 9.3 | 9.3 | 9.3 TS1M0 | 9.3 TS1M1 | ||
Windows Vista | 9.3 | 9.3 | 9.3 TS1M0 | 9.3 TS1M1 | ||
Windows Vista for x64 | 9.3 | 9.3 | 9.3 TS1M0 | 9.3 TS1M1 | ||
64-bit Enabled AIX | 9.3 | 9.3 | 9.3 TS1M0 | 9.3 TS1M1 | ||
64-bit Enabled HP-UX | 9.3 | 9.3 | 9.3 TS1M0 | 9.3 TS1M1 | ||
64-bit Enabled Solaris | 9.3 | 9.3 | 9.3 TS1M0 | 9.3 TS1M1 | ||
HP-UX IPF | 9.3 | 9.3 | 9.3 TS1M0 | 9.3 TS1M1 | ||
Linux | 9.3 | 9.3 | 9.3 TS1M0 | 9.3 TS1M1 | ||
Linux for x64 | 9.3 | 9.3 | 9.3 TS1M0 | 9.3 TS1M1 | ||
Solaris for x64 | 9.3 | 9.3 | 9.3 TS1M0 | 9.3 TS1M1 |
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2012-07-27 08:24:12 |
Date Created: | 2011-11-09 08:20:17 |