JSP Page With Jbo:Datatable Tag Give NullPointerException When Deployed To OC4J

(Doc ID 464290.1)

Last updated on AUGUST 04, 2016

Applies to:

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


You have migrated an application containing JSPs with old BC4J tags ("JBO" tags) to JDeveloper
In the Embedded OC4J of JDeveloper, the application runs correctly.
However, when you deploy the application on the standalone OC4J, 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:


the following stack trace displays on the page:

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)
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.


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