Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

NullPointerException in Java servlet on Domino on AS400

843841Mar 29 2004 — edited Apr 1 2004
Hi!

I'm getting a NullPointerException in my Java servlet which runs on Domino on the AS400.
It is inconsistent and happens at different points in the code.
Any ideas?

Thanks.



2004-03-26 08:54:04,748 [Thread-316] ERROR servlets.GenericServlet -
java.lang.NullPointerException
java.lang.NullPointerException
java/lang/Throwable.<init>()V+4 (Throwable.java:78)
java/lang/Exception.<init>()V+1 (Exception.java:29)
java/lang/RuntimeException.<init>()V+1 (RuntimeException.java:33)
java/lang/NullPointerException.<init>()V+1
(NullPointerException.java:39)

lotus/notes/AgentSecurityManager.checkRelatedThreadGroup(Ljava/lang/ThreadGroup;)V+4
(AgentSecurityManager.java:871)
lotus/notes/AgentSecurityManager.checkAccess(Ljava/lang/Thread;)V+17
(AgentSecurityManager.java:112)
java/lang/Thread.checkAccess()V+8 (Thread.java:1053)
java/lang/Thread.interrupt()V+1 (Thread.java:665)
com/ibm/as400/access/AS400ThreadedServer.forceDisconnect()V+0
(AS400ThreadedServer.java:273)

com/ibm/as400/access/AS400ImplRemote.disconnectServer(Lcom/ibm/as400/access/AS400Server;)V+0
(AS400ImplRemote.java:408)
com/ibm/as400/access/AS400JDBCConnection.close()V+0
(AS400JDBCConnection.java:380)

com/infogenic/sitebuilder/servlets/GenericServlet.handleRequest(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Lorg/apache/velocity/context/Context;)Lorg/apache/velocity/Template;+0
(GenericServlet.java:216)

org/apache/velocity/servlet/VelocityServlet.doRequest(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0
(VelocityServlet.java:360)

org/apache/velocity/servlet/VelocityServlet.doGet(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0
(VelocityServlet.java:333)

javax/servlet/http/HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+58
(HttpServlet.java:499)

javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+25
(HttpServlet.java:588)

lotus/domino/servlet/DominoServletInvoker.executeServlet(ILjava/lang/String;Z)I+244
(DominoServletInvoker.java:283)
lotus/domino/servlet/DominoServletInvoker.service(ILjava/lang/String;)I+1
(DominoServletInvoker.java:224)
lotus/domino/servlet/ServletManager.service(I)I+141
(ServletManager.java:245)

Comments

843841
hi, the error that you have must to Thrown when an application attempts to use null in a case where an object is required. example

String he = null;
string h = he.toString();

in your I cosay you have something this sending a value null, and you turn it to something

I hope that it serves to you

byte
1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Apr 29 2004
Added on Mar 29 2004
1 comment
223 views