Support request: Problem adding RP2 Microblocks to Recycler blacklist

  • I'm trying to block RP2 microblocks (ID 136 on my config) from being recycled in an IC2 recycler.

    Adding 136 to the recyclerBlacklist option in the IC2 config results in the following crash during FML initialisation:

    Display Spoiler


    2012-06-02 00:51:46 [SEVERE] java.lang.NullPointerException
    2012-06-02 00:51:46 [SEVERE] at net.minecraft.server.ItemStack.setData(ItemStack.java:153)
    2012-06-02 00:51:46 [SEVERE] at net.minecraft.server.ItemStack.<init>(ItemStack.java:39)
    2012-06-02 00:51:46 [SEVERE] at ic2.common.TileEntityRecycler.setRecyclerBlacklistFromString(TileEntityRecycler.java:199)
    2012-06-02 00:51:46 [SEVERE] at ic2.common.TileEntityRecycler.init(TileEntityRecycler.java:26)
    2012-06-02 00:51:46 [SEVERE] at net.minecraft.server.mod_IC2.load(mod_IC2.java:566)
    2012-06-02 00:51:46 [SEVERE] at cpw.mods.fml.server.ModLoaderModContainer.init(ModLoaderModContainer.java:271)
    2012-06-02 00:51:46 [SEVERE] at cpw.mods.fml.common.Loader.modInit(Loader.java:220)
    2012-06-02 00:51:46 [SEVERE] at cpw.mods.fml.common.Loader.initializeMods(Loader.java:539)
    2012-06-02 00:51:46 [SEVERE] at cpw.mods.fml.server.FMLBukkitHandler.onLoadComplete(FMLBukkitHandler.java:121)
    2012-06-02 00:51:46 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:159)
    2012-06-02 00:51:46 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426)
    2012-06-02 00:51:46 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    2012-06-02 00:51:46 [SEVERE] Unexpected exception
    java.lang.NullPointerException
    at net.minecraft.server.ItemStack.setData(ItemStack.java:153)
    at net.minecraft.server.ItemStack.<init>(ItemStack.java:39)
    at ic2.common.TileEntityRecycler.setRecyclerBlacklistFromString(TileEntityRecycler.java:199)
    at ic2.common.TileEntityRecycler.init(TileEntityRecycler.java:26)
    at net.minecraft.server.mod_IC2.load(mod_IC2.java:566)
    at cpw.mods.fml.server.ModLoaderModContainer.init(ModLoaderModContainer.java:271)
    at cpw.mods.fml.common.Loader.modInit(Loader.java:220)
    at cpw.mods.fml.common.Loader.initializeMods(Loader.java:539)
    at cpw.mods.fml.server.FMLBukkitHandler.onLoadComplete(FMLBukkitHandler.java:121)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:159)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

    I wondered if this might be happening because RP2 hasn't loaded yet. So I tried to add a_ and z_ prefixes to the mod filenames, to make RP2 load first.

    However FML decides to impose some other arbitrary order on the initialisation, and I can't resolve this issue.

    Has anyone else had successing in adding microblocks to the recyclerBlacklist config option?

  • And when I go over there, they will probably tell me it's a vanilla issue and to bring it here.

    Could someone at least confirm that this issue does not arise in vanilla SMP, so I know that it definitely is a port issue?