XStream
  1. XStream
  2. XSTR-469

Exception thrown by CGLIB converter duting initialization of XStream

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.2.2
    • Fix Version/s: None
    • Component/s: Converters
    • Labels:
      None
    • JDK version and platform:
      JDK 1.6_03, WinXP,

      Description

      exception that thrown:
      Exception in thread "pool-2-thread-1" java.lang.ExceptionInInitializerError
      at com.thoughtworks.xstream.converters.reflection.CGLIBEnhancedConverter.canConvert(CGLIBEnhancedConverter.java:59)
      at com.thoughtworks.xstream.core.DefaultConverterLookup.registerConverter(DefaultConverterLookup.java:58)
      at com.thoughtworks.xstream.XStream.registerConverter(XStream.java:1033)
      at com.thoughtworks.xstream.XStream.dynamicallyRegisterConverter(XStream.java:663)
      at com.thoughtworks.xstream.XStream.setupConverters(XStream.java:646)
      at com.thoughtworks.xstream.XStream.<init>(XStream.java:375)
      at com.thoughtworks.xstream.XStream.<init>(XStream.java:301)
      at com.nolio.platform.server.dataservices.logic.packages.loaders.ApplicationLoader.loadApplicationsFromFile(ApplicationLoader.java:43)
      at com.nolio.platform.server.dataservices.logic.packages.loaders.PackageLoader.loadPackage(PackageLoader.java:79)
      at com.nolio.platform.server.dataservices.logic.packages.loaders.PackageLoader.loadPackage(PackageLoader.java:44)
      at com.nolio.platform.server.dataservices.logic.packages.loaders.PackageLoader.loadFromFileObject(PackageLoader.java:36)
      at com.nolio.platform.server.dataservices.logic.packages.PackagesScanner.run(PackagesScanner.java:130)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.ClassCastException: net.sf.cglib.proxy.Enhancer$EnhancerKey$$KeyFactoryByCGLIB$$7fb24d72 cannot be cast to net.sf.cglib.core.KeyFactory
      at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
      at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
      at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
      at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
      at net.sf.cglib.proxy.Enhancer.<clinit>(Enhancer.java:69)
      ... 15 more

      don't know if this relevant: thrown inside of WebApp running in embedded Jetty 6

        People

        • Assignee:
          Jörg Schaible
          Reporter:
          Mirron
        • Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: