GenerationsMod / Generations-Core

We're the largest Cobblemon sidemod that brings familiar Pixelmon Generations features and HD models to Cobblemon
https://www.curseforge.com/minecraft/mc-mods/generations
Other
4 stars 6 forks source link

Forge 1.20.1 Crash #28

Closed LaurentCoolen closed 3 months ago

LaurentCoolen commented 9 months ago

Capture d'écran 2024-02-20 164816 Hello, I launch the game and it gives me this message

GuikiPT commented 9 months ago

Maybe sending an .log file will help to discover the problem than an image where the error is not explicit.

LaurentCoolen commented 9 months ago

latest.log

JT122406 commented 9 months ago

noobanidus/mods/lootr/config/ConfigManager

LaurentCoolen commented 9 months ago

I don't have any Lootr mods

JT122406 commented 9 months ago

Well it's not Gens

JT122406 commented 9 months ago

Based on the log

LaurentCoolen commented 9 months ago

It's what?

JT122406 commented 9 months ago

Try removing Gens and rerunning see if it still crash

JT122406 commented 9 months ago

wait a second

JT122406 commented 9 months ago

found the issue it is us @Waterpicker Failed to scan recipe generations_core:rks/artcovish. This should be reported to generations_core! java.lang.RuntimeException: java.lang.NullPointerException: Parameter specified as non-null is null: method com.cobblemon.mod.common.item.PokemonItem$Companion.from, parameter species

GuikiPT commented 9 months ago

Also just for test, try to remove the xaero's map:

received server config settings
[16:57:08] [Render thread/INFO]: Received config from the server: 
[16:57:08] [Render thread/INFO]: Reloading entity icon resources...
[16:57:08] [Render thread/INFO]: Done!
[16:57:09] [Render thread/INFO]: Finalizing world map session...
[16:57:09] [Thread-7/ERROR]: Region failed to load: (2147483647) 0_0 L0 xaero.map.region.MapRegion@93815cd
java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 129
    at it.unimi.dsi.fastutil.longs.Long2LongOpenHashMap.rehash(Long2LongOpenHashMap.java:1366) ~[fastutil-8.5.9.jar%23129!/:?]
    at it.unimi.dsi.fastutil.longs.Long2LongOpenHashMap.insert(Long2LongOpenHashMap.java:245) ~[fastutil-8.5.9.jar%23129!/:?]
    at it.unimi.dsi.fastutil.longs.Long2LongOpenHashMap.put(Long2LongOpenHashMap.java:253) ~[fastutil-8.5.9.jar%23129!/:?]
    at net.minecraft.server.level.ChunkMap.m_198874_(ChunkMap.java:799) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?]
    at it.unimi.dsi.fastutil.longs.Long2ObjectLinkedOpenHashMap$1.forEach(Long2ObjectLinkedOpenHashMap.java:1709) ~[fastutil-8.5.9.jar%23129!/:?]
    at net.minecraft.server.level.ChunkMap.m_140318_(ChunkMap.java:443) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?]
    at net.minecraft.server.level.ServerChunkCache.m_8419_(ServerChunkCache.java:297) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?]
    at xaero.map.file.worldsave.WorldDataReader.lambda$buildRegion$1(WorldDataReader.java:149) ~[XaerosWorldMap_1.37.7_Forge_1.20.jar%23204!/:1.37.7]
    at net.minecraft.util.thread.BlockableEventLoop.m_18707_(BlockableEventLoop.java:78) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?]
    at xaero.map.file.worldsave.WorldDataReader.buildRegion(WorldDataReader.java:149) ~[XaerosWorldMap_1.37.7_Forge_1.20.jar%23204!/:1.37.7]
    at xaero.map.file.worldsave.WorldDataHandler.buildRegion(WorldDataHandler.java:74) ~[XaerosWorldMap_1.37.7_Forge_1.20.jar%23204!/:1.37.7]
    at xaero.map.file.MapSaveLoad.loadRegion(MapSaveLoad.java:759) [XaerosWorldMap_1.37.7_Forge_1.20.jar%23204!/:1.37.7]
    at xaero.map.file.MapSaveLoad.run(MapSaveLoad.java:1006) [XaerosWorldMap_1.37.7_Forge_1.20.jar%23204!/:1.37.7]
    at xaero.map.MapProcessor.run(MapProcessor.java:349) [XaerosWorldMap_1.37.7_Forge_1.20.jar%23204!/:1.37.7]
    at xaero.map.MapRunner.run(MapRunner.java:18) [XaerosWorldMap_1.37.7_Forge_1.20.jar%23204!/:1.37.7]
    at java.lang.Thread.run(Unknown Source) [?:?]
[16:57:09] [Thread-7/INFO]: World map cleaned normally!
[16:57:09] [Render thread/INFO]: World map session finalized.
[16:57:09] [Render thread/INFO]: Minimap session finalized.
[16:57:09] [Render thread/INFO]: JEI StartEventObserver received class net.minecraftforge.client.event.ClientPlayerNetworkEvent$LoggingOut
[16:57:09] [Render thread/INFO]: JEI StartEventObserver transitioning state from ENABLED to DISABLED
[16:57:19] [Render thread/INFO]: Shutting down map thread
JT122406 commented 9 months ago

Also just for test, try to remove the xaero's map:

received server config settings
[16:57:08] [Render thread/INFO]: Received config from the server: 
[16:57:08] [Render thread/INFO]: Reloading entity icon resources...
[16:57:08] [Render thread/INFO]: Done!
[16:57:09] [Render thread/INFO]: Finalizing world map session...
[16:57:09] [Thread-7/ERROR]: Region failed to load: (2147483647) 0_0 L0 xaero.map.region.MapRegion@93815cd
java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 129
  at it.unimi.dsi.fastutil.longs.Long2LongOpenHashMap.rehash(Long2LongOpenHashMap.java:1366) ~[fastutil-8.5.9.jar%23129!/:?]
  at it.unimi.dsi.fastutil.longs.Long2LongOpenHashMap.insert(Long2LongOpenHashMap.java:245) ~[fastutil-8.5.9.jar%23129!/:?]
  at it.unimi.dsi.fastutil.longs.Long2LongOpenHashMap.put(Long2LongOpenHashMap.java:253) ~[fastutil-8.5.9.jar%23129!/:?]
  at net.minecraft.server.level.ChunkMap.m_198874_(ChunkMap.java:799) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?]
  at it.unimi.dsi.fastutil.longs.Long2ObjectLinkedOpenHashMap$1.forEach(Long2ObjectLinkedOpenHashMap.java:1709) ~[fastutil-8.5.9.jar%23129!/:?]
  at net.minecraft.server.level.ChunkMap.m_140318_(ChunkMap.java:443) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?]
  at net.minecraft.server.level.ServerChunkCache.m_8419_(ServerChunkCache.java:297) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?]
  at xaero.map.file.worldsave.WorldDataReader.lambda$buildRegion$1(WorldDataReader.java:149) ~[XaerosWorldMap_1.37.7_Forge_1.20.jar%23204!/:1.37.7]
  at net.minecraft.util.thread.BlockableEventLoop.m_18707_(BlockableEventLoop.java:78) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?]
  at xaero.map.file.worldsave.WorldDataReader.buildRegion(WorldDataReader.java:149) ~[XaerosWorldMap_1.37.7_Forge_1.20.jar%23204!/:1.37.7]
  at xaero.map.file.worldsave.WorldDataHandler.buildRegion(WorldDataHandler.java:74) ~[XaerosWorldMap_1.37.7_Forge_1.20.jar%23204!/:1.37.7]
  at xaero.map.file.MapSaveLoad.loadRegion(MapSaveLoad.java:759) [XaerosWorldMap_1.37.7_Forge_1.20.jar%23204!/:1.37.7]
  at xaero.map.file.MapSaveLoad.run(MapSaveLoad.java:1006) [XaerosWorldMap_1.37.7_Forge_1.20.jar%23204!/:1.37.7]
  at xaero.map.MapProcessor.run(MapProcessor.java:349) [XaerosWorldMap_1.37.7_Forge_1.20.jar%23204!/:1.37.7]
  at xaero.map.MapRunner.run(MapRunner.java:18) [XaerosWorldMap_1.37.7_Forge_1.20.jar%23204!/:1.37.7]
  at java.lang.Thread.run(Unknown Source) [?:?]
[16:57:09] [Thread-7/INFO]: World map cleaned normally!
[16:57:09] [Render thread/INFO]: World map session finalized.
[16:57:09] [Render thread/INFO]: Minimap session finalized.
[16:57:09] [Render thread/INFO]: JEI StartEventObserver received class net.minecraftforge.client.event.ClientPlayerNetworkEvent$LoggingOut
[16:57:09] [Render thread/INFO]: JEI StartEventObserver transitioning state from ENABLED to DISABLED
[16:57:19] [Render thread/INFO]: Shutting down map thread

Well that is just xero data freaking out because it's missing

LaurentCoolen commented 9 months ago

so he launches without Gen's

LaurentCoolen commented 9 months ago

I try without the map

GuikiPT commented 9 months ago

You created the world from scratch in these new beta version, or you are using some other world that you created in previous versions?

LaurentCoolen commented 9 months ago

New world

LaurentCoolen commented 9 months ago

Without the map it works

GuikiPT commented 9 months ago

With generations?

LaurentCoolen commented 9 months ago

the same

GuikiPT commented 9 months ago

But you are using the generations without the xaero's minimap and is working?

LaurentCoolen commented 9 months ago

yes

GuikiPT commented 9 months ago

If it is working now without xaero's probally is an xaero's map fault

GuikiPT commented 9 months ago

like, for my is working with no problem.

image image

If you want the versions that im currently using: image

GuikiPT commented 9 months ago

I would say try to delete the xaero's minimap cache and configs and try again with the latest versions of it. But if the generations is working without it, meanwhile I tested here now and is working with xaero's so I don't know what I have to say, maybe delete the cache and xaero's settings, because that is no longer a generations problem I think.

JT122406 commented 3 months ago

Going to close as I assume it has been resolved by current versions if not please open new issue