Pixelmon Mod - Bug tracker

Pixelmon Crashing - Rendering screen fix completed

Ticket description:
Hi! I recently tried to open Pixelmon recently, (Reforged most recent version), and it all the sudden just gave me an error. I installed the mod yesterday, and it was working fine. Now when I try to open Minecraft up, it will give me this error:

The game crashed whilst rendering screen
Error: java.lang.NullPointerException: Rendering screen

I used both forges (2750 / 2705)
& Reinstalled Pixelmon Reforged
& Removed all mods other than Pixelmon reforged, and here is the error I keep getting:

Code: Select all---- Minecraft Crash Report ----
// Don't be sad. I'll do better next time, I promise!

Time: 8/16/18 1:40 PM
Description: Rendering screen

java.lang.NullPointerException: Rendering screen
   at com.pixelmonmod.pixelmon.client.listener.MainScreenListener.onDrawScreen(MainScreenListener.java:27)
   at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_53_MainScreenListener_onDrawScreen_DrawScreenEvent.invoke(.dynamic)
   at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
   at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
   at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:367)
   at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1124)
   at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1117)
   at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:397)
   at net.minecraft.client.main.Main.main(SourceFile:123)
   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:497)
   at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
   at net.minecraft.launchwrapper.Launch.main(Launch.java:28)


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

-- Head --
Thread: Client thread
Stacktrace:
   at com.pixelmonmod.pixelmon.client.listener.MainScreenListener.onDrawScreen(MainScreenListener.java:27)
   at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_53_MainScreenListener_onDrawScreen_DrawScreenEvent.invoke(.dynamic)
   at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
   at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
   at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:367)

-- Screen render details --
Details:
   Screen name: net.minecraft.client.gui.GuiMainMenu
   Mouse location: Scaled: (182, 118). Absolute: (365, 243)
   Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2
Stacktrace:
   at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1124)
   at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1117)
   at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:397)
   at net.minecraft.client.main.Main.main(SourceFile:123)
   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:497)
   at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
   at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

-- System Details --
Details:
   Minecraft Version: 1.12.2
   Operating System: Windows 10 (amd64) version 10.0
   Java Version: 1.8.0_51, Oracle Corporation
   Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
   Memory: 412866824 bytes (393 MB) / 822083584 bytes (784 MB) up to 1073741824 bytes (1024 MB)
   JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=16M
   IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
   FML: MCP 9.42 Powered by Forge 14.23.4.2705 5 mods loaded, 5 mods active
   States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

   | State  | ID        | Version      | Source                              | Signature                                |
   |:------ |:--------- |:------------ |:----------------------------------- |:---------------------------------------- |
   | UCHIJA | minecraft | 1.12.2       | minecraft.jar                       | None                                     |
   | UCHIJA | mcp       | 9.42         | minecraft.jar                       | None                                     |
   | UCHIJA | FML       | 8.0.99.99    | forge-1.12.2-14.23.4.2705.jar       | e3c3d50c7c986df74c645c0ac54639741c90a557 |
   | UCHIJA | forge     | 14.23.4.2705 | forge-1.12.2-14.23.4.2705.jar       | e3c3d50c7c986df74c645c0ac54639741c90a557 |
   | UCHIJA | pixelmon  | 6.3.4        | Pixelmon-1.12.2-6.3.4-universal.jar | None                                     |

   Loaded coremods (and transformers):
   GL info: ' Vendor: 'Intel' Version: '4.5.0 - Build 23.20.16.4973' Renderer: 'Intel(R) UHD Graphics 630'
   Launched Version: 1.12.2-forge1.12.2-14.23.4.2705
   LWJGL: 2.9.4
   OpenGL: Intel(R) UHD Graphics 630 GL version 4.5.0 - Build 23.20.16.4973, Intel
   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 'fml,forge'
   Type: Client (map_client.txt)
   Resource Packs: Game Cries v5.4 [Reforged].zip
   Current Language: ~~ERROR~~ NullPointerException: null
   Profiler Position: N/A (disabled)
   CPU: 8x Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz

Comments

#16927 Posted by Nanoninja99 » 16 Aug 2018 23:45

I rebooted Pixelmon by itself, it ran fine once, but then I closed Pixelmon again and put in "Gameshark" and "Optifine" and now it's crashing again. (It randomly fixed itself then went back to crashing.

New error:
The game crashed whilst unexpected error
Error: java.lang.IllegalStateException: Display not created

Code: Select all---- Minecraft Crash Report ----
// Hey, that tickles! Hehehe!

Time: 8/16/18 11:46 PM
Description: Unexpected error

java.lang.IllegalStateException: Display not created
   at org.lwjgl.opengl.Display.processMessages(Display.java:598)
   at net.minecraftforge.fml.client.FMLClientHandler.processWindowMessages(FMLClientHandler.java:1032)
   at net.minecraftforge.fml.common.FMLCommonHandler.processWindowMessages(FMLCommonHandler.java:654)
   at net.minecraftforge.fml.common.ProgressManager.push(ProgressManager.java:55)
   at net.minecraftforge.fml.common.ProgressManager.push(ProgressManager.java:41)
   at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110542_a(SimpleReloadableResourceManager.java:118)
   at net.minecraftforge.client.CloudRenderer.<init>(CloudRenderer.java:78)
   at net.minecraftforge.fml.client.FMLClientHandler.getCloudRenderer(FMLClientHandler.java:1086)
   at net.minecraftforge.fml.client.FMLClientHandler.updateCloudSettings(FMLClientHandler.java:1092)
   at net.minecraftforge.common.ForgeInternalHandler.checkSettings(ForgeInternalHandler.java:97)
   at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_17_ForgeInternalHandler_checkSettings_ClientTickEvent.invoke(.dynamic)
   at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
   at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
   at net.minecraftforge.fml.common.FMLCommonHandler.onPostClientTick(FMLCommonHandler.java:348)
   at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1909)
   at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1096)
   at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:397)
   at net.minecraft.client.main.Main.main(SourceFile:123)
   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:497)
   at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
   at net.minecraft.launchwrapper.Launch.main(Launch.java:28)


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

-- System Details --
Details:
   Minecraft Version: 1.12.2
   Operating System: Windows 10 (amd64) version 10.0
   Java Version: 1.8.0_51, Oracle Corporation
   Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
   Memory: 546311008 bytes (521 MB) / 1207959552 bytes (1152 MB) up to 4294967296 bytes (4096 MB)
   JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx4G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=16M
   IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
   FML: MCP 9.42 Powered by Forge 14.23.4.2705 5 mods loaded, 5 mods active
   States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

   | State  | ID        | Version      | Source                              | Signature                                |
   |:------ |:--------- |:------------ |:----------------------------------- |:---------------------------------------- |
   | UCHIJA | minecraft | 1.12.2       | minecraft.jar                       | None                                     |
   | UCHIJA | mcp       | 9.42         | minecraft.jar                       | None                                     |
   | UCHIJA | FML       | 8.0.99.99    | forge-1.12.2-14.23.4.2705.jar       | e3c3d50c7c986df74c645c0ac54639741c90a557 |
   | UCHIJA | forge     | 14.23.4.2705 | forge-1.12.2-14.23.4.2705.jar       | e3c3d50c7c986df74c645c0ac54639741c90a557 |
   | UCHIJA | pixelmon  | 6.3.4        | Pixelmon-1.12.2-6.3.4-universal.jar | None                                     |

   Loaded coremods (and transformers):
   GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
   Launched Version: 1.12.2-forge1.12.2-14.23.4.2705
   LWJGL: 2.9.4
   OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
   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 'fml,forge'
   Type: Client (map_client.txt)
   Resource Packs: Game Cries v5.4 [Reforged].zip
   Current Language: English (US)
   Profiler Position: N/A (disabled)
   CPU: 8x Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz

#16928 Posted by XpanD » 19 Aug 2018 08:33

The issue in your main report should be resolved now -- Mojang broke the mod through a bad update on their end, and then fixed it a few hours later.

I'm not sure about the second issue, but it looks like your graphics card/chip and the game aren't getting along for some reason. Try removing Optifine if you still have it, as it is known to cause issues like these in some rare cases. If that doesn't fix it, #general-support in the Discord may know -- could be worth a shot.

I'll mark the ticket as "Awaiting information" for now. Let us know how it goes!

#16937 Posted by Nanoninja99 » 19 Aug 2018 13:19

Hey! I solved this by using the Technic Launcher for anyone needing more information on how I fixed it.

Also; with the graphics card thing, I have a GTX 1050, but Optifine is using my Integrated Graphics Card ( Intel ), do you know how to fix this so that way Minecraft/Optifine uses my Nividia?

#16938 Posted by XpanD » 19 Aug 2018 16:06

Glad to hear you got it fixed!

As for your game using the wrong graphics chip, I know NVIDIA has (or used to have? been a while) Optimus for switching between different chips on notebooks, but I'm not sure how that works or whether it applies to desktops in any way. Might be a good Discord question, also?

(marking this as fixed, since the original issue is now resolved)

Ticket details

  • Ticket ID: 12892
  • Project: Pixelmon Mod
  • Status: Fix completed
  • Component: Error
  • Project version: 6.x.x
  • Priority: Normal
  • Severity: Normal
  • Forge/Sponge: 2750 / 2705
  • What else would be useful to know?: Pixelmon only
  • Assigned to: (unassigned)
  • Reported by: Nanoninja99 (Send PM)
  • Reporter's tickets: (List all tickets)
  • Reported on: 16 Aug 2018 13:51
  • Ticket last visited by: XpanD on 19 Aug 2018 16:07
JOIN THE TEAM