java.lang.NullPointerException

edu.cn | 8 months 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. Speed up your debug routine!

    Automated exception search integrated into your IDE

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.io.File.<init>()
  2. Java RT
    File.<init>
    1. java.io.File.<init>(null:-1)
    1 frame
  3. org.sakaiproject.portlets
    PortletIFrame.doView
    1. org.sakaiproject.portlets.PortletIFrame.getLocalizedURL(PortletIFrame.java:1083)
    2. org.sakaiproject.portlets.PortletIFrame.sourceUrl(PortletIFrame.java:1021)
    3. org.sakaiproject.portlets.PortletIFrame.doView(PortletIFrame.java:394)
    3 frames
  4. Java Portlet Specification V2.0
    GenericPortlet.render
    1. javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:247)
    2. javax.portlet.GenericPortlet.render(GenericPortlet.java:175)
    2 frames
  5. Pluto Portlet Container
    PortletServlet.doGet
    1. org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:208)
    2. org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:139)
    2 frames
  6. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:618)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
    2 frames
  7. Glassfish Core
    ApplicationDispatcher.include
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721)
    4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584)
    5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523)
    5 frames
  8. Pluto Portlet Container
    PortletContainerImpl.doRender
    1. org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:167)
    2. org.apache.pluto.core.DefaultPortletInvokerService.render(DefaultPortletInvokerService.java:101)
    3. org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:172)
    3 frames
  9. org.sakaiproject.portal
    PortletToolRenderService$Sakai168RenderResult.getContent
    1. org.sakaiproject.portal.render.portlet.PortletToolRenderService$Sakai168RenderResult.renderResponse(PortletToolRenderService.java:298)
    2. org.sakaiproject.portal.render.portlet.PortletToolRenderService$Sakai168RenderResult.getContent(PortletToolRenderService.java:334)
    2 frames
  10. sakai-portal-impl
    SkinnableCharonPortal.doGet
    1. org.sakaiproject.portal.charon.SkinnableCharonPortal.includeTool(SkinnableCharonPortal.java:733)
    2. org.sakaiproject.portal.charon.handlers.PageHandler.includePage(PageHandler.java:239)
    3. org.sakaiproject.portal.charon.handlers.WorksiteHandler.includeWorksite(WorksiteHandler.java:207)
    4. org.sakaiproject.portal.charon.handlers.SiteHandler.doSite(SiteHandler.java:487)
    5. org.sakaiproject.portal.charon.handlers.SiteHandler.doGet(SiteHandler.java:183)
    6. org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:902)
    6 frames
  11. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:618)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
    2 frames
  12. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    2 frames
  13. Sakai Component Manager
    RequestFilter.doFilter
    1. org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:455)
    1 frame
  14. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    2 frames
  15. Tomcat WS
    WsFilter.doFilter
    1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    1 frame
  16. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:136)
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
    8. org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
    9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
    10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:526)
    10 frames
  17. Grizzly HTTP
    AprEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:655)
    3. org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:277)
    4. org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2381)
    5. org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2370)
    5 frames
  18. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(null:-1)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(null:-1)
    2 frames
  19. Tomcat Util
    TaskThread$WrappingRunnable.run
    1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    1 frame
  20. Java RT
    Thread.run
    1. java.lang.Thread.run(null:-1)
    1 frame