Hi All
I'm using Oracle 9IAS (9.0.3.0.0) and EJB 1.1. I'm getting Null Pointer
Exception while displaying the data on browser. My Session bean method
returns ArrayList object to JSP after Querying with database. Problem
encountered on the line where I'm calling the Session Bean Method, which
returns ArrayList. This is happening only if a table has 4 Columns and out
of which 2 are nullable and have null values also in database. If those
columns have some values or even spaces then my application works fine.
I've tried with Collection object also instead of ArrayList, couldn't get
success.
Previously I was using Oracle 9IAS (9.0.2.0.0) and EJB 1.1. In that case My
application was working fine. Can anyone tells me , how can I solve this
problem.
I know that this problem can be related with some migrating issues of
Oracle App server. But at the same time this can be related with EJB's
coding also since this new version of Oracle App server is compatible with
EJB 2.0. so may be I've to modified my code according to that also.
Here is the Error which I'm getting..
500 Internal Server Error
java.lang.NullPointerException
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
J2EE].server.ejb.EJBUtils.cloneOneObjectInstance(EJBUtils.java:416)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
J2EE].server.ejb.EJBUtils.cloneArrayList(EJBUtils.java:599)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
J2EE].server.ejb.EJBUtils.cloneObject(EJBUtils.java:357)
at
MeasuresMaintenanceSessionRemote_StatelessSessionBeanWrapper16.getMeasur
esDataRow(MeasuresMaintenanceSessionRemote_StatelessSessionBeanWrapper16
.java:1391)
at
_jsps._instoredatameasures._maintenance__measure__data__update._jspServi
ce(_maintenance__measure__data__update.java:183)
[SRC:/jsps/instoredatameasures/maintenance_measure_data_update.jsp:141]
at com.orionserver[Oracle9iAS (9.0.3.0.0) Containers for
J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:
537)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:272)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatch
er.java:721)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletReques
tDispatcher.java:306)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.j
ava:767)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecuto
r.java:797)
at java.lang.Thread.run(Unknown Source)
Thanks in Advance
Neelu Mehta
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".