Surge

Surge

23M Downloads

Weird NBT in obf environment

Darkhax opened this issue ยท 0 comments

commented

Too early in the morning for me to work this one out. Full log is here.

Notes

  • net/minecraft/nbt/NBTBase does exist in the obfuscated environment
  • The issue takes place when FeatureHidePlayer is constructed
  • FeatureHidePlayer does not edit or import NBTBase but it does import classes that extend it.
 java.lang.NoClassDefFoundError: net/minecraft/nbt/NBTBase
    at net.epoxide.surge.features.FeatureManager.initFeatures(FeatureManager.java:37)
    at net.epoxide.surge.asm.SurgeLoadingPlugin.<init>(SurgeLoadingPlugin.java:25)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at net.minecraftforge.fml.relauncher.CoreModManager.loadCoreMod(CoreModManager.java:593)
    at net.minecraftforge.fml.relauncher.CoreModManager.discoverCoreMods(CoreModManager.java:423)
    at net.minecraftforge.fml.relauncher.CoreModManager.handleLaunch(CoreModManager.java:253)
    at net.minecraftforge.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:102)
    at net.minecraftforge.fml.relauncher.FMLLaunchHandler.setupClient(FMLLaunchHandler.java:79)
    at net.minecraftforge.fml.relauncher.FMLLaunchHandler.configureForClientLaunch(FMLLaunchHandler.java:41)
    at net.minecraftforge.fml.common.launcher.FMLTweaker.injectIntoClassLoader(FMLTweaker.java:138)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:115)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
 Caused by: java.lang.ClassNotFoundException: net.minecraft.nbt.NBTBase
    at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 16 more
 Caused by: java.lang.NullPointerException
    at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182)
    ... 18 more