java.lang.NullPointerException: null

Tridion | Harish Sharma | 1 year 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

    Getting a nullpointer exception when switching displayables in J2ME

    Stack Overflow | 6 years ago | Pallinder
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  2. 0

    J2ME (Java) - Null Pointer Exception caught in Display Class

    Stack Overflow | 6 years ago | Tom
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Cloud Foundry v2 in Grails

    Stack Overflow | 2 years ago | angelo087
    java.lang.NullPointerException: Cannot invoke method getAt() on null object
  5. 0

    NullPointerException in MIDlet with left soft key

    Stack Overflow | 6 years ago | berry120
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callItemListener(), bci=57 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=57 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179

    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 org.dd4t.core.util.XSLTransformer.getTransformer()
    2. org.dd4t.core
      GenericPageFactory.findPageByUrl
      1. org.dd4t.core.util.XSLTransformer.getTransformer(XSLTransformer.java:130)[dd4t-core-1.31.jar:na]
      2. org.dd4t.core.util.XSLTransformer.transformSourceFromFilesource(XSLTransformer.java:66)[dd4t-core-1.31.jar:na]
      3. org.dd4t.core.filters.impl.RichTextWithLinksResolverFilter.resolveXhtmlField(RichTextWithLinksResolverFilter.java:150)[dd4t-core-1.31.jar:na]
      4. org.dd4t.core.filters.impl.RichTextWithLinksResolverFilter.resolveMap(RichTextWithLinksResolverFilter.java:124)[dd4t-core-1.31.jar:na]
      5. org.dd4t.core.filters.impl.RichTextWithLinksResolverFilter.resolveComponent(RichTextWithLinksResolverFilter.java:113)[dd4t-core-1.31.jar:na]
      6. org.dd4t.core.filters.impl.RichTextWithLinksResolverFilter.resolvePage(RichTextWithLinksResolverFilter.java:104)[dd4t-core-1.31.jar:na]
      7. org.dd4t.core.filters.impl.RichTextWithLinksResolverFilter.doFilter(RichTextWithLinksResolverFilter.java:84)[dd4t-core-1.31.jar:na]
      8. org.dd4t.core.factories.impl.BaseFactory.doFilter(BaseFactory.java:152)[dd4t-core-1.31.jar:na]
      9. org.dd4t.core.factories.impl.BaseFactory.doFilters(BaseFactory.java:128)[dd4t-core-1.31.jar:na]
      10. org.dd4t.core.factories.impl.GenericPageFactory.findGenericPageByUrl(GenericPageFactory.java:250)[dd4t-core-1.31.jar:na]
      11. org.dd4t.core.factories.impl.GenericPageFactory.findPageByUrl(GenericPageFactory.java:209)[dd4t-core-1.31.jar:na]
      11 frames
    3. org.dd4t.springmvc
      DynamicPageController.handleRequestInternal
      1. org.dd4t.springmvc.controller.DynamicPageController.handleRequestInternal(DynamicPageController.java:124)[classes/:na]
      1 frame
    4. Spring MVC
      FrameworkServlet.doGet
      1. org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)[org.springframework.web.servlet-3.0.3.RELEASE.jar:3.0.3.RELEASE]
      2. org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)[org.springframework.web.servlet-3.0.3.RELEASE.jar:3.0.3.RELEASE]
      3. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:774)[org.springframework.web.servlet-3.0.3.RELEASE.jar:3.0.3.RELEASE]
      4. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)[org.springframework.web.servlet-3.0.3.RELEASE.jar:3.0.3.RELEASE]
      5. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)[org.springframework.web.servlet-3.0.3.RELEASE.jar:3.0.3.RELEASE]
      6. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)[org.springframework.web.servlet-3.0.3.RELEASE.jar:3.0.3.RELEASE]
      6 frames
    5. 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
    6. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)[catalina.jar:8.0.29]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.29]
      2 frames
    7. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)[tomcat-websocket.jar:8.0.29]
      1 frame
    8. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.29]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.29]
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)[catalina.jar:8.0.29]
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)[catalina.jar:8.0.29]
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)[catalina.jar:8.0.29]
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)[catalina.jar:8.0.29]
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)[catalina.jar:8.0.29]
      8. org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)[catalina.jar:8.0.29]
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)[catalina.jar:8.0.29]
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)[catalina.jar:8.0.29]
      10 frames
    9. Grizzly HTTP
      NioEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1096)[tomcat-coyote.jar:8.0.29]
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:674)[tomcat-coyote.jar:8.0.29]
      3. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)[tomcat-coyote.jar:8.0.29]
      4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)[tomcat-coyote.jar:8.0.29]
      4 frames
    10. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[na:1.8.0_66]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[na:1.8.0_66]
      2 frames
    11. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-util.jar:8.0.29]
      1 frame
    12. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)[na:1.8.0_66]
      1 frame