Announcement

Collapse
No announcement yet.

java.lang.nullpointerexception

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • java.lang.nullpointerexception

    Hi Everybody,

    We have an OTM setup (migrated from v5.0 to v5.5 and newly installed with CU3 installer). On these systems these are the issue which we have encountered -

    - From default Order Release menu link, if we select a record and click on "Set Appointment" action, throws java.lang.NullPointer excepton.
    The Error Stacktrace mention as below -

    <stack_trace>java.lang.NullPointerException
    java.lang.NullPointerException at glog.webserver.managerlayout.WritePresentationToFi le.escapeGidForFile(WritePresentationToFile.java:6 23)
    at glog.webserver.custscreens.CustScreenUtil.formatJs pPath(CustScreenUtil.java:294)
    at glog.webserver.custscreens.CustScreenUtil.getStyle SheetEditString(CustScreenUtil.java:147)
    at glog.webserver.custscreens.CustScreenManagementSer vlet.getStyleSheetEditString(CustScreenManagementS ervlet.java:231)

    Here now since you see the CustScreen management functionality, we cross verified to the screenset to check if the Managerlayout are selected or not and found to be selected.

    From the stacktrace can anybody give me an hint what could be the cause of this issue. I coluld have argued that in migration there is a chance of failure. However on a freshly installed OTM too has the same problem.

    Regards,
    Suresh

  • #2
    Re: java.lang.nullpointerexception

    Hi Suresh,

    I have checked this on CU2, it works fine. Not sure what the problem is in your case.

    Has anyone checked this on CU3 ? Order Release -->Actions -->Utilities --> Set Appointment

    Please let me know.

    Thanks
    Satya

    Comment


    • #3
      Re: java.lang.nullpointerexception

      Satya and Suresh,

      I've just verified this in a fresh install of OTM v5.5 CU3 and get the same NullPointerException:

      java.lang.NullPointerException

      java.lang.NullPointerException
      at glog.webserver.managerlayout.WritePresentationToFi le.escapeGidForFile(WritePresentationToFile.java:6 23)
      at glog.webserver.custscreens.CustScreenUtil.formatJs pPath(CustScreenUtil.java:294)
      at glog.webserver.custscreens.CustScreenUtil.getStyle SheetEditString(CustScreenUtil.java:147)
      at glog.webserver.custscreens.CustScreenManagementSer vlet.getStyleSheetEditString(CustScreenManagementS ervlet.java:231)
      at glog.webserver.util.AbstractManagementServlet.getD ocument(AbstractManagementServlet.java:509)
      at glog.webserver.order.custscreen.OrderReleaseCustMa nagementServlet.getDocument(OrderReleaseCustManage mentServlet.java:24)
      at glog.webserver.util.AbstractServletProducer.proces s(AbstractServletProducer.java:81)
      at glog.webserver.util.BaseServlet.service(BaseServle t.java:614)
      at javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
      at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
      at glog.webserver.screenlayout.ClientSessionTracker.d oFilter(ClientSessionTracker.java:54)
      at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
      at glog.webserver.util.SetCharacterEncodingFilter.doF ilter(SetCharacterEncodingFilter.java:44)
      at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:17
      at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)
      at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:14
      at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyo teHandler.java:199)
      at org.apache.jk.common.HandlerRequest.invoke(Handler Request.java:282)
      at org.apache.jk.common.ChannelSocket.invoke(ChannelS ocket.java:754)
      at org.apache.jk.common.ChannelSocket.processConnecti on(ChannelSocket.java:684)
      at org.apache.jk.common.ChannelSocket$SocketConnectio n.runIt(ChannelSocket.java:876)
      at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
      at java.lang.Thread.run()V(Unknown Source)
      From the error, it appears that the code fails while trying to write out some presentation file, most likely to the $OTM_HOME/apache/htdocs/<some_path> directory on the OTM Web Server. I double-checked permissions, but they don't appear to be the issue.

      I'd recommend opening an SR with Oracle on this issue. If you get a resolution, please post the results here.

      Thanks,
      Chris

      Comment


      • #4
        Re: java.lang.nullpointerexception

        Thanks a lot Chris. Your quick reply saved us from a lot of troubleshooting. .

        Thanks once again.

        Regards,
        Satya.

        Comment

        Working...
        X