org.bimserver.plugins.serializers.SerializerException: java.lang.ClassCastException: java.util.Collections$EmptyList cannot be cast to java.util.ArrayList

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
org.bimserver.plugins.serializers.SerializerException: 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.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 java.lang.Thread.run(Thread.java:662)

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.

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