Pixelmon Mod - Bug tracker

1.16.5 pixelmon verson 9.0.4. Crash when choosing move in battle with wild pokemon. fix completed for upcoming version

Ticket description:
So I am aware there are 2 other threads with this same subject but neither of them have been solved so I figured why not try a third time? When I throw my pokemon out into battle I immediately get an error with not being able to set the cursor. When you hover over the menu on the left for bag, pokemon, run everything works fine. When you hover over a move, any move not just pound, Screech, Ember, etc,. It crashes the game. Here is the log I've gotten and if I remember to do so later I'll add the minidump logs too. I guess more information I can provide is this is only with 1.16.5 version with any 9.0.0 + version of pixelmon. If I were to use 1.12.2 everything works as intended. Yes I have reinstalled pixelmon and removed any modpacks that you all include in the mod now. No I don't have any resource packs other than the pixelmon mod. Yes I have reinstalled java at least 10 times in the last 4 days. I even looked at setting the folders to allow all permission/full control. I've even transferred the files from a working pc of this mod to this pc and still get the crash. Also as note after this crash happens the native folder loses 3 files and I think there were overall about 20mb of files deleted from this crash. I don't know what the difference between the two pcs are other than gpu. One runs a gtx1650 the one with the problems runs a gtx950. Any help would be great as I'd love to be able to play this game with my wife again.

03/07/2022 09:30:49 AM] [main/INFO] [CHAT] You sent out Treecko!
[03/07/2022 09:30:57 AM] [main/ERROR] Failure in setting cursor!
[03/07/2022 09:30:57 AM] [main/INFO] [com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper:lambda$static$3:90]: java.io.FileNotFoundException: textures/gui/battle/pointer.png
[03/07/2022 09:30:57 AM] [main/INFO] [com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper:lambda$static$3:90]: at net.minecraft.resources.VanillaPack.func_195761_a(VanillaPack.java:120)
[03/07/2022 09:30:57 AM] [main/INFO] [com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper:lambda$static$3:90]: at com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper.lambda$static$3(CursorHelper.java:73)
[03/07/2022 09:30:57 AM] [main/INFO] [com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper:lambda$static$3:90]: at com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper$$Lambda$3222/1853576996.get(Unknown Source)
[03/07/2022 09:30:57 AM] [main/INFO] [com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper:lambda$static$3:90]: at com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper.setCursor(CursorHelper.java:97)
[03/07/2022 09:30:57 AM] [main/INFO] [com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper:lambda$static$3:90]: at com.pixelmonmod.pixelmon.client.gui.ScreenHelper.drawBattleCursor(ScreenHelper.java:1656)
[03/07/2022 09:30:57 AM] [main/INFO] [com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper:lambda$static$3:90]: at com.pixelmonmod.pixelmon.client.gui.battles.battleScreens.ChooseAttack.render(ChooseAttack.java:141)
[03/07/2022 09:30:57 AM] [main/INFO] [com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper:lambda$static$3:90]: at com.pixelmonmod.pixelmon.client.gui.battles.BattleScreen.func_230430_a_(BattleScreen.java:436)
[03/07/2022 09:30:57 AM] [main/INFO] [com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper:lambda$static$3:90]: at net.minecraftforge.client.ForgeHooksClient.drawScreenInternal(ForgeHooksClient.java:377)
[03/07/2022 09:30:57 AM] [main/INFO] [com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper:lambda$static$3:90]: at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:370)
[03/07/2022 09:30:57 AM] [main/INFO] [com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper:lambda$static$3:90]: at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
[03/07/2022 09:30:57 AM] [main/INFO] [com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper:lambda$static$3:90]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[03/07/2022 09:30:57 AM] [main/INFO] [com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper:lambda$static$3:90]: at java.lang.reflect.Method.invoke(Method.java:497)
[03/07/2022 09:30:57 AM] [main/INFO] [com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper:lambda$static$3:90]: at net.optifine.reflect.Reflector.callVoid(Reflector.java:789)
[03/07/2022 09:30:57 AM] [main/INFO] [com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper:lambda$static$3:90]: at net.minecraft.client.renderer.GameRenderer.func_195458_a(GameRenderer.java:821)
[03/07/2022 09:30:57 AM] [main/INFO] [com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper:lambda$static$3:90]: at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:977)
[03/07/2022 09:30:57 AM] [main/INFO] [com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper:lambda$static$3:90]: at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:607)
[03/07/2022 09:30:57 AM] [main/INFO] [com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper:lambda$static$3:90]: at net.minecraft.client.main.Main.main(Main.java:184)
[03/07/2022 09:30:57 AM] [main/INFO] [com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper:lambda$static$3:90]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[03/07/2022 09:30:57 AM] [main/INFO] [com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper:lambda$static$3:90]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[03/07/2022 09:30:57 AM] [main/INFO] [com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper:lambda$static$3:90]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[03/07/2022 09:30:57 AM] [main/INFO] [com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper:lambda$static$3:90]: at java.lang.reflect.Method.invoke(Method.java:497)
[03/07/2022 09:30:57 AM] [main/INFO] [com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper:lambda$static$3:90]: at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51)
[03/07/2022 09:30:57 AM] [main/INFO] [com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper:lambda$static$3:90]: at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$459/1727420902.call(Unknown Source)
[03/07/2022 09:30:57 AM] [main/INFO] [com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper:lambda$static$3:90]: at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
[03/07/2022 09:30:57 AM] [main/INFO] [com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper:lambda$static$3:90]: at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54)
[03/07/2022 09:30:57 AM] [main/INFO] [com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper:lambda$static$3:90]: at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72)
[03/07/2022 09:30:57 AM] [main/INFO] [com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper:lambda$static$3:90]: at cpw.mods.modlauncher.Launcher.run(Launcher.java:82)
[03/07/2022 09:30:57 AM] [main/INFO] [com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper:lambda$static$3:90]: at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)
[03/07/2022 09:30:57 AM] #
[03/07/2022 09:30:57 AM] # A fatal error has been detected by the Java Runtime Environment:
[03/07/2022 09:30:57 AM] #
[03/07/2022 09:30:57 AM] # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ff83686b874, pid=20580, tid=5080
[03/07/2022 09:30:57 AM] #
[03/07/2022 09:30:57 AM] # JRE version: Java(TM) SE Runtime Environment (8.0_51-b16) (build 1.8.0_51-b16)
[03/07/2022 09:30:57 AM] # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.51-b03 mixed mode windows-amd64 compressed oops)
[03/07/2022 09:30:57 AM] # Problematic frame:
[03/07/2022 09:30:57 AM] # C [glfw.dll+0xb874]
[03/07/2022 09:30:57 AM] #
[03/07/2022 09:30:57 AM] # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
[03/07/2022 09:30:57 AM] #
[03/07/2022 09:30:57 AM] # An error report file with more information is saved as:
[03/07/2022 09:30:57 AM] # **USERSDIR**\instances\PixelmonMod\hs_err_pid20580.log
[03/07/2022 09:30:57 AM] Compiled method (c1) 129088 34854 ! 3 com.pixelmonmod.pixelmon.client.gui.battles.battleScreens.ChooseAttack::render (782 bytes)
[03/07/2022 09:30:57 AM] total in heap [0x0000000004c02b10,0x0000000004c12578] = 64104
[03/07/2022 09:30:57 AM] relocation [0x0000000004c02c30,0x0000000004c035d8] = 2472
[03/07/2022 09:30:57 AM] constants [0x0000000004c035e0,0x0000000004c03600] = 32
[03/07/2022 09:30:57 AM] main code [0x0000000004c03600,0x0000000004c0b540] = 32576
[03/07/2022 09:30:57 AM] stub code [0x0000000004c0b540,0x0000000004c0b908] = 968
[03/07/2022 09:30:57 AM] oops [0x0000000004c0b908,0x0000000004c0ba10] = 264
[03/07/2022 09:30:57 AM] metadata [0x0000000004c0ba10,0x0000000004c0bc48] = 568
[03/07/2022 09:30:57 AM] scopes data [0x0000000004c0bc48,0x0000000004c11050] = 21512
[03/07/2022 09:30:57 AM] scopes pcs [0x0000000004c11050,0x0000000004c12060] = 4112
[03/07/2022 09:30:57 AM] dependencies [0x0000000004c12060,0x0000000004c12080] = 32
[03/07/2022 09:30:57 AM] handler table [0x0000000004c12080,0x0000000004c12408] = 904
[03/07/2022 09:30:57 AM] nul chk table [0x0000000004c12408,0x0000000004c12578] = 368
[03/07/2022 09:30:57 AM] #
[03/07/2022 09:30:57 AM] # If you would like to submit a bug report, please visit:
[03/07/2022 09:30:57 AM] # http://bugreport.java.com/bugreport/crash.jsp
[03/07/2022 09:30:57 AM] # The crash happened outside the Java Virtual Machine in native code.
[03/07/2022 09:30:57 AM] # See problematic frame for where to report the bug.
[03/07/2022 09:30:57 AM] #
[03/07/2022 09:30:57 AM] AL lib: (EE) alc_cleanup: 1 device not closed
[03/07/2022 09:30:57 AM] Oh no. Minecraft crashed. Please check the logs for any errors and provide these logs when asking for support.
[03/07/2022 09:30:57 AM] Checking for modifications to the pack since installation.
[03/07/2022 09:30:57 AM] Checking for updated files!
[03/07/2022 09:30:57 AM] Error trying to delete the directory **USERSDIR**\temp\natives-693bb1a51a784a83a7e3a652ed9a5a48
[03/07/2022 09:30:57 AM] java.nio.file.AccessDeniedException: **USERSDIR**\temp\natives-693bb1a51a784a83a7e3a652ed9a5a48\SAPIWrapper_x64.dll
[03/07/2022 09:30:57 AM] at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
[03/07/2022 09:30:57 AM] at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
[03/07/2022 09:30:57 AM] at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
[03/07/2022 09:30:57 AM] at java.base/sun.nio.fs.WindowsFileSystemProvider.implDelete(Unknown Source)
[03/07/2022 09:30:57 AM] at java.base/sun.nio.fs.AbstractFileSystemProvider.delete(Unknown Source)
[03/07/2022 09:30:57 AM] at java.base/java.nio.file.Files.delete(Unknown Source)
[03/07/2022 09:30:57 AM] at com.atlauncher.utils.walker.DeleteDirVisitor.visitFile(DeleteDirVisitor.java:30)
[03/07/2022 09:30:57 AM] at com.atlauncher.utils.walker.DeleteDirVisitor.visitFile(DeleteDirVisitor.java:27)
[03/07/2022 09:30:57 AM] at java.base/java.nio.file.Files.walkFileTree(Unknown Source)
[03/07/2022 09:30:57 AM] at java.base/java.nio.file.Files.walkFileTree(Unknown Source)
[03/07/2022 09:30:57 AM] at com.atlauncher.utils.FileUtils.deleteDirectory(FileUtils.java:91)
[03/07/2022 09:30:57 AM] at com.atlauncher.data.Instance.lambda$launch$19(Instance.java:1135)
[03/07/2022 09:30:57 AM] at java.base/java.lang.Thread.run(Unknown Source)
[03/07/2022 09:30:57 AM] java.nio.file.AccessDeniedException: **USERSDIR**\temp\natives-693bb1a51a784a83a7e3a652ed9a5a48\SAPIWrapper_x64.dll
at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at java.base/sun.nio.fs.WindowsFileSystemProvider.implDelete(Unknown Source)
at java.base/sun.nio.fs.AbstractFileSystemProvider.delete(Unknown Source)
at java.base/java.nio.file.Files.delete(Unknown Source)
at com.atlauncher.utils.walker.DeleteDirVisitor.visitFile(DeleteDirVisitor.java:30)
at com.atlauncher.utils.walker.DeleteDirVisitor.visitFile(DeleteDirVisitor.java:27)
at java.base/java.nio.file.Files.walkFileTree(Unknown Source)
at java.base/java.nio.file.Files.walkFileTree(Unknown Source)
at com.atlauncher.utils.FileUtils.deleteDirectory(FileUtils.java:91)
at com.atlauncher.data.Instance.lambda$launch$19(Instance.java:1135)
at java.base/java.lang.Thread.run(Unknown Source)

Comments

#27333 Posted by LordSamosa » 05 Aug 2022 18:49

Closing as a duplicate so we can keep all reports together. Master ticket: https://pixelmonmod.com/tracker.php?p=2&t=18662

Ticket details

  • Ticket ID: 18454
  • Project: Pixelmon Mod
  • Status: Fix completed for upcoming version
  • Component: Battle
  • Project version: 1.16.5-9.x.x
  • Priority: Normal
  • Severity: Normal
  • Forge/Sponge: (unknown)
  • What else would be useful to know?: (unknown)
  • Assigned to: LordSamosa
  • Reported by: Ulffgar (Send PM)
  • Reporter's tickets: (List all tickets)
  • Reported on: 03 Jul 2022 09:48
  • Ticket last visited by: Sophie847 on 17 Jan 2023 15:34
JOIN THE TEAM