Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by KyleStewart95
, 1 year ago
java.util.ArrayList cannot be cast to java.lang.String
java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.String at org.spongepowered.mod.plugin.SpongeModPluginContainer.bindMetadata(SpongeModPluginContainer.java:139)[SpongeModPluginContainer.class:1.8.9-1722-3.1.0-BETA-1136] at net.minecraftforge.fml.common.discovery.JarDiscoverer.discover(JarDiscoverer.java:85)[JarDiscoverer.class:?] at net.minecraftforge.fml.common.discovery.ContainerType.findMods(ContainerType.java:42)[ContainerType.class:?] at net.minecraftforge.fml.common.discovery.ModCandidate.explore(ModCandidate.java:71)[ModCandidate.class:?] at net.minecraftforge.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:134)[ModDiscoverer.class:?] at net.minecraftforge.fml.common.Loader.identifyMods(Loader.java:363)[Loader.class:?] at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:488)[Loader.class:?] at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:87)[FMLServerHandler.class:?] at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:320)[FMLCommonHandler.class:?] at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:112)[ko.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:441)[MinecraftServer.class:?] at java.lang.Thread.run(Unknown Source)[?:1.8.0_45]