java.lang.ClassCastException: com.google.gson.JsonPrimitive cannot be cast to com.google.gson.JsonObject

GitHub | HyperMan19680 | 2 months ago
  1. 0

    [1.7.10] java.lang.ClassCastException: com.google.gson.JsonPrimitive cannot be cast to com.google.gson.JsonObject

    GitHub | 2 months ago | HyperMan19680
    java.lang.ClassCastException: com.google.gson.JsonPrimitive cannot be cast to com.google.gson.JsonObject
  2. 0

    GitHub comment 56#145366040

    GitHub | 1 year ago | ANNOYEDCHERRY
    java.lang.ClassCastException: com.google.gson.JsonPrimitive cannot be cast to com.google.gson.JsonObject
  3. 0

    GitHub comment 56#145366082

    GitHub | 1 year ago | ANNOYEDCHERRY
    java.lang.ClassCastException: com.google.gson.JsonPrimitive cannot be cast to com.google.gson.JsonObject
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [TechMod] PneumaticCraft - Minecraft Mods - Mapping and Modding - Minecraft Forum - Minecraft Forum

    minecraftforum.net | 11 months ago
    java.lang.ClassCastException: com.google.gson.JsonPrimitive cannot be cast to com.google.gson.JsonObject
  6. 0

    Crash on startup

    GitHub | 1 year ago | archmage94
    java.lang.ClassCastException: com.google.gson.JsonNull cannot be cast to com.google.gson.JsonObject

    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

      com.google.gson.JsonPrimitive cannot be cast to com.google.gson.JsonObject

      at pneumaticCraft.common.config.JsonConfig.readFromFile()
    2. pneumaticCraft.common.config
      Config.postInit
      1. pneumaticCraft.common.config.JsonConfig.readFromFile(JsonConfig.java:63)
      2. pneumaticCraft.common.config.JsonConfig.postInit(JsonConfig.java:40)
      3. pneumaticCraft.common.config.Config.postInit(Config.java:226)
      3 frames
    3. pneumaticCraft
      PneumaticCraft.postInit
      1. pneumaticCraft.PneumaticCraft.postInit(PneumaticCraft.java:164)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames
    5. MC Forge
      FMLModContainer.handleModStateEvent
      1. cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:483)
      3 frames
    7. Guava
      EventBus.post
      1. com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
      2. com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
      3. com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
      4. com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
      5. com.google.common.eventbus.EventBus.post(EventBus.java:275)
      5 frames
    8. MC Forge
      LoadController.propogateStateMessage
      1. cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
      2. cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
      2 frames
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames
    10. Guava
      EventBus.post
      1. com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
      2. com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
      3. com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
      4. com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
      5. com.google.common.eventbus.EventBus.post(EventBus.java:275)
      5 frames
    11. MC Forge
      FMLClientHandler.finishMinecraftLoading
      1. cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
      2. cpw.mods.fml.common.Loader.initializeMods(Loader.java:742)
      3. cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:311)
      3 frames
    12. MC Client
      Main.main
      1. net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:552)
      2. net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:878)
      3. net.minecraft.client.main.Main.main(SourceFile:148)
      3 frames
    13. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames
    14. Minecraft
      Launch.main
      1. net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
      2. net.minecraft.launchwrapper.Launch.main(Launch.java:28)
      2 frames