java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Accessing EJB in different EAR?
    via by mschwind,
  • Internal IDE err : getStepValue
    via GitHub by ApoorvaM
    ,
  • Jmeter user discussion
    via by Unknown author,
  • GitHub comment 536#12364397
    via GitHub by jburel
    ,
  • pkcs11 ca init failed
    via ejbca by tmatter
    ,
  • 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)
    via by masrawi,
    • java.lang.NullPointerException at java.util.Hashtable.get(Hashtable.java:334) at com.sun.appserv.server.util.ASURLClassLoader.loadClass(ASURLClassLoader.java:136) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at com.sun.appserv.server.util.ClassLoaderChain.loadClass(ClassLoaderChain.java:157) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at com.sun.appserv.server.util.ClassLoaderChain.loadClass(ClassLoaderChain.java:157) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at com.sun.enterprise.deployment.util.EjbBundleValidator.accept(EjbBundleValidator.java:238)

    Users with the same issue

    danleyb2Interintel
    danleyb2Interintel225 times, last one,
    poroszd
    poroszd4 times, last one,