Inventory-Tweaks / inventory-tweaks

Client mod for Minecraft
http://inventory-tweaks.readthedocs.org/
Other
267 stars 108 forks source link

Sorting error with Colosseum Chest mod #452

Open KusanagiRyu opened 7 years ago

KusanagiRyu commented 7 years ago

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

Kobata commented 7 years ago

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.

KusanagiRyu commented 7 years ago

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.

Kobata commented 7 years ago

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.

KusanagiRyu commented 7 years ago

the whole log?

Kobata commented 7 years ago

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.

KusanagiRyu commented 7 years ago

Ok, here's the whole log;

https://pastebin.com/UdDtsJYj

Kobata commented 7 years ago

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

KusanagiRyu commented 7 years ago

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

Kobata commented 7 years ago

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.

Kobata commented 7 years ago

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.

KusanagiRyu commented 7 years ago

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

Kobata commented 7 years ago
    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

KusanagiRyu commented 7 years ago

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

Kobata commented 7 years ago

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?

KusanagiRyu commented 7 years ago

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