java.lang.NullPointerException: null

Tridion | Hirokazu Shikata | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    GitHub comment 84#164212176

    GitHub | 1 year ago | leiguorui
    java.lang.IllegalStateException: Failed to load ApplicationContext
  3. 0

    GitHub comment 2263#189694404

    GitHub | 1 year ago | wing328
    java.lang.NullPointerException: null

  1. poroszd 1 times, last 3 weeks ago
  2. SteVio1989 1 times, last 1 month ago
  3. Handemelindo 1 times, last 3 months ago
  4. kid 1 times, last 3 months ago
  5. Tahir 8 times, last 5 months ago
6 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

    null

    at java.io.Reader.<init>()
  2. Java RT
    InputStreamReader.<init>
    1. java.io.Reader.<init>(Reader.java:78)[na:1.8.0_91]
    2. java.io.InputStreamReader.<init>(InputStreamReader.java:113)[na:1.8.0_91]
    2 frames
  3. com.sdl.odata
    DefaultODataClient.getEntity
    1. com.sdl.odata.client.caller.BasicEndpointCaller.getResponse(BasicEndpointCaller.java:210)[odata_client-2.0.5-1002.jar:2.0.5-1002]
    2. com.sdl.odata.client.caller.BasicEndpointCaller.callEndpoint(BasicEndpointCaller.java:86)[odata_client-2.0.5-1002.jar:2.0.5-1002]
    3. com.sdl.odata.client.DefaultODataClient.getODataResponse(DefaultODataClient.java:141)[odata_client-2.0.5-1002.jar:2.0.5-1002]
    4. com.sdl.odata.client.DefaultODataClient.getEntity(DefaultODataClient.java:69)[odata_client-2.0.5-1002.jar:2.0.5-1002]
    4 frames
  4. com.sdl.context
    ODataContextEngine.resolve
    1. com.sdl.context.odata.client.ODataContextEngineProxy.resolve(ODataContextEngineProxy.java:104)[cwd_odata_client-8.1.1-1014.jar:8.1.1-1014]
    2. com.sdl.context.odata.client.api.ODataContextEngine.resolve(ODataContextEngine.java:44)[cwd_odata_client-8.1.1-1014.jar:8.1.1-1014]
    2 frames
  5. com.sdl.webapp
    WebRequestContextImpl$$FastClassByCGLIB$$2bfec188.invoke
    1. com.sdl.webapp.tridion.contextengine.ContextServiceClaimsProvider.getContextClaims(ContextServiceClaimsProvider.java:87)[dxa-web8-provider-1.4.0.jar:1.4.0]
    2. com.sdl.webapp.common.impl.contextengine.ContextEngineImpl.getClaims(ContextEngineImpl.java:41)[dxa-common-impl-1.4.0.jar:1.4.0]
    3. com.sdl.webapp.common.impl.WebRequestContextImpl.getDisplayWidth(WebRequestContextImpl.java:128)[dxa-common-impl-1.4.0.jar:1.4.0]
    4. com.sdl.webapp.common.impl.WebRequestContextImpl$$FastClassByCGLIB$$2bfec188.invoke(<generated>)[cglib-2.2.2.jar:1.4.0]
    4 frames
  6. IDEA
    MethodProxy.invoke
    1. net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)[cglib-2.2.2.jar:na]
    1 frame
  7. Spring AOP
    Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
    1. org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    2. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    3. org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    4. org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    5. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    6. org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)[spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    6 frames
  8. com.sdl.webapp
    PageController.handleGetPage
    1. com.sdl.webapp.common.impl.WebRequestContextImpl$$EnhancerByCGLIB$$726d2d34.getDisplayWidth(<generated>)[cglib-2.2.2.jar:1.4.0]
    2. com.sdl.webapp.common.impl.DefaultMediaHelper.getScreenWidth(DefaultMediaHelper.java:158)[dxa-common-impl-1.4.0.jar:1.4.0]
    3. com.sdl.webapp.common.controller.PageController.handleGetPage(PageController.java:149)[dxa-common-api-1.4.0.jar:1.4.0]
    3 frames
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_91]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_91]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_91]
    4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_91]
    4 frames
  10. Spring
    InvocableHandlerMethod.invokeForRequest
    1. org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219)[spring-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    2. org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)[spring-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    2 frames
  11. Spring MVC
    FrameworkServlet.doGet
    1. org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:100)[spring-webmvc-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    2. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:604)[spring-webmvc-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    3. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:565)[spring-webmvc-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    4. org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)[spring-webmvc-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    5. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)[spring-webmvc-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    6. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)[spring-webmvc-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    7. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)[spring-webmvc-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    8. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)[spring-webmvc-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    8 frames
  12. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:622)[servlet-api.jar:na]
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)[servlet-api.jar:na]
    2 frames
  13. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)[catalina.jar:8.0.35]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[catalina.jar:8.0.35]
    2 frames
  14. Tomcat WS
    WsFilter.doFilter
    1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)[tomcat-websocket.jar:8.0.35]
    1 frame
  15. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[catalina.jar:8.0.35]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[catalina.jar:8.0.35]
    2 frames
  16. com.tridion.ambientdata
    AbstractAmbientDataServletFilter.doFilter
    1. com.tridion.ambientdata.web.AbstractAmbientDataServletFilter.doFilter(AbstractAmbientDataServletFilter.java:286)[web-ambient-client-8.1.1-1005.jar:8.1.1-1005]
    1 frame
  17. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[catalina.jar:8.0.35]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[catalina.jar:8.0.35]
    2 frames
  18. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)[spring-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)[spring-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    2 frames
  19. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[catalina.jar:8.0.35]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[catalina.jar:8.0.35]
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)[catalina.jar:8.0.35]
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)[catalina.jar:8.0.35]
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)[catalina.jar:8.0.35]
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)[catalina.jar:8.0.35]
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)[catalina.jar:8.0.35]
    8. org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)[catalina.jar:8.0.35]
    9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)[catalina.jar:8.0.35]
    10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528)[catalina.jar:8.0.35]
    10 frames
  20. Grizzly HTTP
    NioEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1099)[tomcat-coyote.jar:8.0.35]
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)[tomcat-coyote.jar:8.0.35]
    3. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)[tomcat-coyote.jar:8.0.35]
    4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)[tomcat-coyote.jar:8.0.35]
    4 frames
  21. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_91]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_91]
    2 frames
  22. Tomcat Util
    TaskThread$WrappingRunnable.run
    1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-util.jar:8.0.35]
    1 frame
  23. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_91]
    1 frame