Unexplained or Seemingly Random NullPointerExceptions and Sessions Loss (Doc ID 1540386.1)

Last updated on JUNE 29, 2017

Applies to:

Oracle WebCenter Sites - Version 11.1.1.6.1 and later
Information in this document applies to any platform.

Symptoms

After using the system for a while, or after some specific actions, certain pages return errors.

The logs show a NullPointerException:

2013-02-20 15:14:19,457 ERROR [logging.cs.request] [http-7002-23] [COM.FutureTense.Servlet.ServletRequest] Exception including resource /jsp/cs_deployed/OpenMarket/Xcelerate/Util/ConvertJDBCDateTimeZone.jsp
org.apache.jasper.JasperException: An exception occurred processing JSP page /jsp/cs_deployed/OpenMarket/Xcelerate/Util/ConvertJDBCDateTimeZone.jsp at line 72

69:
70: if(Utilities.goodString(inputDate))
71: {
72: outputDate = ConverterUtils.convertJDBCDate(inputDate,fromTimeZone,toTimeZone);
73: }
74:
75: if("millis".equals(ics.GetVar("outputType")))


Stacktrace:
  at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:521)
  at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:430)
  at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
  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 org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
  at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
  at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
  at COM.FutureTense.Servlet.ServletRequest.include(ServletRequest.java:1411)
  at COM.FutureTense.Servlet.FRequestObj.include(FRequestObj.java:1428)
  at COM.FutureTense.Servlet.JSPServices.runJSP(JSPServices.java:111)
  at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager.runJSP(FILESYSTEMJSPManager.java:463)
  at COM.FutureTense.Servlet.JSPServices.runJSPObject(JSPServices.java:50)
  at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager$JSPDataFile.run(FILESYSTEMJSPManager.java:190)
  at COM.FutureTense.Common.ContentServer.jspExecute(ContentServer.java:2936)
  at COM.FutureTense.Common.ContentServer.evalTemplate(ContentServer.java:2530)
  at COM.FutureTense.Common.ContentServer.processElement(ContentServer.java:1908)
  at COM.FutureTense.XML.Template.CallElement.execute(CallTag.java:253)
  at COM.FutureTense.XML.Template.BlockTag.execute(BlockTag.java:144)
  at COM.FutureTense.XML.Template.BlockTag.execute(BlockTag.java:120)
  at COM.FutureTense.XML.Template.Root.execute(BlockTag.java:365)
  at COM.FutureTense.XML.Template.XMLEval.run(XMLEval.java:331)
  at COM.FutureTense.Common.ContentServer.evalTheXML(ContentServer.java:3199)
  at COM.FutureTense.Common.ContentServer.evalTemplate(ContentServer.java:2460)
  at COM.FutureTense.Common.ContentServer.processElement(ContentServer.java:1908)
  at COM.FutureTense.Common.CS.CallElement(CS.java:1603)
  at com.divine.ics.jsp.CallElement.doEndTag(CallElement.java:84)
  at com.openmarket.framework.jsp.Base.doEndTag(Base.java:143)
  at org.apache.jsp.jsp.cs_005fdeployed.OpenMarket.Xcelerate.UIFramework.form.AssetTypeStartEndDate_jsp._jspService(AssetTypeStartEndDate_jsp.java:350)
  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
[...]
Caused by: java.lang.NullPointerException
  at sun.util.calendar.ZoneInfoFile.readZoneInfoFile(ZoneInfoFile.java:1024)
  at sun.util.calendar.ZoneInfoFile.createZoneInfo(ZoneInfoFile.java:578)
  at sun.util.calendar.ZoneInfoFile.getZoneInfo(ZoneInfoFile.java:548)
  at sun.util.calendar.ZoneInfo.getTimeZone(ZoneInfo.java:608)
  at java.util.TimeZone.getTimeZone(TimeZone.java:464)
  at java.util.TimeZone.getTimeZone(TimeZone.java:460)
  at com.openmarket.xcelerate.util.ConverterUtils.convertJDBCDate(ConverterUtils.java:145)
  at org.apache.jsp.jsp.cs_005fdeployed.OpenMarket.Xcelerate.Util.ConvertJDBCDateTimeZone_jsp._jspService(ConvertJDBCDateTimeZone_jsp.java:145)
  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
  ... 200 more


After this, the WEM console starts showing errors, such as the user is unable to edit or save assets.

When this happens, the user must clear their cache and cookies and log back in, to get things back to normal.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms