JSP Page With Jbo:Datatable Tag Give NullPointerException When Deployed To OC4J 10.1.3.3 (Doc ID 464290.1)

Last updated on AUGUST 04, 2016

Applies to:

Oracle JDeveloper - Version 10.1.3.2.0 to 10.1.3.3.0 [Release Oracle10g]
Information in this document applies to any platform.
*** Checked for relevance on 23-JAN-2014 ***

Symptoms


You have migrated an application containing JSPs with old BC4J tags ("JBO" tags) to JDeveloper 10.1.3.2.
In the Embedded OC4J of JDeveloper 10.1.3.2, the application runs correctly.
However, when you deploy the application on the standalone OC4J 10.1.3.3, JSP pages that contain jbo:DataTable tag display an error:
java.lang.RuntimeException: java.lang.NullPointerException

The error appears at the top of the page; the rest of the page is ok and the data appears correctly in the table that follows.
Other JSP pages that do not include the jbo:DataTable tag display without any error.

When setting up the global-web-application.xml to output more information:

...
<orion-web-app
...
   development="false"
...>
...
<servlet>
   <servlet-name>jsp</servlet-name>
   <servlet-class>oracle.jsp.runtimev2.JspServlet</servlet-class>
   <init-param>
      <param-name>debug_mode</param-name>
      <param-value>true</param-value>
   </init-param>
</servlet>
...



the following stack trace displays on the page:

Exception:
java.lang.RuntimeException: java.lang.NullPointerException
at oracle.jsp.runtime.OracleJspRuntime.simpleReleaseTagHandler(OracleJspRuntime.java:1562)
at oracle.jsp.runtime.OracleJspRuntime.releaseTagHandlers(OracleJspRuntime.java:1657)
at oracle.jsp.runtime.OracleJspRuntime.extraHandlePCFinally(OracleJspRuntime.java:1669)
at _DataHandlerComponent._jspService(_DataHandlerComponent.java:565)
[SRC:/DataHandlerComponent.jsp]
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:724)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:414)
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)
...

The ADF Runtime libraries have been correctly installed in the OC4J Standalone.

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