java.lang.ClassCastException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • The issue can be traced to the org.dspace.app.webui.servlet.admin.EPersonListServlet class where users are being searched without limit/offset... Stack trace found on log: java.lang.OutOfMemoryError: Java heap space 2009-07-20 14:28:47,854 WARN org.dspace.app.webui.servlet.InternalErrorServlet @ :session_id=1F8645BF75793D48515BCEE4BD1051F3:internal_error:-- URL Was: http://bdjur.stj.gov.br/jspui/tools/eperson-list?multiple=false -- Referer: null -- Method: GET -- Parameters were: -- multiple: "false" Cookies -> Cookie: name=JSESSIONID value=1F8645BF75793D48515BCEE4BD1051F3 domain=null maxAge=-1 path=null Cookie: name=__utma value=186881130.841653692.1244813221.1244813221.1244813221.1 domain=null maxAge=-1 path=null Cookie: name=__utmz value=186881130.1244813221.1.1.utmccn domain=null maxAge=-1 path=null java.lang.OutOfMemoryError: Java heap space 2009-07-20 14:28:47,854 ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jspui].[internal-error] @ Servlet.service() for servlet internal-error threw exception java.lang.ClassCastException: java.lang.OutOfMemoryError at org.dspace.app.webui.servlet.InternalErrorServlet.doGet(InternalErrorServlet.java:86) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:364) at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:213) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:595)
    via by Flávio Botelho,
  • The issue can be traced to the org.dspace.app.webui.servlet.admin.EPersonListServlet class where users are being searched without limit/offset... Stack trace found on log: java.lang.OutOfMemoryError: Java heap space 2009-07-20 14:28:47,854 WARN org.dspace.app.webui.servlet.InternalErrorServlet @ :session_id=1F8645BF75793D48515BCEE4BD1051F3:internal_error:-- URL Was: http://bdjur.stj.gov.br/jspui/tools/eperson-list?multiple=false -- Referer: null -- Method: GET -- Parameters were: -- multiple: "false" Cookies -> Cookie: name=JSESSIONID value=1F8645BF75793D48515BCEE4BD1051F3 domain=null maxAge=-1 path=null Cookie: name=__utma value=186881130.841653692.1244813221.1244813221.1244813221.1 domain=null maxAge=-1 path=null Cookie: name=__utmz value=186881130.1244813221.1.1.utmccn domain=null maxAge=-1 path=null java.lang.OutOfMemoryError: Java heap space 2009-07-20 14:28:47,854 ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jspui].[internal-error] @ Servlet.service() for servlet internal-error threw exception java.lang.ClassCastException: java.lang.OutOfMemoryError at org.dspace.app.webui.servlet.InternalErrorServlet.doGet(InternalErrorServlet.java:86) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:364) at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:213) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:595)
    via by Flávio Botelho,
    • java.lang.ClassCastException: java.lang.OutOfMemoryError at org.dspace.app.webui.servlet.InternalErrorServlet.doGet(InternalErrorServlet.java:86) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:364) at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:213) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:595)
    No Bugmate found.