javax.servlet.ServletException: java.lang.NullPointerException

GitHub | mzico | 2 months ago
  1. 0

    'Generate' method in SAML Trust relationship throwing NPE

    GitHub | 2 months ago | mzico
    javax.servlet.ServletException: java.lang.NullPointerException
  2. 0

    Server crashes on startup

    GitHub | 2 years ago | matthijs2704
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    unable to run example program

    GitHub | 2 years ago | tvmanikandan
    java.lang.NullPointerException

  1. Handemelindo 1 times, last 6 days ago
  2. kid 1 times, last 4 weeks ago
  3. Tahir 8 times, last 2 months ago
  4. rlovtangen 2 times, last 3 months ago
  5. Christopher 3 times, last 4 months ago
5 more registered users
18 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at java.io.Reader.<init>()
  2. Java RT
    InputStreamReader.<init>
    1. java.io.Reader.<init>(Reader.java:78)
    2. java.io.InputStreamReader.<init>(InputStreamReader.java:72)
    2 frames
  3. org.gluu.oxtrust
    SSLService.getPEMCertificate
    1. org.gluu.oxtrust.ldap.service.SSLService.getPEMCertificateStatic(SSLService.java:109)
    2. org.gluu.oxtrust.ldap.service.SSLService.getPEMCertificate(SSLService.java:89)
    2 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  5. org.jboss.seam
    JavaBeanInterceptor.invoke
    1. org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
    2. org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
    3. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
    4. org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
    5. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
    6. org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
    7. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
    8. org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
    9. org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:196)
    10. org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:114)
    10 frames
  6. org.gluu.oxtrust
    UpdateTrustRelationshipAction.save
    1. org.gluu.oxtrust.ldap.service.SSLService_$$_javassist_seam_65.getPEMCertificate(SSLService_$$_javassist_seam_65.java)
    2. org.gluu.oxtrust.action.UpdateTrustRelationshipAction.getCertForGeneratedSP(UpdateTrustRelationshipAction.java:432)
    3. org.gluu.oxtrust.action.UpdateTrustRelationshipAction.save(UpdateTrustRelationshipAction.java:244)
    3 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  8. org.jboss.seam
    JavaBeanInterceptor.invoke
    1. org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
    2. org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
    3. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
    4. org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
    5. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
    6. org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:79)
    7. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
    8. org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
    9. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
    10. org.jboss.seam.security.SecurityInterceptor.aroundInvoke(SecurityInterceptor.java:163)
    11. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
    12. org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
    13. org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:196)
    14. org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:114)
    14 frames
  9. org.gluu.oxtrust
    UpdateTrustRelationshipAction_$$_javassist_seam_57.save
    1. org.gluu.oxtrust.action.UpdateTrustRelationshipAction_$$_javassist_seam_57.save(UpdateTrustRelationshipAction_$$_javassist_seam_57.java)
    1 frame
  10. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  11. org.jboss.el
    MethodExpressionImpl.invoke
    1. org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:335)
    2. org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:348)
    3. org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
    4. org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
    5. org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
    5 frames
  12. JSF
    TagMethodExpression.invoke
    1. com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
    1 frame
  13. JavaEE 7
    MethodBindingMethodExpressionAdapter.invoke
    1. javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:87)
    1 frame
  14. JSF
    ActionListenerImpl.processAction
    1. com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:101)
    1 frame
  15. JavaEE 7
    UIViewRoot.processApplication
    1. javax.faces.component.UICommand.broadcast(UICommand.java:315)
    2. javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:786)
    3. javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1251)
    3 frames
  16. JSF
    LifecycleImpl.execute
    1. com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
    2. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
    3. com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
    3 frames
  17. JavaEE 7
    FacesServlet.service
    1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
    1 frame
  18. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    2 frames
  19. Tomcat WS
    WsFilter.doFilter
    1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    1 frame
  20. Glassfish Core
    ApplicationDispatcher.forward
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
    4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
    5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
    6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
    6 frames
  21. org.jboss.seam
    SeamFilter.doFilter
    1. org.jboss.seam.web.RewriteFilter.process(RewriteFilter.java:98)
    2. org.jboss.seam.web.RewriteFilter.doFilter(RewriteFilter.java:57)
    3. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    4. org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
    5. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    6. org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
    7. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    8. org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:86)
    9. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    10. org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
    11. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    12. org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
    13. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    14. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)
    15. org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
    15 frames
  22. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
    9 frames
  23. org.apache.coyote
    AjpProcessor.process
    1. org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190)
    1 frame
  24. Grizzly HTTP
    JIoEndpoint$SocketProcessor.run
    1. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
    2. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
    2 frames
  25. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    2 frames
  26. Tomcat Util
    TaskThread$WrappingRunnable.run
    1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    1 frame
  27. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame