Jump to content

Recommended Posts

Posted

Ok guys, I have been trying to solve this problem with making modpacks for such a long time, that now I decided to get help! Whenever I put all the mods together, i get a crash. I have all of the core mods im pretty sure, and i have the id fix mod. Here is my crash report.

---- Minecraft Crash Report ----
// You're mean.
 
Time: 5/24/14 11:11 AM
Description: Registering texture
 
java.lang.NullPointerException
at net.minecraft.item.ItemBlock.func_94901_k(ItemBlock.java:42)
at net.minecraft.client.renderer.texture.TextureMap.func_110573_f(TextureMap.java:184)
at net.minecraft.client.renderer.texture.TextureMap.func_110571_b(TextureMap.java:62)
at net.minecraft.client.renderer.texture.TextureMap.func_110551_a(TextureMap.java:57)
at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(SourceFile:69)
at net.minecraft.client.renderer.texture.TextureManager.func_110549_a(SourceFile:133)
at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110544_b(SourceFile:99)
at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110541_a(SourceFile:87)
at net.minecraft.client.Minecraft.func_110436_a(Minecraft.java:543)
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:265)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:509)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:808)
at net.minecraft.client.main.Main.main(SourceFile:101)
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.ItemBlock.func_94901_k(ItemBlock.java:42)
at net.minecraft.client.renderer.texture.TextureMap.func_110573_f(TextureMap.java:184)
at net.minecraft.client.renderer.texture.TextureMap.func_110571_b(TextureMap.java:62)
at net.minecraft.client.renderer.texture.TextureMap.func_110551_a(TextureMap.java:57)
 
-- Resource location being registered --
Details:
Resource location: minecraft:textures/atlas/items.png
Texture object class: net.minecraft.client.renderer.texture.TextureMap
Stacktrace:
at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(SourceFile:69)
at net.minecraft.client.renderer.texture.TextureManager.func_110549_a(SourceFile:133)
at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110544_b(SourceFile:99)
at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110541_a(SourceFile:87)
at net.minecraft.client.Minecraft.func_110436_a(Minecraft.java:543)
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:265)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:509)
 
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:808)
at net.minecraft.client.main.Main.main(SourceFile:101)
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 8 (amd64) version 6.2
Java Version: 1.7.0_45, Oracle Corporation
Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 256220208 bytes (244 MB) / 549453824 bytes (524 MB) up to 954728448 bytes (910 MB)
JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G
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.49.965 Minecraft Forge 9.11.1.965 89 mods loaded, 89 mods active
mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
FML{6.4.49.965} [Forge Mod Loader] (minecraftforge-9.11.1.965.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
Forge{9.11.1.965} [Minecraft Forge] (minecraftforge-9.11.1.965.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
AppliedEnergistics-Core{rv14.finale3} [AppliedEnergistics Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
CodeChickenCore{0.9.0.9} [CodeChicken Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
ImmibisMicroblocks{57.6.4} [immibis's Microblocks] (immibis-microblocks-57.6.4.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
Micdoodlecore{} [Micdoodle8 Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
NotEnoughItems{1.6.1.9} [Not Enough Items] (NotEnoughItems 1.6.1.9.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
OpenModsCore{0.4} [OpenModsCore] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
PowerCrystalsCore{1.1.8} [PowerCrystals Core] (powercrystalscore-1.1.8-9.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
TConstruct-Preloader{0.0.1} [Tinkers Corestruct] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
cfm{3.2.9.2} [§6MrCrayfish's Furniture Mod] ([Forge]FurnitureModv3.2.9.2(1.6.4).zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
advancedgenetics{v1.4.2} [Advanced Genetics] (advancedgenetics-1.4.2-1.6.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
AppliedEnergistics{rv14.finale3} [Applied Energistics] (appeng-rv14-finale3-mc16x.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
ArchimedesShipsMod{1.6.4 v1.4.5} [Archimedes' Ships] (ArchimedesShips.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
Autoutils{1.0.1} [Autoutils] (autoutils-1.6.4-1.0.1.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
betterstorage{0.8.0.47} [betterStorage] (BetterStorage-1.6.4-0.8.0.47.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
BiblioCraft{1.5.5} [biblioCraft] (BiblioCraft[v1.5.5].zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
Natura{2.1.14} [Natura] (natura_mc1.6.X_2.1.14.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
BiomesOPlenty{1.2.1} [biomes O' Plenty] (biomesoplenty-universal-1.6.4-1.2.1.434.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
BuildCraft|Core{4.2.2} [buildCraft] (buildcraft-A-1.6.4-4.2.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
BuildCraft|Builders{4.2.2} [bC Builders] (buildcraft-A-1.6.4-4.2.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
BuildCraft|Energy{4.2.2} [bC Energy] (buildcraft-A-1.6.4-4.2.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
BuildCraft|Factory{4.2.2} [bC Factory] (buildcraft-A-1.6.4-4.2.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
BuildCraft|Transport{4.2.2} [bC Transport] (buildcraft-A-1.6.4-4.2.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
BuildCraft|Silicon{4.2.2} [bC Silicon] (buildcraft-A-1.6.4-4.2.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
UniversalElectricity{3.1.0} [universal Electricity] (Universal-Electricity-3.1.0.92-core.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
CalclaviaCore{1.2.0} [CalclaviaCore] (Calclavia-Core-Development-1.2.0.196-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
CarpentersBlocks{2.0.8} [Carpenter's Blocks] (carpentersblocks v2.0.8 - MC 1.6+.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
CoFHCore{2.0.0.5} [CoFH Core] (cofhcore-2.0.0.5.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
CoFHLoot{2.0.0.5} [CoFH Loot] (cofhcore-2.0.0.5.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
CoFHMasquerade{2.0.0.5} [CoFH Masquerade] (cofhcore-2.0.0.5.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
CoFHSocial{2.0.0.5} [CoFH Social] (cofhcore-2.0.0.5.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
CoFHWorld{2.0.0.5} [CoFH World] (cofhcore-2.0.0.5.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
ConfigMod{v1.0} [Extended Mod Config] (configmod for MC v1.6.4.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
CoroAI{v1.0} [CoroAI] (coroutil for MC v1.6.4.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
EnderStorage{1.4.3.6} [EnderStorage] (EnderStorage 1.4.3.6.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
FlansMod{4.1.1} [Flans Mod] (flansmod-4.1.1.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
FoodPlus{2.8PRE4} [§bFood Plus] (foodplus-1.6.4-2.8PRE4.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
GalacticraftCore{2.0.12} [Galacticraft Core] (galacticraft-1.6.4-2.0.12.1026.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
GalacticraftMars{2.0.12} [Galacticraft Mars] (galacticraft-planets-1.6.4-2.0.12.1026.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
hamstermod{0.1} [Hamster Mod] (hamsterrific[1.6.4]V2.1.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
hamstersforever{1.0} [Hamsters Forever] (hamstersforever-1.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
iChunUtil{2.4.0} [iChunUtil] (ichunutil2.4.0.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
ImmibisCore{57.2.0} [immibis Core] (immibis-core-57.2.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
IronChest{5.4.1.702} [iron Chest] (Iron-Chests-Mod-1.6.4.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
LiquidXP{57.1.2} [Liquid XP] (liquid-xp-57.1.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
SlimevoidLib{2.1.0.0} [slimevoid Library] (SlimevoidLib-1.6.4-2.1.0.0.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
LittleBlocks{2.2.3.1} [Little Blocks] (LittleBlocks-1.6.4-2.2.3.1.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
Mekanism{6.0.4} [Mekanism] (Mekanism-6.0.4.42.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MekanismGenerators{6.0.4} [MekanismGenerators] (MekanismGenerators-6.0.4.42.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MekanismTools{6.0.4} [MekanismTools] (MekanismTools-6.0.4.42.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MFR Compat Forestry Trees{1.0} [MFR Compat Forestry Trees] (minefactoryreloaded-2.7.8-482.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MFR Compat Extra Trees{1.0} [MFR Compat Extra Trees] (minefactoryreloaded-2.7.8-482.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded{1.6.4R2.7.8} [MineFactory Reloaded] (minefactoryreloaded-2.7.8-482.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatAppliedEnergistics{1.6.4R2.7.8} [MFR Compat: Applied Energistics] (minefactoryreloaded-2.7.8-482.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatAtum{1.6.4R2.7.8} [MFR Compat: Atum] (minefactoryreloaded-2.7.8-482.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatBackTools{1.6.4R2.7.8} [MFR Compat: BackTools] (minefactoryreloaded-2.7.8-482.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatBuildCraft{1.6.4R2.7.8} [MFR Compat: BuildCraft] (minefactoryreloaded-2.7.8-482.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatChococraft{1.6.4R2.7.8} [MFR Compat: Chococraft] (minefactoryreloaded-2.7.8-482.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatExtraBiomes{1.6.4R2.7.8} [MFR Compat: ExtraBiomes] (minefactoryreloaded-2.7.8-482.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatForestry{1.6.4R2.7.8} [MFR Compat: Forestry] (minefactoryreloaded-2.7.8-482.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatForestryPre{1.6.4R2.7.8} [MFR Compat: Forestry (part 2)] (minefactoryreloaded-2.7.8-482.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatForgeMicroblock{1.6.4R2.7.8} [MFR Compat: ForgeMicroblock] (minefactoryreloaded-2.7.8-482.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatIC2{1.6.4R2.7.8} [MFR Compat: IC2] (minefactoryreloaded-2.7.8-482.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatMystcraft{1.6.4R2.7.8} [MFR Compat: Mystcraft] (minefactoryreloaded-2.7.8-482.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatPams{1.6.4R2.7.8} [MFR Compat: Pam's Mods] (minefactoryreloaded-2.7.8-482.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatProjRed{1.6.4R2.7.8} [MFR Compat ProjectRed] (minefactoryreloaded-2.7.8-482.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatRailcraft{1.6.4R2.7.8} [MFR Compat: Railcraft] (minefactoryreloaded-2.7.8-482.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatRP2{1.6.4R2.7.8} [MFR Compat: RP2] (minefactoryreloaded-2.7.8-482.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatSufficientBiomes{1.6.4R2.7.8} [MFR Compat: Sufficient Biomes] (minefactoryreloaded-2.7.8-482.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatThaumcraft{1.6.4R2.7.8} [MFR Compat: Thaumcraft] (minefactoryreloaded-2.7.8-482.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
ForgeMultipart{1.0.0.219} [Forge Multipart] (ForgeMultipart-universal-1.6.4-1.0.0.219.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
ThermalExpansion{3.0.0.5} [Thermal Expansion] (thermalexpansion-3.0.0.5.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatThermalExpansion{1.6.4R2.7.8} [MFR Compat: Thermal Expansion] (minefactoryreloaded-2.7.8-482.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatTwilightForest{1.6.4R2.7.8} [MFR Compat: TwilightForest] (minefactoryreloaded-2.7.8-482.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatVanilla{1.6.4R2.7.8} [MFR Compat: Vanilla] (minefactoryreloaded-2.7.8-482.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
MineFactoryReloaded|CompatXyCraft{1.6.4R2.7.8} [MFR Compat: XyCraft] (minefactoryreloaded-2.7.8-482.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
Morph{0.7.1} [Morph] (morphbeta-0.7.1.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
numina{0.0.1-17} [Numina] (Numina-1.6.2-0.0.1-17.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
OpenMods{0.4} [OpenMods] (openmodslib-0.4.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
OpenBlocks{1.2.7} [OpenBlocks] (openblocks-1.2.7.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
Waila{1.5.2a} [Waila] (waila_1.5.2a.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
RandomThings{1.9} [Random Things] (random things v. 1.9 [MC 1.6.4].jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
TConstruct{1.6.X_1.5.5.2} [Tinkers' Construct] (tconstruct_mc1.6.4_1.5.5.6.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
TMechworks{33.c001660} [Tinkers' Mechworks] (TMechworks_mc1.6.4_0.1.6.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
Chisel{1.5.0} [Chisel] (zchisel-1.6.4-1.5.0fix.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
McMultipart{1.0.0.219} [Minecraft Multipart Plugin] (ForgeMultipart-universal-1.6.4-1.0.0.219.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
ForgeMicroblock{1.0.0.219} [Forge Microblocks] (ForgeMultipart-universal-1.6.4-1.0.0.219.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
TConstruct Environment: Sane and ready for action. Bugs may be reported.
Launched Version: 1.6.4-Forge9.11.1.965
LWJGL: 2.9.0
OpenGL: ATI Mobility Radeon HD 4200 Series GL version 3.3.11672 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
 
Some mods mentioned in here i dont even have, and they are not needed.
Please someone help me fix what my problem is, and here is my list of mods:
MrCrayfish furniture*
advanced genetics*
applied energistics*
archimedes ships*
better storage*
bibliocraft*
biomes o plenty*
carpenters blocks*
ender storage*
flans*
food plus*
galacticraft moon and planets*
ic2*
iron chest*
mekanism ALL
minefactory reloaded*
modular powersuits*
morph*
NEI*
open blocks*
random things*
tinkers construct*
telepads*
thermal expansion*
waila *
chisel*
forge microblocks*
little blocks mod* 

 

Thanks, and if you guys dont know, can someone at least try to help me compile this modpack?

  • Moderators
Posted

post the link to your pack, so someone can properly see the error.

The only thing I can see is your outdated java. The current updated java 7 is u55, not u45

Posted (edited)

A Nullpointer exception is creating the error:

 

Simple explanation: One of your mods has a variable that doesn't have a destination/value

 

 

Advanced explanation:

When you declare a reference variable (i.e. an object) you are really creating a pointer to an object. Consider the following code where you declare a variable of primitive type int:

int x;
x = 10;

In this example the variable x is an int and Java will initialize it to 0 for you. When you assign it to 10 in the second line your value 10 is written into the memory location pointed to by x.

But, when you try to declare a reference type something different happens. Take the following code:

Integer num;
num = new Integer(10);

The first line declares a variable named num, but, it does not contain a primitive value. Instead it contains a pointer (because the type is Integer which is a reference type). Since you did not say as yet what to point to Java sets it to null, meaning "I am pointing at nothing".

In the second line, the new keyword is used to instantiate (or create) an object of type Integer and the pointer variable num is assigned this object. You can now reference the object using the dereferencing operator . (a dot).

The Exception that you asked about occurs when you declare a variable but did not create an object. If you attempt to dereference num BEFORE creating the object you get a NullPointerException. In the most trivial cases the compiler will catch the problem and let you know that "num may not have been initialized" but sometime you write code that does not directly create the object.

 

Try launching your game with one of the mods at the time and keep adding them again untill it stops working/ starts crashing. Leave that mod out or look for a new version or report the issue to the mod creator so he can fix it.

Edited by Joshua Tack
  • Discord Moderator
Posted

The original error you posted often pops up when trying to use IDFix. IDFix is not meant to be used while the pack is running. Run the pack once to get the configs created and then disable/remove it. Try starting your pack again. You might get ID conflicts but you should be some more useful error messages.

 

As previously stated, always provide a pack page, API URL, and/or download link for your pack when asking for assistance.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...