Jump to content

[SOLVED][1.14.4]Clicking a button causes a crash


tadano

Recommended Posts

I'm not very good at English, so I'm using machine translation.

 

When I built the MOD and tried to see if it worked properly, I found that it crashed when I clicked the button to show the MOD info.

 

346871915_.png.3423a69413189d92a85cc892814681f3.png

 

 

Here is the crash report.

Spoiler

---- Minecraft Crash Report ----
// I let you down. Sorry :(

Time: 20/05/17 1:58
Description: mouseClicked event handler

java.lang.ArrayIndexOutOfBoundsException: 0
    at com.sun.nio.zipfs.ZipPath.getResolvedPath(ZipPath.java:428) ~[zipfs.jar:1.8.0_241] {}
    at com.sun.nio.zipfs.ZipPath.newInputStream(ZipPath.java:645) ~[zipfs.jar:1.8.0_241] {}
    at com.sun.nio.zipfs.ZipFileSystemProvider.newInputStream(ZipFileSystemProvider.java:278) ~[zipfs.jar:1.8.0_241] {}
    at java.nio.file.Files.newInputStream(Unknown Source) ~[?:1.8.0_241] {}
    at net.minecraftforge.fml.packs.ModFileResourcePack.func_195766_a(ModFileResourcePack.java:80) ~[?:?] {re:classloading}
    at net.minecraft.resources.ResourcePack.func_195763_b(SourceFile:53) ~[?:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraftforge.fml.client.gui.GuiModList.lambda$updateCache$12(GuiModList.java:421) ~[?:?] {re:classloading}
    at java.util.Optional.map(Unknown Source) ~[?:1.8.0_241] {}
    at net.minecraftforge.fml.client.gui.GuiModList.updateCache(GuiModList.java:412) ~[?:?] {re:classloading}
    at net.minecraftforge.fml.client.gui.GuiModList.setSelected(GuiModList.java:397) ~[?:?] {re:classloading}
    at net.minecraftforge.fml.client.gui.GuiSlotModList$ModEntry.mouseClicked(GuiSlotModList.java:105) ~[?:?] {re:classloading}
    at net.minecraft.client.gui.widget.list.AbstractList.mouseClicked(AbstractList.java:290) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.gui.INestedGuiEventHandler.mouseClicked(SourceFile:27) ~[?:?] {re:classloading}
    at net.minecraft.client.MouseHelper.lambda$mouseButtonCallback$0(MouseHelper.java:82) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.gui.screen.Screen.wrapScreenError(Screen.java:441) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.MouseHelper.func_198023_a(MouseHelper.java:80) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36) ~[lwjgl-glfw-3.2.2.jar:build 10] {}
    at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.2.2.jar:build 10] {}
    at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3101) ~[lwjgl-glfw-3.2.2.jar:build 10] {}
    at net.minecraft.client.MainWindow.func_216528_l(SourceFile:408) ~[?:?] {re:classloading}
    at net.minecraft.client.MainWindow.func_198086_a(SourceFile:279) ~[?:?] {re:classloading}
    at net.minecraft.client.Minecraft.func_213227_b(Minecraft.java:947) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:911) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:384) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(SourceFile:155) ~[1.14.4-forge-28.2.0.jar:?] {re:classloading}
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_241] {}
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_241] {}
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_241] {}
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_241] {}
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:56) ~[forge-1.14.4-28.2.0.jar:28.2] {}
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-4.1.0.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-4.1.0.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-4.1.0.jar:?] {}
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-4.1.0.jar:?] {}
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-4.1.0.jar:?] {}


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

-- Head --
Thread: Client thread
Stacktrace:
    at com.sun.nio.zipfs.ZipPath.getResolvedPath(ZipPath.java:428)
    at com.sun.nio.zipfs.ZipPath.newInputStream(ZipPath.java:645)
    at com.sun.nio.zipfs.ZipFileSystemProvider.newInputStream(ZipFileSystemProvider.java:278)
    at java.nio.file.Files.newInputStream(Unknown Source)
    at net.minecraftforge.fml.packs.ModFileResourcePack.func_195766_a(ModFileResourcePack.java:80)
    at net.minecraft.resources.ResourcePack.func_195763_b(SourceFile:53)
    at net.minecraftforge.fml.client.gui.GuiModList.lambda$updateCache$12(GuiModList.java:421)
    at java.util.Optional.map(Unknown Source)
    at net.minecraftforge.fml.client.gui.GuiModList.updateCache(GuiModList.java:412)
    at net.minecraftforge.fml.client.gui.GuiModList.setSelected(GuiModList.java:397)
    at net.minecraftforge.fml.client.gui.GuiSlotModList$ModEntry.mouseClicked(GuiSlotModList.java:105)
    at net.minecraft.client.gui.widget.list.AbstractList.mouseClicked(AbstractList.java:290)
    at net.minecraft.client.gui.INestedGuiEventHandler.mouseClicked(SourceFile:27)
    at net.minecraft.client.MouseHelper.lambda$mouseButtonCallback$0(MouseHelper.java:82)

-- Affected screen --
Details:
    Screen name: net.minecraftforge.fml.client.gui.GuiModList
Stacktrace:
    at net.minecraft.client.gui.screen.Screen.wrapScreenError(Screen.java:441)
    at net.minecraft.client.MouseHelper.func_198023_a(MouseHelper.java:80)
    at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36)
    at org.lwjgl.system.JNI.invokeV(Native Method)
    at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3101)
    at net.minecraft.client.MainWindow.func_216528_l(SourceFile:408)
    at net.minecraft.client.MainWindow.func_198086_a(SourceFile:279)
    at net.minecraft.client.Minecraft.func_213227_b(Minecraft.java:947)
    at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:911)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:384)
    at net.minecraft.client.main.Main.main(SourceFile:155)
    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.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:56)
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54)
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72)
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:81)
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)

-- System Details --
Details:
    Minecraft Version: 1.14.4
    Minecraft Version ID: 1.14.4
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_241, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 3122858664 bytes (2978 MB) / 4294967296 bytes (4096 MB) up to 4294967296 bytes (4096 MB)
    CPUs: 12
    JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx4G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
    ModLauncher: 4.1.0+62+5bfa59b
    ModLauncher launch target: fmlclient
    ModLauncher naming: srg
    ModLauncher services: 
        /eventbus-1.0.0-service.jar eventbus PLUGINSERVICE 
        /forge-1.14.4-28.2.0.jar object_holder_definalize PLUGINSERVICE 
        /forge-1.14.4-28.2.0.jar runtime_enum_extender PLUGINSERVICE 
        /accesstransformers-1.0.1-milestone.0.1+94458e7-shadowed.jar accesstransformer PLUGINSERVICE 
        /forge-1.14.4-28.2.0.jar capability_inject_definalize PLUGINSERVICE 
        /forge-1.14.4-28.2.0.jar runtimedistcleaner PLUGINSERVICE 
        /forge-1.14.4-28.2.0.jar fml TRANSFORMATIONSERVICE 
    FML: 28.2
    Forge: net.minecraftforge:28.2.0
    FML Language Providers: 
        javafml@28.2
        minecraft@1
    Mod List: 
        forge-1.14.4-28.2.0-client.jar Minecraft {minecraft@1.14.4 DONE}
        forge-1.14.4-28.2.0-universal.jar Forge {forge@28.2.0 DONE}
        japanese_food_mod-1.14.4-1.0.3.jar Japanese Food Mod {japanese_food_mod@1.0.3 DONE}
        jei-1.14.4-6.0.0.27.jar Just Enough Items {jei@6.0.0.27 DONE}
    Launched Version: 1.14.4-forge-28.2.0
    LWJGL: 3.2.2 build 10
    OpenGL: GeForce GTX 1060 6GB/PCIe/SSE2 GL version 4.6.0 NVIDIA 445.87, NVIDIA Corporation
    GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

    Using VBOs: Yes
    Is Modded: Definitely; Client brand changed to 'forge'
    Type: Client (map_client.txt)
    Resource Packs: 
    Current Language: English (US)
    CPU: 12x AMD Ryzen 5 3600 6-Core Processor 

 

Help me to find out where the problem is.

 

Edited by tadano
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.