javax.servlet.ServletException: org.apache.jasper.JasperException: java.lang.ClassCastException: java.util.UUID cannot be cast to java.lang.String


Solutions on the web10

Solution icon of duraspace
via Sakai JIRA by Claudia Jürgen, 1 year ago
org.apache.jasper.JasperException: java.lang.ClassCastException: java.util.UUID cannot be cast to java.lang.String

Solution icon of duraspace
via Sakai JIRA by Claudia Jürgen, 1 year ago
org.apache.jasper.JasperException: java.lang.ClassCastException: java.util.UUID cannot be cast to java.lang.String

Solution icon of duraspace
via Sakai JIRA by Claudia Jürgen, 1 year ago
org.apache.jasper.JasperException: java.lang.ClassCastException: org.dspace.eperson.Subscription cannot be cast to org.dspace.content.Collection

Solution icon of duraspace
via Sakai JIRA by Claudia Jürgen, 1 year ago
org.apache.jasper.JasperException: java.lang.ClassCastException: org.dspace.eperson.Subscription cannot be cast to org.dspace.content.Collection

Solution icon of duraspace
via Sakai JIRA by Claudia Jürgen, 1 year ago
org.apache.jasper.JasperException: java.lang.NullPointerException

Solution icon of duraspace
via Sakai JIRA by Tim Donohue, 1 year ago
org.apache.jasper.JasperException: java.lang.NullPointerException

Solution icon of duraspace
via Sakai JIRA by Tim Donohue, 1 year ago
org.apache.jasper.JasperException: java.lang.NullPointerException

Solution icon of duraspace
via Sakai JIRA by Claudia Jürgen, 1 year ago
org.apache.jasper.JasperException: java.lang.NullPointerException

Solution icon of duraspace
via Sakai JIRA by Claudia Jürgen, 10 months 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:

Solution icon of duraspace
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:

Stack trace

javax.servlet.ServletException: org.apache.jasper.JasperException: java.lang.ClassCastException: java.util.UUID cannot be cast to java.lang.String
	at org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java:62)
	at org.dspace.app.webui.servlet.admin.ItemMapServlet.doDSPost(ItemMapServlet.java:275)
	at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:122)
	at org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:80)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
	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.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	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.doFilter(ApplicationFilterChain.java:208)
	at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
	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 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
	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.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
	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 org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2451)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.jasper.JasperException: java.lang.ClassCastException: java.util.UUID cannot be cast to java.lang.String
	at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:549)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:470)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
	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.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	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)
	... 34 more
Caused by: java.lang.ClassCastException: java.util.UUID cannot be cast to java.lang.String
	at org.apache.jsp.tools.itemmap_002dinfo_jsp._jspService(itemmap_002dinfo_jsp.java:189)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
	... 47 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.