org.bimserver.plugins.serializers.SerializerException: java.lang.ClassCastException

GitHub | klokoy | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 1#23164806

    GitHub | 4 years ago | klokoy
    org.bimserver.plugins.serializers.SerializerException: java.lang.ClassCastException
  2. 0

    When I am trying to download cobiee sheet it gives exception on bimserver1.2

    GitHub | 3 years ago | vpanchal
    org.bimserver.plugins.serializers.SerializerException: java.lang.ClassCastException: java.util.Collections$EmptyList cannot be cast to java.util.ArrayList
  3. 0

    Urgent, Can we use Cobiee plugin with bimserver1.2 with JAVA 1.6 ?

    GitHub | 3 years ago | vpanchal
    org.bimserver.plugins.serializers.SerializerException: java.lang.ClassCastException: java.util.Collections$EmptyList cannot be cast to java.util.ArrayList
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When I am trying to download cobiee sheet it gives exception on bimserver1.2

    GitHub | 3 years ago | vpanchal
    org.bimserver.plugins.serializers.SerializerException: java.lang.ClassCastException: java.util.Collections$EmptyList cannot be cast to java.util.ArrayList

    Root Cause Analysis

    1. org.bimserver.plugins.serializers.SerializerException

      java.lang.ClassCastException

      at org.erdc.cobie.utils.serializer.BIMServerCOBieSheetXMLDataSerializer.write()
    2. org.erdc.cobie
      BIMServerCOBieSheetXMLDataSerializer.write
      1. org.erdc.cobie.utils.serializer.BIMServerCOBieSheetXMLDataSerializer.write(Unknown Source)
      1 frame
    3. org.bimserver.plugins
      SerializerInputstream.read
      1. org.bimserver.plugins.serializers.SerializerInputstream.read(SerializerInputstream.java:41)
      1 frame
    4. Java RT
      InputStream.read
      1. java.io.InputStream.read(InputStream.java:82)
      1 frame
    5. Commons IO
      IOUtils.copy
      1. org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1025)
      2. org.apache.commons.io.IOUtils.copy(IOUtils.java:999)
      2 frames
    6. org.bimserver.shared
      JsonConverter.toJson
      1. org.bimserver.shared.json.JsonConverter.toJson(JsonConverter.java:89)
      2. org.bimserver.shared.json.JsonConverter.toJson(JsonConverter.java:68)
      2 frames
    7. org.bimserver
      JsonHandler.execute
      1. org.bimserver.JsonHandler.processSingleRequest(JsonHandler.java:133)
      2. org.bimserver.JsonHandler.execute(JsonHandler.java:60)
      2 frames
    8. org.bimserver.servlets
      RootServlet.service
      1. org.bimserver.servlets.JsonApiServlet.handleRequest(JsonApiServlet.java:89)
      2. org.bimserver.servlets.JsonApiServlet.service(JsonApiServlet.java:71)
      3. org.bimserver.servlets.RootServlet.service(RootServlet.java:94)
      3 frames
    9. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
      1 frame
    10. Jetty
      AsyncHttpConnection.handle
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:457)
      3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
      4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
      5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
      6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)
      7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)
      8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
      9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)
      10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
      11. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
      12. org.eclipse.jetty.server.Server.handle(Server.java:364)
      13. org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:488)
      14. org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:943)
      15. org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1004)
      16. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:861)
      17. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
      18. org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
      18 frames
    11. GWT dev
      SelectChannelEndPoint$1.run
      1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)
      2. org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
      2 frames
    12. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
      2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
      2 frames
    13. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:680)
      1 frame