Jump to content

Unexpected error Error: java.lang.NullPointerException


Angelz

Recommended Posts

Good Evening, I am trying to figure out what is wrong with my modded version of minecraft. If its too many mods or if it's something I need to add. Below is the crash report.

 

---- Minecraft Crash Report ----

WARNING: coremods are present:
Contact their authors BEFORE contacting forge

// Would you like a cupcake?

Time: 11/8/18 11:34 PM
Description: Unexpected error

java.lang.NullPointerException: Unexpected error
    at net.minecraft.client.renderer.ActiveRenderInfo.func_178806_a(ActiveRenderInfo.java:57)
    at net.minecraft.client.renderer.ActiveRenderInfo.func_186703_a(ActiveRenderInfo.java:68)
    at net.minecraft.client.renderer.EntityRenderer.func_78481_a(EntityRenderer.java:680)
    at net.minecraft.client.renderer.EntityRenderer.func_78479_a(EntityRenderer.java:933)
    at net.optifine.shaders.ShadersRender.renderShadowMap(ShadersRender.java:284)
    at net.optifine.shaders.Shaders.beginRender(Shaders.java:4097)
    at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1592)
    at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1384)
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1118)
    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 net.minecraft.client.renderer.ActiveRenderInfo.func_178806_a(ActiveRenderInfo.java:57)
    at net.minecraft.client.renderer.ActiveRenderInfo.func_186703_a(ActiveRenderInfo.java:68)
    at net.minecraft.client.renderer.EntityRenderer.func_78481_a(EntityRenderer.java:680)
    at net.minecraft.client.renderer.EntityRenderer.func_78479_a(EntityRenderer.java:933)
    at net.optifine.shaders.ShadersRender.renderShadowMap(ShadersRender.java:284)
    at net.optifine.shaders.Shaders.beginRender(Shaders.java:4097)
    at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1592)

-- Affected level --
Details:
    Level name: MpServer
    All players: 0 total; []
    Chunk stats: MultiplayerChunkCache: 427, 427
    Level seed: 0
    Level generator: ID 06 - BIOMESOP, ver 0. Features enabled: false
    Level generator options: 
    Level spawn location: World: (8,64,8), Chunk: (at 8,4,8 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
    Level time: 39 game time, 39 day time
    Level dimension: 0
    Level storage version: 0x00000 - Unknown?
    Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
    Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
    Forced entities: 0 total; []
    Retry entities: 0 total; []
    Server brand: ~~ERROR~~ NullPointerException: null
    Server type: Integrated singleplayer server
Stacktrace:
    at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:532)
    at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2740)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:426)
    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: 490850536 bytes (468 MB) / 2147483648 bytes (2048 MB) up to 2147483648 bytes (2048 MB)
    JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
    IntCache: cache: 0, tcache: 0, allocated: 4, tallocated: 105
    FML: MCP 9.42 Powered by Forge 14.23.5.2768 Optifine OptiFine_1.12.2_HD_U_E2 23 mods loaded, 23 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                                |
    |:--------- |:-------------------- |:----------------- |:--------------------------------------------- |:---------------------------------------- |
    | UCHIJAAAA | minecraft            | 1.12.2            | minecraft.jar                                 | None                                     |
    | UCHIJAAAA | mcp                  | 9.42              | minecraft.jar                                 | None                                     |
    | UCHIJAAAA | FML                  | 8.0.99.99         | forge-1.12.2-14.23.5.2768.jar                 | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | UCHIJAAAA | forge                | 14.23.5.2768      | forge-1.12.2-14.23.5.2768.jar                 | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | UCHIJAAAA | orbis_api            | 1.12.2-1.1.91     | Orbis-API-1.12.2.jar                          | db341c083b1b8ce9160a769b569ef6737b3f4cdf |
    | UCHIJAAAA | aether               | 1.12.2-1.1.0      | Aether-2-Mod-1.12.2.jar                       | db341c083b1b8ce9160a769b569ef6737b3f4cdf |
    | UCHIJAAAA | biomesoplenty        | 7.0.1.2361        | BiomesOPlenty-1.12.2-7.0.1.2361-universal.jar | None                                     |
    | UCHIJAAAA | fairylights          | 2.1.4             | Fairy-Lights-Mod-1.12.2.jar                   | None                                     |
    | UCHIJAAAA | gravestone           | 1.10.2            | gravestone-1.10.2.jar                         | None                                     |
    | UCHIJAAAA | waila                | 1.8.26            | Hwyla-Mod-1.12.2.jar                          | None                                     |
    | UCHIJAAAA | ironchest            | 1.12.2-7.0.46.831 | Iron-Chests-Mod-1.12.2.jar                    | None                                     |
    | UCHIJAAAA | ironbackpacks        | 1.12.2-3.0.8-12   | IronBackpacks-1.12.2-3.0.8-12.jar             | None                                     |
    | UCHIJAAAA | jei                  | 4.12.0.216        | jei_1.12.2-4.12.0.216.jar                     | None                                     |
    | UCHIJAAAA | journeymap           | 1.12.2-5.5.2      | JourneyMap-Mod-1.12.2-Unlimited.jar           | None                                     |
    | UCHIJAAAA | mantle               | 1.12-1.3.2.24     | Mantle-Mod-1.12.2.jar                         | None                                     |
    | UCHIJAAAA | cfm                  | 5.13.0            | MrCrayfishs-Furniture-Mod-1.12.2.jar          | None                                     |
    | UCHIJAAAA | natura               | 1.12.2-4.3.2.62   | Natura-Mod-1.12.2.jar                         | None                                     |
    | UCHIJAAAA | harvestcraft         | 1.12.2z           | Pam's+HarvestCraft+1.12.2za.jar               | None                                     |
    | UCHIJAAAA | refinedstorage       | 1.6.9             | refinedstorage-1.6.9.jar                      | None                                     |
    | UCHIJAAAA | refinedstorageaddons | 0.4.3             | refinedstorageaddons-0.4.3.jar                | None                                     |
    | UCHIJAAAA | simplecorn           | 2.3.5             | Simple-Corn-Mod-1.12.2.jar                    | None                                     |
    | UCHIJAAAA | tconstruct           | 1.12.2-2.10.1.87  | TConstruct-1.12.2-2.10.1.87.jar               | None                                     |
    | UCHIJAAAA | wawla                | 2.5.264           | Wawla-1.12.2-2.5.264.jar                      | d476d1b22b218a10d845928d1665d45fce301b27 |

    Loaded coremods (and transformers): 
    GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 388.13' Renderer: 'GeForce GTX 1070/PCIe/SSE2'
    Pulsar/natura loaded Pulses: 
        - NaturaCommons (Enabled/Forced)
        - NaturaOverworld (Enabled/Not Forced)
        - NaturaNether (Enabled/Not Forced)
        - NaturaDecorative (Enabled/Not Forced)
        - NaturaTools (Enabled/Not Forced)
        - NaturaEntities (Enabled/Not Forced)
        - NaturaOredict (Enabled/Forced)
        - NaturaWorld (Enabled/Not Forced)

    Pulsar/tconstruct loaded Pulses: 
        - TinkerCommons (Enabled/Forced)
        - TinkerWorld (Enabled/Not Forced)
        - TinkerTools (Enabled/Not Forced)
        - TinkerHarvestTools (Enabled/Forced)
        - TinkerMeleeWeapons (Enabled/Forced)
        - TinkerRangedWeapons (Enabled/Forced)
        - TinkerModifiers (Enabled/Forced)
        - TinkerSmeltery (Enabled/Not Forced)
        - TinkerGadgets (Enabled/Not Forced)
        - TinkerOredict (Enabled/Forced)
        - TinkerIntegration (Enabled/Forced)
        - TinkerFluids (Enabled/Forced)
        - TinkerMaterials (Enabled/Forced)
        - TinkerModelRegister (Enabled/Forced)
        - wailaIntegration (Enabled/Not Forced)

    Launched Version: 1.12.2-forge1.12.2-14.23.5.2768
    LWJGL: 2.9.4
    OpenGL: GeForce GTX 1070/PCIe/SSE2 GL version 4.6.0 NVIDIA 388.13, 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 'fml,forge'
    Type: Client (map_client.txt)
    Resource Packs: PureBDcraft  64x MC112.zip
    Current Language: English (US)
    Profiler Position: N/A (disabled)
    CPU: 16x AMD Ryzen 7 2700 Eight-Core Processor 
    OptiFine Version: OptiFine_1.12.2_HD_U_E2
    OptiFine Build: 20180728-185429
    Render Distance Chunks: 12
    Mipmaps: 4
    Anisotropic Filtering: 1
    Antialiasing: 0
    Multitexture: false
    Shaders: Sildurs Vibrant Shaders v1.172 High.zip
    OpenGlVersion: 4.6.0 NVIDIA 388.13
    OpenGlRenderer: GeForce GTX 1070/PCIe/SSE2
    OpenGlVendor: NVIDIA Corporation
    CpuCount: 16

Link to comment
Share on other sites

3 hours ago, Angelz said:

    Level generator: ID 06 - BIOMESOP, ver 0. Features enabled: false

This world seems to be a Biomes o' Plenty world.  If BOP is not installed, you probably won't be able to load it.  If that's not the issue then...

 

 

3 hours ago, Angelz said:

    at net.optifine.shaders.ShadersRender.renderShadowMap(ShadersRender.java:284)
    at net.optifine.shaders.Shaders.beginRender(Shaders.java:4097)

The next thing I would try is disabling either shaders or optifine, or both.

 

 

As a side note...

3 hours ago, Angelz said:

-Xmx2G

It looks like the game is running on only 2G of RAM.  That seems low to me for modded minecraft so if your system has more than 4G RAM total I'd increase it a bit.  If you have 4G total, I would leave it as is.  If you have 8G total I'd give it 6G (and not run any other intensive programs while playing minecraft).  If you have 16G total or more I'd go with at least 8G for minecraft.  I'm actually running it with 16G but I don't expect most ppl to have that much to spare (I have 32G total) and in most cases 8G is enough.  I don't think this is what caused the crash you posted, but I wouldn't be surprised if it caused an issue later.

Link to comment
Share on other sites

22 hours ago, Angelz said:

WARNING: coremods are present:
Contact their authors BEFORE contacting forge

// Would you like a cupcake?

Time: 11/8/18 11:34 PM

Because of a coremod warning yet no core mods being displayed, I assume Optifine is causing the issue.

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Link to comment
Share on other sites

On 11/9/2018 at 3:36 AM, Laike_Endaril said:

This world seems to be a Biomes o' Plenty world.  If BOP is not installed, you probably won't be able to load it.  If that's not the issue then...

 

 

The next thing I would try is disabling either shaders or optifine, or both.

 

 

As a side note...

It looks like the game is running on only 2G of RAM.  That seems low to me for modded minecraft so if your system has more than 4G RAM total I'd increase it a bit.  If you have 4G total, I would leave it as is.  If you have 8G total I'd give it 6G (and not run any other intensive programs while playing minecraft).  If you have 16G total or more I'd go with at least 8G for minecraft.  I'm actually running it with 16G but I don't expect most ppl to have that much to spare (I have 32G total) and in most cases 8G is enough.  I don't think this is what caused the crash you posted, but I wouldn't be surprised if it caused an issue later.

 

Yeah I have BOP installed. Ok I will have to take out optifine. How will I change the amount of ram being used?

 

On 11/9/2018 at 10:27 PM, Cadiboo said:

Because of a coremod warning yet no core mods being displayed, I assume Optifine is causing the issue.

ok thank you!

Link to comment
Share on other sites

44 minutes ago, Angelz said:

How will I change the amount of ram being used?

Depends on which launcher you're using.  The only launchers I've used are the FTB legacy launcher and MultiMC (and ofc the vanilla launcher but I assume you're not using that).

 

For MultiMC it's in settings -> java -> minimum memory allocation / maximum memory allocation.

 

For FTB legacy launcher it's in options -> RAM maximum.

 

For any other launchers you'll have to ask someone else, google it, or look around in the settings/options for the keywords "RAM" or "memory"

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.



×
×
  • Create New...

Important Information

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