java.lang.ClassCastException: The target class does not match the specified target type

Tridion | Andy Rowland | 10 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Debugging storage extension

    Tridion | 10 months ago | Andy Rowland
    java.lang.ClassCastException: The target class does not match the specified target type
  2. 0

    The target class does not match the specified target type

    Tridion | 7 days ago | Vivek Dhiman
    java.lang.ClassCastException: The target class does not match the specified target type

    Root Cause Analysis

    1. java.lang.ClassCastException

      The target class does not match the specified target type

      at com.tridion.util.ReflectionUtil.loadClassInstanceWithTypes()
    2. com.tridion.util
      ReflectionUtil.loadClassInstance
      1. com.tridion.util.ReflectionUtil.loadClassInstanceWithTypes(ReflectionUtil.java:83)[cd_core.jar:na]
      2. com.tridion.util.ReflectionUtil.loadClassInstance(ReflectionUtil.java:108)[cd_core.jar:na]
      2 frames
    3. com.tridion.storage
      StorageFactoryConfigurationLoader.configure
      1. com.tridion.storage.filesystem.FSDAOFactory.configureBundle(FSDAOFactory.java:74)[cd_datalayer.jar:na]
      2. com.tridion.storage.configuration.StorageFactoryConfigurationLoader.configureStorage(StorageFactoryConfigurationLoader.java:91)[cd_datalayer.jar:na]
      3. com.tridion.storage.configuration.StorageFactoryConfigurationLoader.configureStorage(StorageFactoryConfigurationLoader.java:65)[cd_datalayer.jar:na]
      4. com.tridion.storage.configuration.StorageFactoryConfigurationLoader.configure(StorageFactoryConfigurationLoader.java:51)[cd_datalayer.jar:na]
      4 frames
    4. com.tridion.configuration
      ConfigurationStepLoader.configure
      1. com.tridion.configuration.step.ConfigurationStepLoader.configure(ConfigurationStepLoader.java:47)[cd_core.jar:na]
      1 frame
    5. com.tridion.storage
      StorageManagerFactory.configure
      1. com.tridion.storage.StorageManagerFactory.configure(StorageManagerFactory.java:137)[cd_datalayer.jar:na]
      1 frame
    6. com.tridion.services
      BaseService.<init>
      1. com.tridion.services.BaseService.<init>(BaseService.java:113)[cd_core.jar:na]
      1 frame
    7. com.tridion.storage
      StorageManagerFactory.<clinit>
      1. com.tridion.storage.StorageManagerFactory.<init>(StorageManagerFactory.java:104)[cd_datalayer.jar:na]
      2. com.tridion.storage.StorageManagerFactory.reloadInstance(StorageManagerFactory.java:84)[cd_datalayer.jar:na]
      3. com.tridion.storage.StorageManagerFactory.<clinit>(StorageManagerFactory.java:56)[cd_datalayer.jar:na]
      3 frames
    8. com.tridion.transport
      HTTPSReceiverServlet.init
      1. com.tridion.transport.HTTPSReceiverServlet.init(HTTPSReceiverServlet.java:86)[cd_upload.jar:na]
      1 frame
    9. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1238)[catalina.jar:8.0.33]
      2. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1151)[catalina.jar:8.0.33]
      3. org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:828)[catalina.jar:8.0.33]
      4. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:135)[catalina.jar:8.0.33]
      5. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)[catalina.jar:8.0.33]
      6. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)[catalina.jar:8.0.33]
      7. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)[catalina.jar:8.0.33]
      8. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)[catalina.jar:8.0.33]
      9. org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)[catalina.jar:8.0.33]
      10. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)[catalina.jar:8.0.33]
      11. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)[catalina.jar:8.0.33]
      11 frames
    10. Grizzly HTTP
      NioEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)[tomcat-coyote.jar:8.0.33]
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)[tomcat-coyote.jar:8.0.33]
      3. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1502)[tomcat-coyote.jar:8.0.33]
      4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1458)[tomcat-coyote.jar:8.0.33]
      4 frames
    11. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[na:1.7.0_60]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[na:1.7.0_60]
      2 frames
    12. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-util.jar:8.0.33]
      1 frame
    13. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)[na:1.7.0_60]
      1 frame