Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Works one day, but not the next!

Status
Not open for further replies.

jem122974

Programmer
Nov 1, 2001
114
US
I am running Tomcat on the AS400. Last week my application was working fine, but today I get the following error. Some setting must have changed on the AS400 side, but I'm not sure what. Any ideas?

Error: 500
Location: /ejiw/InventoryLookup.jsp
Internal Servlet Error:

javax.servlet.ServletException
java/lang/Throwable.(Ljava/lang/String;)V+4 (Throwable.java:90)
java/lang/Exception.(Ljava/lang/String;)V+1 (Exception.java:38)
javax/servlet/ServletException.(Ljava/lang/Throwable;)V+5 (ServletException.java:161)
org/apache/jasper/runtime/PageContextImpl.handlePageException(Ljava/lang/Exception;)V+81 (PageContextImpl.java:461)
_0002fInventoryLookup_0002ejspInventoryLookup_jsp_21._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (_0002fInventoryLookup_0002ejspInventoryLookup_jsp_21.java:36)
org/apache/jasper/runtime/HttpJspBase.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+1 (HttpJspBase.java:119)
javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+25 (HttpServlet.java:853)
org/apache/jasper/servlet/JspServlet$JspCountedServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+8 (JspServlet.java:130)
javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+25 (HttpServlet.java:853)
org/apache/jasper/servlet/JspServlet$JspServletWrapper.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Z)V+53 (JspServlet.java:282)
org/apache/jasper/servlet/JspServlet.serviceJspFile(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/String;Ljava/lang/Throwable;Z)V+76 (JspServlet.java:429)
org/apache/jasper/servlet/JspServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+296 (JspServlet.java:500)
javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+25 (HttpServlet.java:853)
org/apache/tomcat/core/ServletWrapper.doService(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/Response;)V+62 (ServletWrapper.java:405)
org/apache/tomcat/core/Handler.service(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/Response;)V+199 (Handler.java:287)
org/apache/tomcat/core/ServletWrapper.service(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/Response;)V+139 (ServletWrapper.java:372)
org/apache/tomcat/core/ContextManager.internalService(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/Response;)V+248 (ContextManager.java:806)
org/apache/tomcat/core/ContextManager.service(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/Response;)V+15 (ContextManager.java:752)
org/apache/tomcat/service/connector/JNIConnectionHandler.processConnection(JJ)V+249 (JNIConnectionHandler.java:186)
org/apache/tomcat/service/JNIEndpoint.service(JJ)I+13 (JNIEndpoint.java:176)

Root cause:
java.lang.NullPointerException
java/lang/Throwable.()V+4 (Throwable.java:78)
java/lang/Exception.()V+1 (Exception.java:29)
java/lang/RuntimeException.()V+1 (RuntimeException.java:33)
java/lang/NullPointerException.()V+1 (NullPointerException.java:39)
com/ejiw/bandl/hd/Branch.getDescription(Ljava/sql/Connection;Ljava/lang/String;)Ljava/lang/String;+0 (Branch.java:10)
_0002fInventoryLookup_0002ejspInventoryLookup_jsp_21._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (_0002fInventoryLookup_0002ejspInventoryLookup_jsp_21.java:36)
org/apache/jasper/runtime/HttpJspBase.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+1 (HttpJspBase.java:119)
javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+25 (HttpServlet.java:853)
org/apache/jasper/servlet/JspServlet$JspCountedServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+8 (JspServlet.java:130)
javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+25 (HttpServlet.java:853)
org/apache/jasper/servlet/JspServlet$JspServletWrapper.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Z)V+53 (JspServlet.java:282)
org/apache/jasper/servlet/JspServlet.serviceJspFile(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/String;Ljava/lang/Throwable;Z)V+76 (JspServlet.java:429)
org/apache/jasper/servlet/JspServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+296 (JspServlet.java:500)
javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+25 (HttpServlet.java:853)
org/apache/tomcat/core/ServletWrapper.doService(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/Response;)V+62 (ServletWrapper.java:405)
org/apache/tomcat/core/Handler.service(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/Response;)V+199 (Handler.java:287)
org/apache/tomcat/core/ServletWrapper.service(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/Response;)V+139 (ServletWrapper.java:372)
org/apache/tomcat/core/ContextManager.internalService(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/Response;)V+248 (ContextManager.java:806)
org/apache/tomcat/core/ContextManager.service(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/Response;)V+15 (ContextManager.java:752)
org/apache/tomcat/service/connector/JNIConnectionHandler.processConnection(JJ)V+249 (JNIConnectionHandler.java:186)
org/apache/tomcat/service/JNIEndpoint.service(JJ)I+13 (JNIEndpoint.java:176)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top