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 GitHub by vpanchal
, 1 year ago
java.lang.ClassCastException: java.util.Collections$EmptyList cannot be cast to java.util.ArrayList
via GitHub by vpanchal
, 2 years ago
java.lang.ClassCastException: java.util.Collections$EmptyList cannot be cast to java.util.ArrayList
via GitHub by vpanchal
, 1 year ago
java.lang.ClassCastException: java.util.Collections$EmptyList cannot be cast to java.util.ArrayList
via GitHub by klokoy
, 1 year ago
java.lang.ClassCastException
java.lang.ClassCastException: java.util.Collections$EmptyList cannot be cast to java.util.ArrayList	at org.erdc.cobie.utils.serializer.sheetserializers.IfcToZone.writeZonesToCOBie(Unknown Source)	at org.erdc.cobie.shared.cobiesheetxmldata.COBieFactory.writeZones(Unknown Source)	at org.erdc.cobie.shared.cobiesheetxmldata.COBieFactory.ifcToCOBie(Unknown Source)	at org.erdc.cobie.shared.cobiesheetxmldata.COBieFactory.parse(Unknown Source)	at org.erdc.cobie.utils.serializer.BIMServerCOBieSheetXMLDataSerializer.modelToCOBie(Unknown Source)	at org.erdc.cobie.utils.serializer.BIMServerCOBieSheetXMLDataSerializer.write(Unknown Source)	at org.bimserver.plugins.serializers.EmfSerializer.writeToOutputStream(EmfSerializer.java:118)	at org.bimserver.plugins.serializers.EmfSerializerDataSource.writeToOutputStream(EmfSerializerDataSource.java:60)	at org.bimserver.servlets.DownloadServlet.service(DownloadServlet.java:254)	at org.bimserver.servlets.RootServlet.service(RootServlet.java:98)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669)	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:457)	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)	at org.eclipse.jetty.server.Server.handle(Server.java:368)	at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:488)	at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:932)	at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:994)	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:640)	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)	at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)	at java.lang.Thread.run(Thread.java:662)