{"id":2337,"date":"2022-08-30T15:24:01","date_gmt":"2022-08-30T15:24:01","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/01\/05\/icefaces-and-tomcat-crash-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:24:01","modified_gmt":"2022-08-30T15:24:01","slug":"icefaces-and-tomcat-crash-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/icefaces-and-tomcat-crash-collection-of-common-programming-errors\/","title":{"rendered":"Icefaces and Tomcat Crash-Collection of common programming errors"},"content":{"rendered":"<p>I have an application made with ICEfaces and ran on Tomcat 6. When I try to access one of the pages where I select users, if gives me this error. The weird thing is, after I get the error, I refresh the page, and it normally goes to where ever I needed it to go to.<\/p>\n<p>Does anyone know what the error actually means, because the lines of code that are highlighted are closing of a DB connection, a comment line (weird lol), and some other syntax stuff that can&#8217;t have errors in it.<\/p>\n<pre><code>exception\n\njava.lang.RuntimeException: wrapped Exception: java.lang.NullPointerException\n    com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:156)\n    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)\n    com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:56)\n\n    root cause\n\njava.lang.NullPointerException\n    crm.CRM_SA_enter.reload_Fees(CRM_SA_enter.java:3591)\n    crm.CRM_SA_enter.gradeEval(CRM_SA_enter.java:3844)\n    crm.CRM_SA_enter.apply_dropDown(CRM_SA_enter.java:3265)\n    crm.CRM_SA_enter.load_function2(CRM_SA_enter.java:2314)\n    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)\n    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)\n    java.lang.reflect.Method.invoke(Method.java:597)\n    org.apache.el.parser.AstValue.invoke(AstValue.java:191)\n    org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)\n    com.sun.faces.application.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)\n    javax.faces.component.UICommand.broadcast(UICommand.java:380)\n    com.icesoft.faces.component.panelseries.UISeries$RowEvent.broadcast(UISeries.java:617)\n    com.icesoft.faces.component.panelseries.UISeries.broadcast(UISeries.java:285)\n    com.icesoft.faces.component.panelseries.UISeries$RowEvent.broadcast(UISeries.java:617)\n    com.icesoft.faces.component.panelseries.UISeries.broadcast(UISeries.java:285)\n    com.icesoft.faces.component.paneltabset.PanelTabSet.broadcast(PanelTabSet.java:320)\n    javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)\n    javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)\n    com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)\n    com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)\n    com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)\n    com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18)\n    com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(ReceiveSendUpdates.java:132)\n    com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:74)\n    com.icesoft.faces.webapp.http.core.RequestVerifier.service(RequestVerifier.java:31)\n    com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)\ncom.icesoft.faces.webapp.http.servlet.BasicAdaptingServlet.service(BasicAdaptingServlet.java:16)\n    com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)\n    com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:53)\n    com.icesoft.faces.webapp.http.servlet.SessionVerifier.service(SessionVerifier.java:26)\n    com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)\n    com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:131)\n    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)\n    com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:56)\n<\/code><\/pre>\n<ol>\n<li>\n<pre><code>crm.CRM_SA_enter.reload_Fees(CRM_SA_enter.java:3591)\n<\/code><\/pre>\n<p>Has the NPE. Doesn&#8217;t look like IceFaces code at all, probably what you are building.<\/p>\n<\/li>\n<\/ol>\n<p id=\"rop\"><small>Originally posted 2014-01-05 21:45:38. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I have an application made with ICEfaces and ran on Tomcat 6. When I try to access one of the pages where I select users, if gives me this error. The weird thing is, after I get the error, I refresh the page, and it normally goes to where ever I needed it to go [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2337","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2337","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2337"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2337\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2337"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2337"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2337"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}