Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 712422, 1 year ago
This exception has no message.
java.lang.NullPointerException: 	at mypackage.Calculator.add5(Calculator.java:35)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at com.sun.el.parser.AstValue.invoke(AstValue.java:157)	at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)	at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)	at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:95)	at javax.faces.component.UICommand.broadcast(UICommand.java:387)	at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)	at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)	at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)	at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:119)	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)	at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:43)	at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:43)	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)	at weblogic.security.service.SecurityManager.runAs(Unknown Source)	at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)	at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)	at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)	at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)