[求助]运行水影源码时出错



  • 我在IntelliJ IDEA 中导入液体弹跳源码之后,想对其进行更改,更改完毕调试程序时,出现了以下错误:
    [15:05:47] [Client thread/INFO]: [net.minecraft.init.Bootstrap:printToSYSOUT:529]: ---- Minecraft Crash Report ----
    // This doesn't make any sense!

    Time: 20-7-30 下午3:05
    Description: Initializing game

    java.lang.NullPointerException: Initializing game
    at org.lwjgl.opengl.Display.setIcon(Display.java:1222)
    at net.minecraft.client.Minecraft.handler$setWindowIcon$zzf000(Minecraft.java:3246)
    at net.minecraft.client.Minecraft.setWindowIcon(Minecraft.java)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:406)
    at net.minecraft.client.Minecraft.run(Minecraft.java:329)
    at net.minecraft.client.main.Main.main(SourceFile:124)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
    at GradleStart.main(GradleStart.java:26)

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

    -- Head --
    Stacktrace:
    at org.lwjgl.opengl.Display.setIcon(Display.java:1222)
    at net.minecraft.client.Minecraft.handler$setWindowIcon$zzf000(Minecraft.java:3246)
    at net.minecraft.client.Minecraft.setWindowIcon(Minecraft.java)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:406)

    -- Initialization --
    Details:
    Stacktrace:
    at net.minecraft.client.Minecraft.run(Minecraft.java:329)
    at net.minecraft.client.main.Main.main(SourceFile:124)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
    at GradleStart.main(GradleStart.java:26)

    -- System Details --
    Details:
    Minecraft Version: 1.8.9
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_251, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 101976544 bytes (97 MB) / 245366784 bytes (234 MB) up to 885522432 bytes (844 MB)
    JVM Flags: 0 total;
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML:
    Loaded coremods (and transformers):
    MixinLoader (unknown)

    Launched Version: 1.8.9
    LWJGL: 2.9.4
    OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
    GL Caps: 
    Using VBOs: No
    Is Modded: Definitely; Client brand changed to 'fml,forge'
    Type: Client (map_client.txt)
    Resource Packs: 
    Current Language: ~~ERROR~~ NullPointerException: null
    Profiler Position: N/A (disabled)
    CPU: <unknown>
    

    [15:05:47] [Client thread/INFO]: [net.minecraft.init.Bootstrap:printToSYSOUT:529]: #@[email protected]# Game crashed! Crash report saved to: #@[email protected]# C:\Users\19077\Desktop\Kill\1.8.9-Forge\run.\crash-reports\crash-2020-07-30_15.05.47-client.txt


Log in to reply