javax.servlet.ServletException: org.apache.jasper.JasperException: java.lang.NullPointerException

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Sakai JIRA by Tim Donohue, 1 year ago
org.apache.jasper.JasperException: java.lang.NullPointerException
via Sakai JIRA by Tim Donohue, 1 year ago
org.apache.jasper.JasperException: java.lang.NullPointerException
via Stack Overflow by Walter Nakamura
, 2 months ago
org.apache.jasper.JasperException: The absolute uri: [http://java.sun.com/jsp/jstl/core] cannot be resolved in either web.xml or the jar files deployed with this application
via Sakai JIRA by Claudia Jürgen, 1 year ago
org.apache.jasper.JasperException: java.lang.NullPointerException
via Sakai JIRA by Claudia Jürgen, 1 year ago
org.apache.jasper.JasperException: java.lang.NullPointerException
via Sakai JIRA by Claudia Jürgen, 1 year ago
org.apache.jasper.JasperException: An exception occurred processing JSP page /dspace-admin/list-formats.jsp at line 85 82: List<String> extensions = formats.get(i).getExtensions(); 83: String extValue = ""; 84: 85: for (int j = 0 ; j < extensions.size(); j++) 86: { 87: if (j > 0) 88: { Stacktrace:
java.lang.NullPointerException:
at org.dspace.app.webui.jsptag.SelectCollectionTag.doStartTag(SelectCollectionTag.java:87)
at org.apache.jsp.submit.start_002dlookup_002dsubmission_jsp._jspService(start_002dlookup_002dsubmission_jsp.java:583)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
at org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java:60)
at org.dspace.app.webui.submit.JSPStepManager.showJSP(JSPStepManager.java:370)
at org.dspace.app.webui.submit.step.JSPStartSubmissionLookupStep.doPreProcessing(JSPStartSubmissionLookupStep.java:178)
at org.dspace.app.webui.submit.JSPStepManager.doStepStart(JSPStepManager.java:282)
at org.dspace.app.webui.submit.JSPStepManager.processStep(JSPStepManager.java:244)
at org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionController.java:505)
at org.dspace.app.webui.servlet.SubmissionController.doDSPost(SubmissionController.java:410)
at org.dspace.app.webui.servlet.SubmissionController.doDSGet(SubmissionController.java:243)
at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:126)
at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:73)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
at com.googlecode.psiprobe.Tomcat70AgentValve.invoke(Tomcat70AgentValve.java:38)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.valves.CrawlerSessionManagerValve.invoke(CrawlerSessionManagerValve.java:180)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2462)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.