java.lang.NullPointerException

Icesoft | thiagopo | 7 years ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException

    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 org.apache.jsp.html.common.themes.portlet_jsp._jspService()
    2. org.apache.jsp
      portlet_jsp._jspService
      1. org.apache.jsp.html.common.themes.portlet_jsp._jspService(portlet_jsp.java:805)
      1 frame
    3. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      1 frame
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    5. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      3 frames
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    7. Glassfish Core
      ApplicationDispatcher.include
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
      4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535)
      5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)
      5 frames
    8. GWT dev
      PageContextImpl.include
      1. org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
      2. org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:611)
      2 frames
    9. struts
      InsertTag.doEndTag
      1. org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:99)
      2. org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:135)
      3. org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:760)
      4. org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:892)
      5. org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:462)
      5 frames
    10. org.apache.jsp
      render_005fportlet_jsp._jspService
      1. org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:1873)
      1 frame
    11. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      1 frame
    12. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    13. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      3 frames
    14. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    15. Glassfish Core
      ApplicationDispatcher.include
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
      4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535)
      5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)
      5 frames
    16. Liferay Portal Service
      PortalUtil.renderPortlet
      1. com.liferay.portal.util.PortalImpl.renderPortlet(PortalImpl.java:2884)
      2. com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:897)
      2 frames
    17. com.liferay.portlet
      TemplateProcessor.processColumn
      1. com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:170)
      2. com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:103)
      3. com.liferay.portlet.layoutconfiguration.util.velocity.PortletColumnLogic.processContent(PortletColumnLogic.java:133)
      4. com.liferay.portlet.layoutconfiguration.util.velocity.TemplateProcessor.processColumn(TemplateProcessor.java:68)
      4 frames
    18. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor481.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    19. Apache Velocity
      VelocityEngine.mergeTemplate
      1. org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
      2. org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
      3. org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
      4. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
      5. org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
      6. org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
      7. org.apache.velocity.Template.merge(Template.java:328)
      8. org.apache.velocity.Template.merge(Template.java:235)
      9. org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:381)
      9 frames
    20. Liferay Portal Impl
      VelocityEngineImpl.mergeTemplate
      1. com.liferay.portal.velocity.VelocityEngineImpl.mergeTemplate(VelocityEngineImpl.java:179)
      1 frame
    21. Liferay Portal Kernel
      VelocityEngineUtil.mergeTemplate
      1. com.liferay.portal.kernel.velocity.VelocityEngineUtil.mergeTemplate(VelocityEngineUtil.java:84)
      1 frame
    22. com.liferay.portlet
      RuntimePortletUtil.processTemplate
      1. com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:237)
      2. com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:190)
      2 frames
    23. org.apache.jsp
      portlet_jsp._jspService
      1. org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(portlet_jsp.java:831)
      1 frame
    24. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      1 frame
    25. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    26. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      3 frames
    27. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    28. Glassfish Core
      ApplicationDispatcher.include
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
      4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535)
      5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)
      5 frames
    29. Liferay Portal Impl
      LayoutAction.execute
      1. com.liferay.portal.action.LayoutAction.includeLayoutContent(LayoutAction.java:294)
      2. com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:471)
      3. com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:195)
      3 frames
    30. struts
      RequestProcessor.process
      1. org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
      2. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
      2 frames
    31. Liferay Portal Impl
      PortalRequestProcessor.process
      1. com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:157)
      1 frame
    32. struts
      ActionServlet.doGet
      1. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
      2. org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
      2 frames
    33. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
      1 frame
    34. Liferay Portal Impl
      MainServlet.service
      1. com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:608)
      2. com.liferay.portal.servlet.MainServlet.service(MainServlet.java:846)
      2 frames
    35. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    36. Glassfish Core
      ApplicationDispatcher.forward
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
      4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
      5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
      6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
      6 frames
    37. Liferay Portal Impl
      FriendlyURLServlet.service
      1. com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:143)
      1 frame
    38. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    39. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    40. Liferay Portal Service
      BaseFilter.processFilter
      1. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
      1 frame
    41. Liferay Portal Impl
      StripFilter.processFilter
      1. com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:142)
      1 frame
    42. Liferay Portal Service
      BaseFilter.doFilter
      1. com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
      1 frame
    43. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    44. Liferay Portal Service
      BaseFilter.doFilter
      1. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
      2. com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:94)
      2 frames
    45. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    46. Liferay Portal Service
      BaseFilter.processFilter
      1. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
      1 frame
    47. Liferay Portal Impl
      GZipFilter.processFilter
      1. com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:140)
      1 frame
    48. Liferay Portal Service
      BaseFilter.doFilter
      1. com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
      1 frame
    49. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    50. Liferay Portal Service
      BaseFilter.processFilter
      1. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
      1 frame
    51. Liferay Portal Impl
      SecureFilter.processFilter
      1. com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:282)
      1 frame
    52. Liferay Portal Service
      BaseFilter.doFilter
      1. com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
      1 frame
    53. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    54. Liferay Portal Service
      BaseFilter.doFilter
      1. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
      2. com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:94)
      2 frames
    55. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    56. Liferay Portal Service
      BaseFilter.processFilter
      1. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
      1 frame
    57. Liferay Portal Impl
      CacheFilter.processFilter
      1. com.liferay.portal.servlet.filters.cache.CacheFilter.processFilter(CacheFilter.java:425)
      1 frame
    58. Liferay Portal Service
      BaseFilter.doFilter
      1. com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
      1 frame
    59. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    60. Liferay Portal Service
      BaseFilter.processFilter
      1. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
      1 frame
    61. Liferay Portal Impl
      AutoLoginFilter.processFilter
      1. com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:257)
      1 frame
    62. Liferay Portal Service
      BaseFilter.doFilter
      1. com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
      1 frame
    63. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    64. Liferay Portal Service
      BaseFilter.processFilter
      1. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
      1 frame
    65. Liferay Portal Impl
      OpenSSOFilter.processFilter
      1. com.liferay.portal.servlet.filters.sso.opensso.OpenSSOFilter.processFilter(OpenSSOFilter.java:73)
      1 frame
    66. Liferay Portal Service
      BaseFilter.doFilter
      1. com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
      1 frame
    67. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    68. Liferay Portal Service
      BaseFilter.processFilter
      1. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
      1 frame
    69. Liferay Portal Impl
      SharepointFilter.processFilter
      1. com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:193)
      1 frame
    70. Liferay Portal Service
      BaseFilter.doFilter
      1. com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
      1 frame
    71. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    72. Liferay Portal Service
      BaseFilter.processFilter
      1. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
      1 frame
    73. Liferay Portal Impl
      VirtualHostFilter.doFilter
      1. com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.doFilter(VirtualHostFilter.java:191)
      1 frame
    74. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    75. Liferay Portal Service
      BaseFilter.processFilter
      1. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
      1 frame
    76. com.liferay.portal
      ThreadLocalCacheFilter.processFilter
      1. com.liferay.portal.servlet.filters.threadlocalcache.ThreadLocalCacheFilter.processFilter(ThreadLocalCacheFilter.java:55)
      1 frame
    77. Liferay Portal Service
      BaseFilter.doFilter
      1. com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
      1 frame
    78. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    79. Liferay Portal Service
      BaseFilter.doFilter
      1. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
      2. com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:94)
      2 frames
    80. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    81. UrlRewriteFilter
      UrlRewriteFilter.doFilter
      1. org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
      1 frame
    82. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      9 frames
    83. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      3 frames
    84. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame