java.lang.IllegalArgumentException: Can not set static cpw.mods.fml.common.Mod$Metadata field com.myfirstmod.MyFirstMod.MyFirstMod.meta to cpw.mods.fml.common.ModMetadata

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via techrocket.com by Unknown author, 1 year ago
Can not set static cpw.mods.fml.common.Mod$Metadata field com.myfirstmod.MyFirstMod.MyFirstMod.meta to cpw.mods.fml.common.ModMetadata
via Google Groups by Mario Lim, 3 months ago
Can not set com.google.gwt.core.client.JavaScriptObject field com.gwtext.client.core.JsObject.jsObj to com.gwtext.client.widgets.JsonView
via minecraftforge.net by Unknown author, 1 year ago
Can not set static oortcloud.hungryanimals.HungryAnimals field oortcloud.hungryanimals.HungryAnimals.instance to com.example.examplemod.ExampleMod
via Google Groups by Athena, 4 months ago
Can not set com.sun.jna.platform.win32.WinDef$SHORT field com.sun.jna.platform.win32.Variant$VARIANT$_VARIANT$__VARIANT.iVal to java.lang.Short
via Stack Overflow by Gaurav
, 2 years ago
Can not set com.sampleApp.api.CustomDataSourceImpl field com.sampleApp.api.ConnectorManagementBean.dataSource to org.jboss.jca.adapters.jdbc.WrapperDataSource
via hs-rm.de by Unknown author, 1 year ago
Can not set de.fhw.komponentenarchitekturen.knauf.stateless.GeometricModelLocal field org.apache.jsp.GeometricModelTest_jsp.geometricModelLocal to $Proxy245
java.lang.IllegalArgumentException: Can not set static cpw.mods.fml.common.Mod$Metadata field com.myfirstmod.MyFirstMod.MyFirstMod.meta to cpw.mods.fml.common.ModMetadata
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:164)
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:168)
at sun.reflect.UnsafeStaticObjectFieldAccessorImpl.set(UnsafeStaticObjectFieldAccessorImpl.java:79)
at java.lang.reflect.Field.set(Field.java:741)
at cpw.mods.fml.common.FMLModContainer.parseSimpleFieldAnnotation(FMLModContainer.java:407)
at cpw.mods.fml.common.FMLModContainer.processFieldAnnotations(FMLModContainer.java:346)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:492)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)
at net.minecraft.client.Minecraft.run(Minecraft.java:931)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at undefined.GradleStart.main(Unknown Source)

Users with the same issue

4 times, 1 year ago
5 times, 6 months ago
Once, 1 month ago
7 times, 10 months ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.