java.lang.ClassCastException

java.util.Arrays$ArrayList cannot be cast to java.util.ArrayList

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web19067

  • via Coderanch by Ronald Castillo, 9 months ago
    java.util.Arrays$ArrayList cannot be cast to java.util.ArrayList
  • via GitHub by tyler489
    , 1 year ago
    java.util.Arrays$ArrayList cannot be cast to java.util.ArrayList
  • java.util.Arrays$ArrayList cannot be cast to java.util.ArrayList
  • Stack trace

    • java.lang.ClassCastException: java.util.Arrays$ArrayList cannot be cast to java.util.ArrayList at minechem.utils.Recipe.init(Recipe.java:142)[Recipe.class:?] at minechem.Minechem.onLoadComplete(Minechem.java:211)[Minechem.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_25] at java.lang.reflect.Method.invoke(Method.java:483)[?:1.8.0_25] at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)[forge-1.7.10-10.13.4.1614-1.7.10.jar:?] at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_25] at java.lang.reflect.Method.invoke(Method.java:483)[?:1.8.0_25] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)[guava-17.0.jar:?] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:275)[guava-17.0.jar:?] at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)[LoadController.class:?] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)[LoadController.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_25] at java.lang.reflect.Method.invoke(Method.java:483)[?:1.8.0_25] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)[guava-17.0.jar:?] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:275)[guava-17.0.jar:?] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)[LoadController.class:?] at cpw.mods.fml.common.Loader.initializeMods(Loader.java:745)[Loader.class:?] at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:311)[FMLClientHandler.class:?] at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:552)[bao.class:?] at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:878)[bao.class:?] at net.minecraft.client.main.Main.main(SourceFile:148)[1.7.10.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_25] at java.lang.reflect.Method.invoke(Method.java:483)[?:1.8.0_25] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)[launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28)[launchwrapper-1.12.jar:?]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago