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

Tridion | Andy Rowland | 1 year 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 | 1 year 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 | 2 months ago | Vivek Dhiman
    java.lang.ClassCastException: The target class does not match the specified target type
  3. 0

    Help:basic RMI question

    Google Groups | 2 decades ago | Paolo De Lutiis
    java.lang.ClassCastException: serverPackage.ServerClass_Stub at clientPackage.myApplet.init(myApplet.java:line#) at sun.applet.AppletPanel.run(AppletPanel.java:273) at java.lang.Thread.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Shared hosting Bungeecord problems.

    GitHub | 3 years ago | Arksenu
    java.lang.ClassCastException: bka cannot be cast to fs All my servers are set to onlinemode: false Here is my config.yml groups: arksenu: - admin disabled_commands: - find player_limit: -1 stats: 347d1d62-6fb6-4869-bd43-7d0745de8e3c permissions: default: - bungeecord.command.server - bungeecord.command.list admin: - bungeecord.command.ip - bungeecord.command.alert - bungeecord.command.end - bungeecord.command.reload listeners: - max_players: 18 fallback_server: hub host: 0.0.0.0:35289 bind_local_address: true ping_passthrough: false tab_list: GLOBAL_PING default_server: hub forced_hosts: pvp.md-5.net: hub tab_size: 60 force_default_server: true motd: ’Network’ query_enabled: false query_port: 25565 timeout: 30000 connection_throttle: 4000 servers: hub: address: 108.170.8.146:35289 restricted: false motd: test UvGames: address: 66.85.165.170:26200 restricted: false motd: test UvPrison: address: 66.85.128.90:25928 restricted: false motd: test ip_forward: false online_mode: true And here is my console message -> UpstreamBridge has disconnected disconnected with: Exception Connecting:RuntimeException : Server is online mode! @ net.md_5.bungee.ServerConnector:188
  6. 0

    Shared hosting Bungeecord problems.

    GitHub | 3 years ago | Arksenu
    java.lang.ClassCastException: bka cannot be cast to fs All my servers are set to onlinemode: false Here is my config.yml groups: arksenu: - admin disabled_commands: - find player_limit: -1 stats: 347d1d62-6fb6-4869-bd43-7d0745de8e3c permissions: default: - bungeecord.command.server - bungeecord.command.list admin: - bungeecord.command.ip - bungeecord.command.alert - bungeecord.command.end - bungeecord.command.reload listeners: - max_players: 18 fallback_server: hub host: 0.0.0.0:35289 bind_local_address: true ping_passthrough: false tab_list: GLOBAL_PING default_server: hub forced_hosts: pvp.md-5.net: hub tab_size: 60 force_default_server: true motd: ’Network’ query_enabled: false query_port: 25565 timeout: 30000 connection_throttle: 4000 servers: hub: address: 108.170.8.146:35289 restricted: false motd: test UvGames: address: 66.85.165.170:26200 restricted: false motd: test UvPrison: address: 66.85.128.90:25928 restricted: false motd: test ip_forward: false online_mode: true And here is my console message -> UpstreamBridge has disconnected disconnected with: Exception Connecting:RuntimeException : Server is online mode! @ net.md_5.bungee.ServerConnector:188

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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