java.lang.NullPointerException

Coderanch | Darren Alexandria | 9 years ago
  1. 0

    Error pointing to a Hashtable but I don't have a Hashtable

    Coderanch | 9 years ago | Darren Alexandria
    java.lang.NullPointerException
  2. 0

    how to do logout in spring security

    Stack Overflow | 5 years ago | sudo
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    with tomcat 7 there is no problem. deploying the same war on tomcat 6 with spring 3.2 creates the following error: java.lang.NullPointerException at java.util.Hashtable.get(Hashtable.java:334) at org.apache.tomcat.util.http.Parameters.getParameterValues(Parameters.java:194) at org.apache.tomcat.util.http.Parameters.getParameter(Parameters.java:239) at org.apache.catalina.connector.Request.getParameter(Request.java:1042) at org.apache.catalina.connector.RequestFacade.getParameter(RequestFacade.java:355) at javax.servlet.ServletRequestWrapper.getParameter(ServletRequestWrapper.java:158) at javax.servlet.ServletRequestWrapper.getParameter(ServletRequestWrapper.java:158) at org.springframework.web.context.request.ServletWebRequest.getParameter(ServletWebRequest.java:113) at org.springframework.web.accept.ParameterContentNegotiationStrategy.getMediaTypeKey(ParameterContentNegotiationStrategy.java:60) at org.springframework.web.accept.AbstractMappingContentNegotiationStrategy.resolveMediaTypes(AbstractMappingContentNegotiationStrategy.java:46) at org.springframework.web.accept.ContentNegotiationManager.resolveMediaTypes(ContentNegotiationManager.java:102) at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.getAcceptableMediaTypes(AbstractMessageConverterMethodProcessor.java:189) at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.writeWithMessageConverters(AbstractMessageConverterMethodProcessor.java:114) at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.writeWithMessageConverters(AbstractMessageConverterMethodProcessor.java:90) at org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.handleReturnValue(RequestResponseBodyMethodProcessor.java:189) at org.springframework.web.method.support.HandlerMethodReturnValueHandlerComposite.handleReturnValue(HandlerMethodReturnValueHandlerComposite.java:69) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:122) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:746) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:687) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:915) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:811)

    Spring JIRA | 4 years ago | masrawi
    java.lang.NullPointerException
  5. 0

    with tomcat 7 there is no problem. deploying the same war on tomcat 6 with spring 3.2 creates the following error: java.lang.NullPointerException at java.util.Hashtable.get(Hashtable.java:334) at org.apache.tomcat.util.http.Parameters.getParameterValues(Parameters.java:194) at org.apache.tomcat.util.http.Parameters.getParameter(Parameters.java:239) at org.apache.catalina.connector.Request.getParameter(Request.java:1042) at org.apache.catalina.connector.RequestFacade.getParameter(RequestFacade.java:355) at javax.servlet.ServletRequestWrapper.getParameter(ServletRequestWrapper.java:158) at javax.servlet.ServletRequestWrapper.getParameter(ServletRequestWrapper.java:158) at org.springframework.web.context.request.ServletWebRequest.getParameter(ServletWebRequest.java:113) at org.springframework.web.accept.ParameterContentNegotiationStrategy.getMediaTypeKey(ParameterContentNegotiationStrategy.java:60) at org.springframework.web.accept.AbstractMappingContentNegotiationStrategy.resolveMediaTypes(AbstractMappingContentNegotiationStrategy.java:46) at org.springframework.web.accept.ContentNegotiationManager.resolveMediaTypes(ContentNegotiationManager.java:102) at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.getAcceptableMediaTypes(AbstractMessageConverterMethodProcessor.java:189) at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.writeWithMessageConverters(AbstractMessageConverterMethodProcessor.java:114) at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.writeWithMessageConverters(AbstractMessageConverterMethodProcessor.java:90) at org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.handleReturnValue(RequestResponseBodyMethodProcessor.java:189) at org.springframework.web.method.support.HandlerMethodReturnValueHandlerComposite.handleReturnValue(HandlerMethodReturnValueHandlerComposite.java:69) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:122) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:746) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:687) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:915) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:811)

    Spring JIRA | 4 years ago | masrawi
    java.lang.NullPointerException

  1. danleyb2Interintel 11 times, last 5 months ago
  2. poroszd 4 times, last 8 months ago
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.util.Hashtable.get()
  2. Java RT
    Hashtable.get
    1. java.util.Hashtable.get(Hashtable.java:336)
    1 frame
  3. Grizzly HTTP
    Parameters.getParameter
    1. org.apache.tomcat.util.http.Parameters.getParameterValues(Parameters.java:193)
    2. org.apache.tomcat.util.http.Parameters.getParameter(Parameters.java:238)
    2 frames
  4. Glassfish Core
    RequestFacade.getParameter
    1. org.apache.catalina.connector.Request.getParameter(Request.java:1007)
    2. org.apache.catalina.connector.RequestFacade.getParameter(RequestFacade.java:353)
    2 frames
  5. com.amkor.stripmap
    ControllerServlet.doPost
    1. com.amkor.stripmap.ControllerServlet.doPost(ControllerServlet.java:34)
    1 frame
  6. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    2 frames
  7. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
    5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
    8 frames
  8. Grizzly HTTP
    LeaderFollowerWorkerThread.runIt
    1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
    2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
    3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    4. org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    4 frames
  9. Tomcat Util
    ThreadPool$ControlRunnable.run
    1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
    1 frame
  10. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:595)
    1 frame