1 Reply Latest reply: Jan 23, 2013 11:47 PM by L S P.. RSS

    java.lang.NullPointerException

    Sathyaseelan
      Hi,

      I am facing a strange problem with iStore JSP Pages,
      I customized the Item Details page to include more attributes in the item details page. When i tried to add OraclePreparedStatement, it errors out as below,

      Application Error

      The application is currently not available or an unexpected error has occured. Please try again later.
      If this message persists, please contact the system administrator.

      And when i referred the view source, the below errorstack was there,

      java.lang.NullPointerException
           at oracle.apps.ibe.util.IBEUtil.getProfileStore(IBEUtil.java:870)
           at oracle.apps.ibe.util.IBEUtil.getProfile(IBEUtil.java:860)
           at ibeCCtdCmnSctLayout.jspService(_ibeCCtdCmnSctLayout.java:2235)
           at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
           at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
           at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
           at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
           at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
           at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
           at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
           at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
           at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
           at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
           at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
           at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
           at ibeCCtpSctDspRte.jspService(_ibeCCtpSctDspRte.java:1238)
           at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
           at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
           at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
           at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
           at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
           at oracle.apps.ibe.util.IBEReleaseResFilter.doFilter(IBEReleaseResFilter.java:42)
           at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
           at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
           at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
           at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
           at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
           at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
           at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
           at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
           at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
           at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
           at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
           at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
           at java.lang.Thread.run(Thread.java:619)

      This happens only when i add any JDBC connection related statements, when i want to print item details from istore apis it gets printed. But when i want to write a select query, it errors out. I checked the query does not have any problem. And this was working in 11i.

      I suspect this would be because of some profile related issue. Can anyone please guide me to find out the cause for this problem?
        • 1. Re: java.lang.NullPointerException
          L S P..
          Hi,

          I am also getting same in istore while using jdbc connection. Could you please send the solution approch.

          Error:

          java.lang.NullPointerException
               at oracle.apps.ibe.util.IBEUtil.getProfileStore(IBEUtil.java:870)
               at oracle.apps.ibe.util.IBEUtil.getProfile(IBEUtil.java:860)
               at ibeCCkdHdrShip.jspService(_ibeCCkdHdrShip.java:1780)
               at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
               at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
               at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
               at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
               at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
               at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
               at oracle.apps.ibe.util.IBEReleaseResFilter.doFilter(IBEReleaseResFilter.java:42)
               at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
               at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
               at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
               at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
               at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
               at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
               at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
               at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
               at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
               at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
               at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
               at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
               at java.lang.Thread.run(Thread.java:619)