java.lang.ClassCastException: org.spongepowered.mod.SpongeMod cannot be cast to org.spongepowered.api.plugin.PluginContainer

GitHub | celinor1982 | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 1#253265432

    GitHub | 7 months ago | celinor1982
    java.lang.ClassCastException: org.spongepowered.mod.SpongeMod cannot be cast to org.spongepowered.api.plugin.PluginContainer
  2. 0

    SpongeForge 1890 - v1762

    GitHub | 7 months ago | celinor1982
    java.lang.ClassCastException: org.spongepowered.mod.SpongeMod cannot be cast to org.spongepowered.api.plugin.PluginContainer
  3. 0

    GitHub comment 1#253265432

    GitHub | 7 months ago | celinor1982
    java.lang.ClassCastException: org.spongepowered.mod.SpongeMod cannot be cast to org.spongepowered.api.plugin.PluginContainer
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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.
  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

      org.spongepowered.mod.SpongeMod cannot be cast to org.spongepowered.api.plugin.PluginContainer

      at org.spongepowered.mod.guice.SpongeGuiceModule.configure()
    2. org.spongepowered.mod
      SpongeGuiceModule.configure
      1. org.spongepowered.mod.guice.SpongeGuiceModule.configure(SpongeGuiceModule.java:68)
      1 frame
    3. Google Guice - Core Library
      Guice.createInjector
      1. com.google.inject.AbstractModule.configure(AbstractModule.java:62)
      2. com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:340)
      3. com.google.inject.spi.Elements.getElements(Elements.java:110)
      4. com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:138)
      5. com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104)
      6. com.google.inject.Guice.createInjector(Guice.java:96)
      7. com.google.inject.Guice.createInjector(Guice.java:73)
      8. com.google.inject.Guice.createInjector(Guice.java:62)
      8 frames
    4. org.spongepowered.mod
      SpongeMod.<init>
      1. org.spongepowered.mod.SpongeMod.<init>(SpongeMod.java:124)
      1 frame
    5. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      5. java.lang.Class.newInstance(Class.java:442)
      5 frames
    6. MC Forge
      FMLCommonHandler.onServerStart
      1. net.minecraftforge.fml.common.Loader.identifyMods(Loader.java:339)
      2. net.minecraftforge.fml.common.Loader.loadMods(Loader.java:488)
      3. net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:87)
      4. net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:320)
      4 frames
    7. MC Server
      MinecraftServer.run
      1. net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:112)
      2. net.minecraft.server.MinecraftServer.run(MinecraftServer.java:441)
      2 frames
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[12:27:20]
      1 frame