Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • Minecraft Crashes for Unknown Reason??
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 0
Evgenit

Minecraft Crashes for Unknown Reason??

By Evgenit, October 31, 2013 in Modder Support

  • Reply to this topic
  • Start new topic

Recommended Posts

Evgenit    0

Evgenit

Evgenit    0

  • Tree Puncher
  • Evgenit
  • Members
  • 0
  • 7 posts
Posted October 31, 2013

Vec3 Pool Size: ~~ERROR~~ NullPointerException: null

2013-10-31 20:45:41 [iNFO] [sTDOUT] Initializing LWJGL OpenAL

2013-10-31 20:45:41 [iNFO] [sTDOUT]    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

2013-10-31 20:45:41 [iNFO] [sTDOUT] #@!@# Game crashed! Crash report saved to: #@!@# *****\crash-2013-10-31_20.45.40-client.txt

AL lib: (EE) alc_cleanup: 1 device not closed

 

 

crash report

 

---- Minecraft Crash Report ----

// Everything's going to plan. No, really, that was supposed to happen.

 

Time: 13-10-31 20:45

Description: Initializing game

 

java.lang.NullPointerException

at net.minecraft.item.ItemStack.<init>(ItemStack.java:77)

at evgenit.betterminecraft.BetterMinecraftMod.<init>(BetterMinecraftMod.java:68)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:174)

at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:519)

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 com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

at com.google.common.eventbus.EventBus.post(EventBus.java:267)

at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:194)

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174)

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 com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

at com.google.common.eventbus.EventBus.post(EventBus.java:267)

at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:105)

at cpw.mods.fml.common.Loader.loadMods(Loader.java:509)

at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:183)

at net.minecraft.client.Minecraft.startGame(Minecraft.java:472)

at net.minecraft.client.Minecraft.run(Minecraft.java:807)

at net.minecraft.client.main.Main.main(Main.java:93)

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.minecraft.launchwrapper.Launch.launch(Launch.java:131)

at net.minecraft.launchwrapper.Launch.main(Launch.java:27)

 

 

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

---------------------------------------------------------------------------------------

 

-- Head --

Stacktrace:

at net.minecraft.item.ItemStack.<init>(ItemStack.java:77)

at evgenit.betterminecraft.BetterMinecraftMod.<init>(BetterMinecraftMod.java:68)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:174)

at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:519)

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 com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

at com.google.common.eventbus.EventBus.post(EventBus.java:267)

at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:194)

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174)

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 com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

at com.google.common.eventbus.EventBus.post(EventBus.java:267)

at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:105)

at cpw.mods.fml.common.Loader.loadMods(Loader.java:509)

at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:183)

at net.minecraft.client.Minecraft.startGame(Minecraft.java:472)

 

-- Initialization --

Details:

Stacktrace:

at net.minecraft.client.Minecraft.run(Minecraft.java:807)

at net.minecraft.client.main.Main.main(Main.java:93)

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.minecraft.launchwrapper.Launch.launch(Launch.java:131)

at net.minecraft.launchwrapper.Launch.main(Launch.java:27)

 

-- System Details --

Details:

Minecraft Version: 1.6.4

Operating System: Windows 7 (amd64) version 6.1

Java Version: 1.7.0_40, Oracle Corporation

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 41031392 bytes (39 MB) / 89755648 bytes (85 MB) up to 259719168 bytes (247 MB)

JVM Flags: 2 total; -Xincgc -XX:MaxHeapSize=256m

AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

Suspicious classes: FML and Forge are installed

IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

FML: MCP v8.11 FML v6.4.20.916 Minecraft Forge 9.11.1.916 4 mods loaded, 4 mods active

mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed

FML{6.4.20.916} [Forge Mod Loader] (bin) Unloaded->Constructed

Forge{9.11.1.916} [Minecraft Forge] (bin) Unloaded->Constructed

bm1914{0.0.1} [betterMinecraft] (bin) Unloaded->Errored

Launched Version: 1.6

LWJGL: 2.9.0

OpenGL: ATI Mobility Radeon HD 5470                          GL version 3.2.9712 Compatibility Profile Context, ATI Technologies Inc.

Is Modded: Definitely; Client brand changed to 'fml,forge'

Type: Client (map_client.txt)

Resource Pack: Default

Current Language: English (US)

Profiler Position: N/A (disabled)

Vec3 Pool Size: ~~ERROR~~ NullPointerException: null

 

 

 

Code that is probably causing it:

 

        ItemStack mouldpStack = new ItemStack(emould_pickaxe_head);

        ItemStack mouldaStack = new ItemStack(emould_axe_head);

        ItemStack mouldhStack = new ItemStack(emould_hoe_head);

        ItemStack mouldsStack = new ItemStack(emould_sword_blade);

        ItemStack mouldlStack = new ItemStack(emould_shovel_head);

 

Itemstack blaBla = new ItemStack((note that i dont have Item because it doesn't recognize it)le_item);

  • Quote

Share this post


Link to post
Share on other sites

joaopms    5

joaopms

joaopms    5

  • Tree Puncher
  • joaopms
  • Members
  • 5
  • 36 posts
Posted October 31, 2013

First of all, what are you trying to do?

Second, what is at the line 68 at BetterMinecraftMod.java?

  • Quote

Share this post


Link to post
Share on other sites

TheGreyGhost    819

TheGreyGhost

TheGreyGhost    819

  • Reality Controller
  • TheGreyGhost
  • Members
  • 819
  • 3280 posts
Posted October 31, 2013

Hi

 

I suspect one or more of your items eg emould_pickaxe_head are null (not initialised yet).

 

-TGG

  • Quote

Share this post


Link to post
Share on other sites

Evgenit    0

Evgenit

Evgenit    0

  • Tree Puncher
  • Evgenit
  • Members
  • 0
  • 7 posts
Posted November 1, 2013

Thanks, that worked, but now I have another problem:

 

this is my code:

 

LanguageRegistry.addName(ironore_item, "Iron ore");

                LanguageRegistry.addName(goldore_item, "Gold ore");

                LanguageRegistry.addName(emould_pickaxe_head, "Empty Pickaxe Mould");

                LanguageRegistry.addName(emould_axe_head, "Empty Axe Mould");

                LanguageRegistry.addName(emould_hoe_head, "Empty Hoe Mould");

                LanguageRegistry.addName(emould_shovel_head, "Empty Shovel Mould");

                LanguageRegistry.addName(emould_sword_blade, "Empty Sword Mould");

                LanguageRegistry.addName(mould_ipickaxe_head, "Iron Pickaxe Mould");

                LanguageRegistry.addName(mould_iaxe_head, "Iron Axe Mould");

                LanguageRegistry.addName(mould_ihoe_head, "Iron Hoe Mould");

                LanguageRegistry.addName(mould_ishovel_head, "Iron Shovel Mould");

                LanguageRegistry.addName(mould_isword_blade, "Iron Sword Mould");

                LanguageRegistry.addName(isword_blade, "Iron Sword Blade");

                LanguageRegistry.addName(ipickaxe_head, "Iron Pickaxe Head");

                LanguageRegistry.addName(iaxe_head, "Iron Axe Head");

                LanguageRegistry.addName(ishovel_head, "Iron Shovel Head");

                LanguageRegistry.addName(ihoe_head, "Iron Hoe Head");

 

 

But ingame every my item takes the name of the last one that is registered(Iron Hoe Head). Am I Missing something??

  • Quote

Share this post


Link to post
Share on other sites

TheGreyGhost    819

TheGreyGhost

TheGreyGhost    819

  • Reality Controller
  • TheGreyGhost
  • Members
  • 819
  • 3280 posts
Posted November 1, 2013

Hi

 

er, my first guess would be that goldore_item, emould_pickaxe_head, {etc} are all the same item?  or at least, you've given them all the same unLocalizedName?

http://www.minecraftforge.net/forum/index.php?topic=7798.0

and

http://wuppy29.blogspot.com.au/2013/08/modding-16-basic-item-part-1.html

or

 

-TGG

 

  • Quote

Share this post


Link to post
Share on other sites

Evgenit    0

Evgenit

Evgenit    0

  • Tree Puncher
  • Evgenit
  • Members
  • 0
  • 7 posts
Posted November 1, 2013

*Facepalm

Thanks for the help

  • Quote

Share this post


Link to post
Share on other sites

TheGreyGhost    819

TheGreyGhost

TheGreyGhost    819

  • Reality Controller
  • TheGreyGhost
  • Members
  • 819
  • 3280 posts
Posted November 1, 2013

no worries :-)

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7690

diesieben07

diesieben07    7690

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7690
  • 56283 posts
Posted February 27, 2014

Either your graphics card is absolutely freakin outdated or your graphic drivers are not updated. Also: Don't hijack completely unrelated threads.

  • Quote

Share this post


Link to post
Share on other sites

Draco18s    2414

Draco18s

Draco18s    2414

  • Reality Controller
  • Draco18s
  • Members
  • 2414
  • 15995 posts
Posted February 27, 2014

Thanks, that worked, but now I have another problem:

 

this is my code:

 

LanguageRegistry.addName(ironore_item, "Iron ore");

                LanguageRegistry.addName(goldore_item, "Gold ore");

                LanguageRegistry.addName(emould_pickaxe_head, "Empty Pickaxe Mould");

                LanguageRegistry.addName(emould_axe_head, "Empty Axe Mould");

                LanguageRegistry.addName(emould_hoe_head, "Empty Hoe Mould");

                LanguageRegistry.addName(emould_shovel_head, "Empty Shovel Mould");

                LanguageRegistry.addName(emould_sword_blade, "Empty Sword Mould");

                LanguageRegistry.addName(mould_ipickaxe_head, "Iron Pickaxe Mould");

                LanguageRegistry.addName(mould_iaxe_head, "Iron Axe Mould");

                LanguageRegistry.addName(mould_ihoe_head, "Iron Hoe Mould");

                LanguageRegistry.addName(mould_ishovel_head, "Iron Shovel Mould");

                LanguageRegistry.addName(mould_isword_blade, "Iron Sword Mould");

                LanguageRegistry.addName(isword_blade, "Iron Sword Blade");

                LanguageRegistry.addName(ipickaxe_head, "Iron Pickaxe Head");

                LanguageRegistry.addName(iaxe_head, "Iron Axe Head");

                LanguageRegistry.addName(ishovel_head, "Iron Shovel Head");

                LanguageRegistry.addName(ihoe_head, "Iron Hoe Head");

 

 

But ingame every my item takes the name of the last one that is registered(Iron Hoe Head). Am I Missing something??

 

Don't use the LanguageRegistry.

http://www.minecraftforge.net/forum/index.php/topic,15636.msg79415.html#msg79415

  • Quote

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Share this post


Link to post
Share on other sites

Geovanny04    0

Geovanny04

Geovanny04    0

  • Tree Puncher
  • Geovanny04
  • Members
  • 0
  • 2 posts
Posted February 27, 2014

Either your graphics card is absolutely freakin outdated or your graphic drivers are not updated. Also: Don't hijack completely unrelated threads.

I will search how to actualize my graphics card, thank you, and sorry for posting in someone phost, i will remove that comment

  • Quote

Share this post


Link to post
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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 0
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • JayNeedsHelp
      How can I fix this encoding issue?

      By JayNeedsHelp · Posted 1 hour ago

      Hey so I'm creating a forge mod and I'm trying to use the "§" character but I'm getting an illegal character error in the compiler. I've tried using the -encoding option in the compiler, I've also tried converting the file to UTF-8 without BOM, but it wasn't UTF-8 BOM in the first place. I was making a jar mod with mcp in eclipse and everything was working just fine with these characters, which I'm now moving to a forge mod. I'm using IntelliJ Community IDEA currently.   Here's a link to part of the error list: https://jay-hosts-a.dark-web.store/6AXsbJqG. Obviously the other errors were due to the illegal character error but I thought I might as well show it. I'm making a forge mod for 1.12.2, forgegradle is version 2.3-SNAPSHOT and I'm using mixingradle-0.6-SNAPSHOT.   I'm not sure how to fix this and any help would be greatly appreciated.
    • mchase
      Forge crashing

      By mchase · Posted 1 hour ago

      I downloaded and installed forge for 1.16.4 and it shows up in my installations and will start to open but then crashes and gives me "exit code 255". I am on MacOS if that makes a difference. it says The game crashed whilst initializing game Error: java.lang.IllegalStateException: GLFW error before init: [0x10008]Cocoa: Failed to find service port for display Exit Code: 255 does forge just not work on Mac? am I missing something? please help
    • MiToKonndria
      cant download pixelmon

      By MiToKonndria · Posted 2 hours ago

      when i click install on the Pixelmon modpack it gets to 42% and mod 3 out of 7 and then gives me the error message: Timeout attempting to download: "https://edge.forgecdn.net/files/3072/298/pixelmon-1.12.2-8.1.2-universal.jar"
    • lupicus
      can someone help with server crashing

      By lupicus · Posted 2 hours ago

      Looks like Wonderful Enchantments has problems, try and remove it.
    • Draco18s
      can someone help with server crashing

      By Draco18s · Posted 2 hours ago

      Surprise, accessing the client thread from the server thread isn't possible. Bitch at the author of wonderfulenchantments.
  • Topics

    • JayNeedsHelp
      0
      How can I fix this encoding issue?

      By JayNeedsHelp
      Started 1 hour ago

    • mchase
      0
      Forge crashing

      By mchase
      Started 1 hour ago

    • MiToKonndria
      0
      cant download pixelmon

      By MiToKonndria
      Started 2 hours ago

    • IRONDALEK
      3
      can someone help with server crashing

      By IRONDALEK
      Started 6 hours ago

    • Twu
      0
      Need help with Potion Brewing recipes

      By Twu
      Started 2 hours ago

  • Who's Online (See full list)

    • mcnuggies
    • LK1905
    • Choonster
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • Minecraft Crashes for Unknown Reason??
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community