java.lang.IllegalAccessException

Class cpw.mods.fml.common.modloader.ModLoaderModContainer can not access a member of class mod_GenTest with modifiers "static"


Solutions on the web806

Solution icon of web
via minecraftforge.net by Unknown author, 7 months ago
Class cpw.mods.fml.common.modloader.ModLoaderModContainer can not access a member of class mod_GenTest with modifiers "static"

Solution icon of bugzilla
via Eclipse Bugzilla by Paul_Hannan, 1 month ago
Class org.eclipse.ve.internal.java.vce.launcher.remotevm.JavaBeansLauncher can not access a member of class BasicSwingComponentsBundled with modifiers "public static"

Solution icon of stackoverflow
Class org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader can not access a member of class Parser with modifiers "public static"

Solution icon of stackoverflow
Class com.javafx.main.Main can not access a member of class com.facetoe.jreader.JReader with modifiers "public static"

Solution icon of stackoverflow
Class org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader can not access a member of class me.Puffinlump.ItemDivider.Minecraftitemsdivider with modifiers "public static"

Solution icon of stackoverflow
Class org.example.b.TestClass can not access a member of class org.example.a.PackagePrivateClass with modifiers "public static final"

Solution icon of stackoverflow
Class com.vmware.vim25.ws.XmlGen can not access a member of class java.lang.Object with modifiers "static transient"

Solution icon of web
Class org.apache.commons.discovery.log.DiscoveryLogFactory can not access a member of class org.apache.commons.discovery.jdk.JDK12Hooks with modifiers "public static"

Solution icon of youtrack
via YouTrack by Unknown author, 1 year ago
Class com.intellij.spring.impl.model.CustomBeanWrapperImpl can not access a member of class com.intellij.spring.model.xml.custom.CustomBeanParser with modifiers "private static"

Solution icon of stackoverflow
Class org.apache.tools.ant.taskdefs.ExecuteJava can not access a member of class A with modifiers "public static"

Stack trace

  • java.lang.IllegalAccessException: Class cpw.mods.fml.common.modloader.ModLoaderModContainer can not access a member of class mod_GenTest with modifiers "static" at sun.reflect.Reflection.ensureMemberAccess(Unknown Source) at java.lang.reflect.AccessibleObject.slowCheckMemberAccess(Unknown Source) at java.lang.reflect.AccessibleObject.checkAccess(Unknown Source) at java.lang.reflect.Field.doSecurityCheck(Unknown Source) at java.lang.reflect.Field.getFieldAccessor(Unknown Source) at java.lang.reflect.Field.get(Unknown Source) at cpw.mods.fml.common.modloader.ModLoaderModContainer.configureMod(ModLoaderModContainer.java:176) at cpw.mods.fml.common.modloader.ModLoaderModContainer.constructMod(ModLoaderModContainer.java:489) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300) at com.google.common.eventbus.EventBus.post(EventBus.java:268) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:140) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300) at com.google.common.eventbus.EventBus.post(EventBus.java:268) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:83) at cpw.mods.fml.common.Loader.loadMods(Loader.java:478) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:150) at net.minecraft.client.Minecraft.a(Minecraft.java:424) at net.minecraft.client.Minecraft.run(Minecraft.java:756) at java.lang.Thread.run(Unknown Source)

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

2 times, 2 months ago
2 times, 5 months ago
Once, 7 months ago
Once, 9 months ago
2 times, 3 months ago
35 more bugmates