NEI causes Internal Server Shutdown

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Maldroth

New Member
Jul 29, 2019
169
0
0
Hello, I'm hoping to get some help with this issue I am having with NEI

I'm trying to get it to run on a new 1.6.4 instance and have a number of other mods installed. When I log into a world or create a world I get a "Shutting Down Internal Server" error.

At first I thought it was a RAM issue however even increasing it doesn't help. Then I found this in the Stack trace:

Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -2

If I remove NEI the world loads fine. If I load only NEI and no other mods then I can create a world as well.

I have done searches and haven't found anything helpful so far.

Anyone have any ideas?
---- Minecraft Crash Report ----
// Oops.

Time: 11/13/13 5:45 PM
Description: Unexpected error

java.lang.ExceptionInInitializerError
at codechicken.nei.api.API.addSetRange(API.java:207)
at codechicken.nei.api.ItemInfo.addDefaultDropDowns(ItemInfo.java:328)
at codechicken.nei.api.ItemInfo.load(ItemInfo.java:101)
at codechicken.nei.NEIClientConfig.bootNEI(NEIClientConfig.java:280)
at codechicken.nei.NEIClientConfig.loadWorld(NEIClientConfig.java:228)
at codechicken.nei.NEICPH.handleSMPCheck(NEICPH.java:127)
at codechicken.nei.NEICPH.handlePacket(NEICPH.java:29)
at codechicken.lib.packet.PacketCustom$ClientPacketHandler.handle(PacketCustom.java:166)
at codechicken.lib.packet.PacketCustom$CustomPacketHandler.onPacketData(PacketCustom.java:136)
at cpw.mods.fml.common.network.NetworkRegistry.handlePacket(NetworkRegistry.java:255)
at cpw.mods.fml.common.network.NetworkRegistry.handleCustomPacket(NetworkRegistry.java:245)
at cpw.mods.fml.common.network.FMLNetworkHandler.handlePacket250Packet(FMLNetworkHandler.java:84)
at net.minecraft.client.multiplayer.NetClientHandler.func_72501_a(NetClientHandler.java:1647)
at net.minecraft.network.packet.Packet250CustomPayload.func_73279_a(SourceFile:61)
at net.minecraft.network.MemoryConnection.func_74428_b(MemoryConnection.java:89)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1967)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:910)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:838)
at net.minecraft.client.main.Main.main(SourceFile:101)
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 net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -2
at java.lang.String.substring(Unknown Source)
at codechicken.nei.ItemRange.(ItemRange.java:70)
at codechicken.nei.MultiItemRange.(MultiItemRange.java:58)
at codechicken.nei.SubSetRangeTag.setValue(SubSetRangeTag.java:71)
at codechicken.lib.config.ConfigTagParent.loadChildren(ConfigTagParent.java:197)
at codechicken.lib.config.ConfigFile.loadConfig(ConfigFile.java:55)
at codechicken.lib.config.ConfigFile.(ConfigFile.java:27)
at codechicken.nei.DropDownFile.(DropDownFile.java:27)
at codechicken.nei.DropDownFile.(DropDownFile.java:495)
... 25 more


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Stacktrace:
at codechicken.nei.api.API.addSetRange(API.java:207)
at codechicken.nei.api.ItemInfo.addDefaultDropDowns(ItemInfo.java:328)
at codechicken.nei.api.ItemInfo.load(ItemInfo.java:101)
at codechicken.nei.NEIClientConfig.bootNEI(NEIClientConfig.java:280)
at codechicken.nei.NEIClientConfig.loadWorld(NEIClientConfig.java:228)
at codechicken.nei.NEICPH.handleSMPCheck(NEICPH.java:127)
at codechicken.nei.NEICPH.handlePacket(NEICPH.java:29)
at codechicken.lib.packet.PacketCustom$ClientPacketHandler.handle(PacketCustom.java:166)
at codechicken.lib.packet.PacketCustom$CustomPacketHandler.onPacketData(PacketCustom.java:136)
at cpw.mods.fml.common.network.NetworkRegistry.handlePacket(NetworkRegistry.java:255)
at cpw.mods.fml.common.network.NetworkRegistry.handleCustomPacket(NetworkRegistry.java:245)
at cpw.mods.fml.common.network.FMLNetworkHandler.handlePacket250Packet(FMLNetworkHandler.java:84)
at net.minecraft.client.multiplayer.NetClientHandler.func_72501_a(NetClientHandler.java:1647)
at net.minecraft.network.packet.Packet250CustomPayload.func_73279_a(SourceFile:61)
at net.minecraft.network.MemoryConnection.func_74428_b(MemoryConnection.java:89)

-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityClientPlayerMP['Maldroth'/329, l='MpServer', x=229.50, y=71.62, z=-52.50]]
Chunk stats: MultiplayerChunkCache: 0
Level seed: 0
Level generator: ID 09 - ATG, ver 0. Features enabled: false
Level generator options:
Level spawn location: World: (224,64,-45), Chunk: (at 0,4,3 in 14,-3; contains blocks 224,0,-48 to 239,255,-33), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
Level time: 4 game time, 4 day time
Level dimension: 0
Level storage version: 0x00000 - Unknown?
Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Forced entities: 1 total; [EntityClientPlayerMP['Maldroth'/329, l='MpServer', x=229.50, y=71.62, z=-52.50]]
Retry entities: 0 total; []
Server brand: fml,forge
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:440)
at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2312)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:863)
at net.minecraft.client.main.Main.main(SourceFile:101)
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 net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
at net.minecraft.launchwrapper.Launch.main(Launch.java:27)

-- System Details --
Details:
Minecraft Version: 1.6.4
Operating System: Windows 8 (amd64) version 6.2
Java Version: 1.7.0_25, Oracle Corporation
Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 1415432536 bytes (1349 MB) / 2077753344 bytes (1981 MB) up to 4225236992 bytes (4029 MB)
JVM Flags: 5 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx4G -Xms2G -XX:MaxPermSize=1G -Xincgc
AABB Pool Size: 10817 (605752 bytes; 0 MB) allocated, 10817 (605752 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 259710, allocated: 0, tallocated: 4096
FML: MCP v8.11 FML v6.4.40.945 Minecraft Forge 9.11.1.945 62 mods loaded, 62 mods active
mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
FML{6.4.40.945} [Forge Mod Loader] (minecraftforge-9.11.1.945.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forge{9.11.1.945} [Minecraft Forge] (minecraftforge-9.11.1.945.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
CodeChickenCore{0.9.0.6} [CodeChicken Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
NotEnoughItems{1.6.1.5} [Not Enough Items] (NotEnoughItems 1.6.1.5.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
TConstruct-Preloader{0.0.1} [Tinkers Corestruct] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
arsmagica2{1.0.2b} [Ars Magica 2] (AM2_1.0.2b.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
antiqueatlas{1.1} [Antique Atlas] (antiqueatlas-v1.1-mc1.6.4.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ATG{0.9.3} [Alternate Terrain Generation] (ATG-1.6.4-0.9.3.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
barrels{3.3} [The Barrels Mod] (Barrels 3.3-1.6.4.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BetterGrassAndLeavesMod{1.6.4.C} [Better Grass & Leaves Mod] (BetterGrassAndLeavesMod[v1.6.4.C].jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BiblioCraft{1.5.1} [BiblioCraft] (BiblioCraft[v1.5.1].zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Natura{2.1.12} [Natura] (Natura_1.6.X_2.1.12d2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BiomesOPlenty{1.1.3} [Biomes O' Plenty] (BiomesOPlenty-universal-1.6.4-1.1.3.227.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forestry{2.3.0.7} [Forestry for Minecraft] (forestry-A-2.3.0.7.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BinnieCore{1.8-dev2} [Binnie Core] (binnie-mods-1.8-dev2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ExtraBees{1.8-dev2} [Extra Bees] (binnie-mods-1.8-dev2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ExtraTrees{1.8-dev2} [Extra Trees] (binnie-mods-1.8-dev2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Core{4.1.2} [BuildCraft] (buildcraft-A-1.6.2-4.1.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Builders{4.1.2} [BC Builders] (buildcraft-A-1.6.2-4.1.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Energy{4.1.2} [BC Energy] (buildcraft-A-1.6.2-4.1.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Factory{4.1.2} [BC Factory] (buildcraft-A-1.6.2-4.1.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Transport{4.1.2} [BC Transport] (buildcraft-A-1.6.2-4.1.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Silicon{4.1.2} [BC Silicon] (buildcraft-A-1.6.2-4.1.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ChickenChunks{1.3.3.3} [ChickenChunks] (ChickenChunks 1.3.3.3.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Chisel{1.4.11} [Chisel] (chisel-1.6.4-1.4.11.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
CraftHeraldry{1.0.3} [CraftHeraldry] (CraftHeraldry 1.0.3.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
CraftingSuite{0.1.8.2} [Crafting Suite] (CraftingSuite-v0.1.8.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
DragonAPI{release} [DragonAPI] (DragonAPI 1.6 v5.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
EnderStorage{1.4.3.5} [EnderStorage] (EnderStorage 1.4.3.5.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ExpandedRedstone{Gamma} [ExpandedRedstone] (ExpandedRedstone 1.6 v5.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ForgeMultipart{1.0.0.193} [Forge Multipart] (ForgeMultipart-universal-1.6.4-1.0.0.193.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
McMultipart{1.0.0.193} [Minecraft Multipart Plugin] (ForgeMultipart-universal-1.6.4-1.0.0.193.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
GeoStrata{Gamma} [GeoStrata] (GeoStrata 1.6 v5.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
GraveStone{2.4.1} [GraveStone] (GraveStone_2.4.1.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
IronChest{5.4.1.641} [Iron Chest] (ironchest-universal-1.6.4-5.4.1.641.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
TConstruct{1.6.X_1.5.1d} [Tinkers' Construct] (TConstruct_1.6.4_1.5.1d2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Thaumcraft{4.0.4c} [Thaumcraft] (Thaumcraft4.0.4c.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ThaumicTinkerer{2.0} [Thaumic Tinkerer] (ThaumicTinkerer 2.0-26.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MagicBees{2.1.7} [Magic Bees] (magicbees-2.1.7.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Mystcraft{0.10.10.00} [Mystcraft] (mystcraft-uni-1.6.4-0.10.10.00.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Natura|ForgeMuliPart{0.1} [Natura Compat: FMP] (Natura_1.6.X_2.1.12d2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Natura|CompatMineFactoryReloaded{0.1} [Natura Compat: MFR] (Natura_1.6.X_2.1.12d2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Natura|NotEnoughItems{0.1} [Natura Compat: NEI] (Natura_1.6.X_2.1.12d2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
NEIAddons{1.9.2.r44} [NEI Addons] (neiaddons-1.6.2-1.9.2.r44.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
NEIAddons|AE{1.9.2.r44} [NEI Addons: Applied Energistics] (neiaddons-1.6.2-1.9.2.r44.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
NEIAddons|CraftingTables{1.9.2.r44} [NEI Addons: Crafting Tables] (neiaddons-1.6.2-1.9.2.r44.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
NEIAddons|ExtraBees{1.9.2.r44} [NEI Addons: Extra Bees] (neiaddons-1.6.2-1.9.2.r44.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
NEIAddons|Forestry{1.9.2.r44} [NEI Addons: Forestry] (neiaddons-1.6.2-1.9.2.r44.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
NEIAddons|MiscPeripherals{1.9.2.r44} [NEI Addons: Misc Peripherals] (neiaddons-1.6.2-1.9.2.r44.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
NEIPlugins{1.1.0.4} [NEI Plugins] (NEIPlugins-1.1.0.4.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Railcraft{8.2.0.0} [Railcraft] (Railcraft_1.6.2-8.2.0.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
SS2{2 (build 2)} [Soul Shards 2] (SoulShards-2.0.13-universal-srg.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
TConstruct|ForgeMuliPart{0.1} [TConstruct Compat: FMP] (TConstruct_1.6.4_1.5.1d2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
TConstruct|CompatMineFactoryReloaded{0.2} [TConstruct Compat: MFR] (TConstruct_1.6.4_1.5.1d2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
TConstruct|NotEnoughItems{0.1} [TConstruct Compat: NEI] (TConstruct_1.6.4_1.5.1d2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
TConstruct|CompatWaila{0.0.1} [TConstruct Compat: Waila] (TConstruct_1.6.4_1.5.1d2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ToolBelt{1.6.4} [ToolBelts] (ToolBelts 1.6.4 v3.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
TorchLevers{1.3.2} [Torch Levers] (TorchLeversV1.3.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
TwilightForest{1.20.1} [The Twilight Forest] (twilightforest-1.20.1.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
witchery{0.9.1} [Witchery] (Witchery_0-9-1_164.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ForgeMicroblock{1.0.0.193} [Forge Microblocks] (ForgeMultipart-universal-1.6.4-1.0.0.193.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
TConstruct Environment: Sane and ready for action. Bugs may be reported.
Launched Version: 1.6.4-Forge9.11.1.945
LWJGL: 2.9.0
OpenGL: GeForce GTX 560/PCIe/SSE2 GL version 4.4.0, NVIDIA Corporation
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Pack: Default
Current Language: English (US)
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
 
Last edited by a moderator:

Ashzification

New Member
Jul 29, 2019
7,425
1
0
FTB Tech Support isn't the place to back asking about a modpack that you've made, since it's not an issue with FTB. Post on the MCF, or in Mod Discussion on these forums.
 

Maldroth

New Member
Jul 29, 2019
169
0
0
Thanks sorry I thought I had the right spot, figured Mod discussion was for general mod discussion. Thanks again for the help!
 

lavarthan

New Member
Jul 29, 2019
2,437
0
0
Since it is just this one world try this. Backup your saves and configs. Navigate to the saves folder and delete the NEI folder and NEI.dat file there. Now go into the individual save, probably New World, and delete the NEI folder and NEI.dat file there.
 

lavarthan

New Member
Jul 29, 2019
2,437
0
0
I miss-read your post then. Please try it anyway it would not hurt if you keep a backup.
 

Ashzification

New Member
Jul 29, 2019
7,425
1
0
Remove all chickenbones mods, and all mods that are dependent on them.
If the world loads, then start by re-adding codechickencore, if it loads, add one more, with the final mod you re-add being NEI.
At any point, when you crash, post the new crash log to pastebin.com and link it. Also tell us what chickenbones mods have been re-added.
 

Maldroth

New Member
Jul 29, 2019
169
0
0
Following Ashz's suggestion I have only ChickenCodeCore and NEI and the error is the same as above. If I remove just NEI but keep ChickenCodeCore, EnderStorage, and ChickenChunks.

So this issue seems squarely with NEI
 

Ashzification

New Member
Jul 29, 2019
7,425
1
0
Ok, now this will be a hassle.
Take out every mod except codechickencore and NEI. (You shouldn't be able to remove forge/FML)
Let me know if it crashes
 

Maldroth

New Member
Jul 29, 2019
169
0
0
Tried this before and when it was just ChickenBones stuff I can create a world fine. I've been trying to isolate which mod is causing issues NEI but not having any luck so far.
 

Ashzification

New Member
Jul 29, 2019
7,425
1
0
Start with the APIs and coremods, then all of the other mods, ending with addons to mods. Add them one at a time, until you crash.
Post that log here.
Then take that last mod that caused the crash, and try to make a world with just that mod and CB mods