Inventory Tweaks [1.12 only]

Inventory Tweaks [1.12 only]

127M Downloads

Sorting error with Colosseum Chest mod

KusanagiRyu opened this issue ยท 15 comments

commented

Minecraft Version: 1.10.2
Inventory Tweaks Version: 1.62

I'm having a issue with this mod with Colosseum Chest mod. Currently playing Forever Stranded modpack.
Whenever I use the sort button, it gives me this error message;

"InvTweaks: [ERROR] [6] Failed to trigger shortcut: Index : 9027, Size: 9027 (l653 in ArrayList..java)
InvTweaks: [ERROR] [6] Failed to sort container: Index : 9027, Size: 9027 (l653 in ArrayList..java)"

How to fix this pls. Thanks

commented

I'm not sure what mod you're referring to, but from the look of those numbers that chest is a bit excessively huge and probably won't work well to begin with.

I'd need the full crash log to say anything else, because that's a fairly generic error and doesn't really say where in the process it errored out.

commented

sorry, it's Colossal Chests mod, and the game don't crash, it just display error messages in the chat whenever i press sort button or use the shift-click shortcut to take out a stake of items.

commented

There is a much more detailed log in the log files though, since that error's direct cause is in a Java system file it's not very helpful to only see that part.

commented

the log of the whole modpack. which one you refer then? sorry, i'm, clueless

commented

I know there's historically been a few different log files, with different levels of detail, although I'm not 100% sure on what current versions do with them.

The post you posted definitely isn't getting the attempts to print the error info though.

commented

Just for more context on what I'm looking for: at the very end of what you posted you can see the chat messages. Right before each one there should be a longer section with a full stack trace, probably java.lang.IndexOutOfBoundsException based on the message.

commented

the whole log?

commented

It's usually easier for people to find what they're looking for with the whole thing (pastebin or something it, don't paste it directly into a comment)

People trying to cut the log down to what they think is the only part needed tends to end up cutting out other important things.

commented

Ok, here's the whole log;

https://pastebin.com/UdDtsJYj

commented

Which log file was that, it doesn't seem to have picked up the right things.

commented

After digging around the modpack folder and Curse Minecraft folder, found the launcher_log that has that java script line you looking for but, the problem now is that the file is too bug to paste in Pastebin. So i have to zip the file and put it up online for you; Launcher_log.txt

commented
	at org.cyclops.colossalchests.inventory.container.ContainerColossalChest.getContainerSelection(ContainerColossalChest.java:306)
	at org.cyclops.colossalchests.inventory.container.ContainerColossalChest.invtweaks$slotMap(ContainerColossalChest.java)

So they messed up their thing to try to list out which parts of the inventory are what things, go report it to Colossal Chests

commented

oh....! Ok, thank you very much Kobata. I will go there and give them a earful.

commented

Also I think I'm seeing an (unrelated) error in the code to delay messages until a world's loaded, that's making the messages keep appearing more than they should?

commented

must be the delay for the huge space in the chest to load?