java.lang.NullPointerException

Icesoft | er.ritesh.mehta | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    URI

    GitHub | 2 years ago | mrburvall
    java.lang.NullPointerException
  2. 0

    Spring-boot-starter-data-rest OneToMany and ManyToOne and collections null pointer execption during POST

    Stack Overflow | 3 years ago
    org.springframework.http.converter.HttpMessageNotReadableException: Could not read JSON: (was java.lang.NullPointerException) (through reference chain: test.Category["products"]); nested exception is com.fasterxml.jackson.databind.JsonMappingException: (was java.lang.NullPointerException) (through reference chain: test.Category["products"])
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 1#161951861

    GitHub | 1 year ago | misiekzap
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:webstart-maven-plugin:1.0-beta-6:jnlp-download-servlet (default) on project project1 : Execution default of goal org.codehaus.mojo:webstart-maven-plugin:1.0-beta-6:jnlp-download-servlet failed.
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.net.URI$Parser.parse()
  2. Java RT
    URI.create
    1. java.net.URI$Parser.parse(URI.java:3010)
    2. java.net.URI.<init>(URI.java:578)
    3. java.net.URI.create(URI.java:840)
    3 frames
  3. com.icesoft.faces
    MainServlet.service
    1. com.icesoft.faces.webapp.http.servlet.ServletRequestResponse$1.portlet(ServletRequestResponse.java:70)
    2. com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.detectEnvironment(ServletRequestResponse.java:225)
    3. com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.<init>(ServletRequestResponse.java:47)
    4. com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet$ThreadBlockingRequestResponse.<init>(ThreadBlockingAdaptingServlet.java:32)
    5. com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:18)
    6. com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:29)
    7. com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:139)
    8. com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:35)
    9. com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
    10. com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
    11. com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:79)
    11 frames
  4. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    1 frame
  5. com.sap.engine
    PageContextImpl.forward
    1. com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:66)
    2. com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:246)
    3. com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:334)
    4. com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl.forward(PageContextImpl.java:207)
    4 frames
  6. Unknown
    JEE_jsp_index_7164950_1216237047000_1216237066952._jspService
    1. JEE_jsp_index_7164950_1216237047000_1216237066952._jspService(JEE_jsp_index_7164950_1216237047000_1216237066952.java:41)
    1 frame
  7. com.sap.engine
    JSPServlet.service
    1. com.sap.engine.services.servlets_jsp.lib.jspruntime.JspBase.service(JspBase.java:102)
    2. com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:66)
    3. com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:433)
    4. com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:240)
    4 frames
  8. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    1 frame
  9. com.sap.engine
    PortletRequestDispatcherImpl.include
    1. com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:66)
    2. com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:246)
    3. com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.include(RequestDispatcherImpl.java:386)
    4. com.sap.engine.services.portletcontainer.core.dispatch.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:74)
    4 frames
  10. com.icesoft.faces
    MainPortlet.doView
    1. com.icesoft.faces.webapp.http.portlet.MainPortlet.doInclude(MainPortlet.java:122)
    2. com.icesoft.faces.webapp.http.portlet.MainPortlet.doView(MainPortlet.java:55)
    2 frames
  11. Java Portlet Specification V2.0
    GenericPortlet.render
    1. javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:235)
    2. javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
    2 frames
  12. com.sap.engine
    PortletContainer.render
    1. com.sap.engine.services.portletcontainer.container.request.RenderDispatchHandler.service(RenderDispatchHandler.java:55)
    2. com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
    3. com.sap.engine.services.portletcontainer.container.PortletContainer.render(PortletContainer.java:244)
    3 frames
  13. com.sap.portal
    PortletProxyComponent.doContent
    1. com.sap.portal.prt.portlet.integration.PortletProxyComponent.doContent(PortletProxyComponent.java:53)
    1 frame
  14. com.sapportals.portal
    AbstractPortalComponent.service
    1. com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:200)
    2. com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    2 frames
  15. com.sap.portal
    RequestDispatcherFactory$PortalComponentRequestDispatcher$5.service
    1. com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher$5.service(RequestDispatcherFactory.java:308)
    1 frame
  16. com.sap.engine
    IRequestDispatcherImpl.dispatch
    1. com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
    1 frame
  17. com.sap.portal
    PortalRequestManager.runRequestCycle
    1. com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher.service(RequestDispatcherFactory.java:298)
    2. com.sap.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:278)
    3. com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:115)
    4. com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:158)
    5. com.sap.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:216)
    6. com.sap.portal.prt.pom.PortalNode.service(PortalNode.java:618)
    7. com.sap.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:282)
    8. com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:115)
    9. com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:158)
    10. com.sap.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:640)
    10 frames
  18. com.sapportals.portal
    ServletConnection.handleRequest
    1. com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:203)
    1 frame
  19. com.sap.portal
    DispatcherServlet.service
    1. com.sap.portal.prt.dispatcher.DispatcherServlet.service(DispatcherServlet.java:122)
    1 frame
  20. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    1 frame
  21. com.sap.engine
    InvokerServlet.service
    1. com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:66)
    2. com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:32)
    3. com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:145)
    3 frames
  22. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    1 frame
  23. com.sap.engine
    FilterChainImpl.doFilter
    1. com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:163)
    2. com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:82)
    2 frames
  24. com.sap.portal
    EnrichNavRequestFilter.doFilter
    1. com.sap.portal.http.EnrichNavRequestFilter.doFilter(EnrichNavRequestFilter.java:49)
    1 frame
  25. com.sap.engine
    ActionObject.run
    1. com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:74)
    2. com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:425)
    3. com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:289)
    4. com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
    5. com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:376)
    6. com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)
    7. com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    8. com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)
    9. com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    10. com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:67)
    11. com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    12. com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    13. com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    14. com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    15. com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    16. com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    17. com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    18. com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    19. com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    20. com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    21. com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    22. com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:309)
    23. com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:222)
    24. com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    24 frames
  26. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  27. com.sap.engine
    SingleThread.run
    1. com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:152)
    2. com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
    2 frames