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/StringV+4 (Throwable.java:90)
java/lang/Exception.(Ljava/lang/StringV+1 (Exception.java:38)
javax/servlet/ServletException.(Ljava/lang/ThrowableV+5 (ServletException.java:161)
org/apache/jasper/runtime/PageContextImpl.handlePageException(Ljava/lang/ExceptionV+81 (PageContextImpl.java:461)
_0002fInventoryLookup_0002ejspInventoryLookup_jsp_21._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponseV+0 (_0002fInventoryLookup_0002ejspInventoryLookup_jsp_21.java:36)
org/apache/jasper/runtime/HttpJspBase.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponseV+1 (HttpJspBase.java:119)
javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponseV+25 (HttpServlet.java:853)
org/apache/jasper/servlet/JspServlet$JspCountedServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponseV+8 (JspServlet.java:130)
javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponseV+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/HttpServletResponseV+296 (JspServlet.java:500)
javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponseV+25 (HttpServlet.java:853)
org/apache/tomcat/core/ServletWrapper.doService(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/ResponseV+62 (ServletWrapper.java:405)
org/apache/tomcat/core/Handler.service(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/ResponseV+199 (Handler.java:287)
org/apache/tomcat/core/ServletWrapper.service(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/ResponseV+139 (ServletWrapper.java:372)
org/apache/tomcat/core/ContextManager.internalService(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/ResponseV+248 (ContextManager.java:806)
org/apache/tomcat/core/ContextManager.service(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/ResponseV+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/StringLjava/lang/String;+0 (Branch.java:10)
_0002fInventoryLookup_0002ejspInventoryLookup_jsp_21._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponseV+0 (_0002fInventoryLookup_0002ejspInventoryLookup_jsp_21.java:36)
org/apache/jasper/runtime/HttpJspBase.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponseV+1 (HttpJspBase.java:119)
javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponseV+25 (HttpServlet.java:853)
org/apache/jasper/servlet/JspServlet$JspCountedServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponseV+8 (JspServlet.java:130)
javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponseV+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/HttpServletResponseV+296 (JspServlet.java:500)
javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponseV+25 (HttpServlet.java:853)
org/apache/tomcat/core/ServletWrapper.doService(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/ResponseV+62 (ServletWrapper.java:405)
org/apache/tomcat/core/Handler.service(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/ResponseV+199 (Handler.java:287)
org/apache/tomcat/core/ServletWrapper.service(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/ResponseV+139 (ServletWrapper.java:372)
org/apache/tomcat/core/ContextManager.internalService(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/ResponseV+248 (ContextManager.java:806)
org/apache/tomcat/core/ContextManager.service(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/ResponseV+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)
Error: 500
Location: /ejiw/InventoryLookup.jsp
Internal Servlet Error:
javax.servlet.ServletException
java/lang/Throwable.(Ljava/lang/StringV+4 (Throwable.java:90)
java/lang/Exception.(Ljava/lang/StringV+1 (Exception.java:38)
javax/servlet/ServletException.(Ljava/lang/ThrowableV+5 (ServletException.java:161)
org/apache/jasper/runtime/PageContextImpl.handlePageException(Ljava/lang/ExceptionV+81 (PageContextImpl.java:461)
_0002fInventoryLookup_0002ejspInventoryLookup_jsp_21._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponseV+0 (_0002fInventoryLookup_0002ejspInventoryLookup_jsp_21.java:36)
org/apache/jasper/runtime/HttpJspBase.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponseV+1 (HttpJspBase.java:119)
javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponseV+25 (HttpServlet.java:853)
org/apache/jasper/servlet/JspServlet$JspCountedServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponseV+8 (JspServlet.java:130)
javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponseV+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/HttpServletResponseV+296 (JspServlet.java:500)
javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponseV+25 (HttpServlet.java:853)
org/apache/tomcat/core/ServletWrapper.doService(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/ResponseV+62 (ServletWrapper.java:405)
org/apache/tomcat/core/Handler.service(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/ResponseV+199 (Handler.java:287)
org/apache/tomcat/core/ServletWrapper.service(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/ResponseV+139 (ServletWrapper.java:372)
org/apache/tomcat/core/ContextManager.internalService(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/ResponseV+248 (ContextManager.java:806)
org/apache/tomcat/core/ContextManager.service(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/ResponseV+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/StringLjava/lang/String;+0 (Branch.java:10)
_0002fInventoryLookup_0002ejspInventoryLookup_jsp_21._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponseV+0 (_0002fInventoryLookup_0002ejspInventoryLookup_jsp_21.java:36)
org/apache/jasper/runtime/HttpJspBase.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponseV+1 (HttpJspBase.java:119)
javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponseV+25 (HttpServlet.java:853)
org/apache/jasper/servlet/JspServlet$JspCountedServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponseV+8 (JspServlet.java:130)
javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponseV+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/HttpServletResponseV+296 (JspServlet.java:500)
javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponseV+25 (HttpServlet.java:853)
org/apache/tomcat/core/ServletWrapper.doService(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/ResponseV+62 (ServletWrapper.java:405)
org/apache/tomcat/core/Handler.service(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/ResponseV+199 (Handler.java:287)
org/apache/tomcat/core/ServletWrapper.service(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/ResponseV+139 (ServletWrapper.java:372)
org/apache/tomcat/core/ContextManager.internalService(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/ResponseV+248 (ContextManager.java:806)
org/apache/tomcat/core/ContextManager.service(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/ResponseV+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)