Jump to content

[1.8]Instantiation Exception


blfngl

Recommended Posts

Out of the blue, eclipse would throw this huge error but would still be able to load the game, however it will crash upon trying to access certain parts of the mod. I have no idea where this is coming from, it literally appeared out of no where. I wasn't even editing the class it was referencing.

 

Error:

Time: 7/6/15 11:00 PM
Description: Loading screen debug info

This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR


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

-- System Details --
Details:
Minecraft Version: 1.8
Operating System: Windows 8.1 (amd64) version 6.3
Java Version: 1.8.0_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 725432040 bytes (691 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: 
Loaded coremods (and transformers): 
GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 353.06' Renderer: 'GeForce GTX 860M/PCIe/SSE2'
[23:00:04] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[23:00:04] [Client thread/INFO] [FML]: MinecraftForge v11.14.3.1450 Initialized
[23:00:04] [Client thread/INFO] [FML]: Replaced 204 ore recipies
[23:00:04] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[23:00:04] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[23:00:04] [Client thread/INFO] [FML]: Searching C:\Users\Nick\Documents\My Games\Minecraft\[1.8]Fallout\eclipse\mods for mods
[23:00:06] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[23:00:06] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, fallout] at CLIENT
[23:00:06] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, fallout] at SERVER
[23:00:06] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:The Fallout Mod
[23:00:06] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[23:00:06] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
[23:00:06] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[23:00:06] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[23:00:06] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[23:00:06] [Client thread/INFO] [sTDOUT]: [blfngl.fallout.Fallout:preInit:394]: Blfngl's Fallout mod loading...
[23:00:06] [Client thread/INFO] [sTDOUT]: [blfngl.fallout.util.FalloutConfig:syncConfig:49]: Fallout config loaded...
[23:00:06] [Client thread/INFO] [sTDOUT]: [blfngl.fallout.util.ChemEffectHandler:init:31]: Potions loaded successfully.
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: java.lang.InstantiationException
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(Unknown Source)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at java.lang.reflect.Constructor.newInstance(Unknown Source)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraftforge.fml.common.eventhandler.EventBus.register(EventBus.java:103)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraftforge.fml.common.eventhandler.EventBus.register(EventBus.java:85)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at blfngl.fallout.Fallout.preInit(Fallout.java:404)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at java.lang.reflect.Method.invoke(Unknown Source)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:537)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at java.lang.reflect.Method.invoke(Unknown Source)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at com.google.common.eventbus.EventBus.post(EventBus.java:275)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at java.lang.reflect.Method.invoke(Unknown Source)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at com.google.common.eventbus.EventBus.post(EventBus.java:275)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:550)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:248)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraft.client.Minecraft.startGame(Minecraft.java:446)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraft.client.Minecraft.run(Minecraft.java:356)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraft.client.main.Main.main(Main.java:117)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at java.lang.reflect.Method.invoke(Unknown Source)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
[22:49:02] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at GradleStart.main(Unknown Source)

 

 

Line 404:

MinecraftForge.EVENT_BUS.register(new FalloutEventHandler());

 

FalloutEventHandler:

package blfngl.fallout.util;

import net.minecraft.entity.effect.EntityLightningBolt;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.potion.Potion;
import net.minecraft.potion.PotionEffect;
import net.minecraft.util.DamageSource;
import net.minecraft.world.EnumDifficulty;
import net.minecraftforge.client.event.GuiOpenEvent;
import net.minecraftforge.event.entity.EntityEvent.EntityConstructing;
import net.minecraftforge.event.entity.EntityJoinWorldEvent;
import net.minecraftforge.event.entity.item.ItemTossEvent;
import net.minecraftforge.event.entity.living.LivingDeathEvent;
import net.minecraftforge.event.entity.living.LivingEvent.LivingUpdateEvent;
import net.minecraftforge.event.entity.living.LivingHurtEvent;
import net.minecraftforge.event.entity.player.PlayerUseItemEvent;
import net.minecraftforge.event.world.ExplosionEvent;
import net.minecraftforge.fml.client.GuiIngameModOptions;
import net.minecraftforge.fml.common.eventhandler.EventPriority;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import blfngl.fallout.Fallout;
import blfngl.fallout.gui.GuiFalloutConfig;
import blfngl.fallout.player.FalloutPlayer;

public class FalloutEventHandler extends Fallout
{
@SubscribeEvent
public void onEntityUpdate(LivingUpdateEvent event) 
{
	if (event.entity instanceof EntityPlayer)
	{
		EntityPlayer player = (EntityPlayer) event.entity;
		FalloutPlayer props = FalloutPlayer.get((EntityPlayer) event.entity);

		if (player.isPotionActive(Fallout.potionCloudKiss)) {}

		if (!player.isPotionActive(Fallout.potionRadResist))
		{
			props.setRadReduction(0);
		}

		/*if ((player.worldObj.getBlockState(new BlockPos((int) player.posX, (int) player.posY - 1, (int) player.posZ)) instanceof BlockGrass ||
				player.worldObj.getBlockState(new BlockPos((int) player.posX, (int) player.posY - 1, (int) player.posZ)) instanceof BlockSand ||
				player.worldObj.getBlockState(new BlockPos((int) player.posX, (int) player.posY - 1, (int) player.posZ)) instanceof BlockStone ||
				player.worldObj.getBlockState(new BlockPos((int) player.posX, (int) player.posY - 1, (int) player.posZ))  instanceof BlockDirt) &&
				!player.capabilities.isCreativeMode && canIrradiate)
		{
			if ((int) (Math.random() * 60) == 1)
				props.addRadiation(1);
		}*/

		if (props.getAddicted() > 0)
		{
			player.addPotionEffect(new PotionEffect(Potion.moveSlowdown.id, 20, 0));
			player.addPotionEffect(new PotionEffect(Fallout.potionAddicted.id, 20, 0));
		}

		if (props.getCurrentRads() >= 200 && props.getCurrentRads() < 400)
		{
			player.addPotionEffect(new PotionEffect(Fallout.potionMinorRad.id, 20, 0));
			player.addPotionEffect(new PotionEffect(Potion.digSlowdown.id, 20, 0));
		}

		if (props.getCurrentRads() >= 400 && props.getCurrentRads() < 600)
		{
			player.addPotionEffect(new PotionEffect(Fallout.potionAdvancedRad.id, 20, 0));
			player.addPotionEffect(new PotionEffect(Potion.digSlowdown.id, 20, 1));
			player.addPotionEffect(new PotionEffect(Potion.moveSlowdown.id, 20, 0));
		}

		if (props.getCurrentRads() >= 600 && props.getCurrentRads() < 800)
		{
			player.addPotionEffect(new PotionEffect(Fallout.potionCriticalRad.id, 20, 0));
			player.addPotionEffect(new PotionEffect(Potion.digSlowdown.id, 20, 2));
			player.addPotionEffect(new PotionEffect(Potion.moveSlowdown.id, 20, 2));
			player.addPotionEffect(new PotionEffect(Potion.weakness.id, 20, 0));
		}

		if (props.getCurrentRads() >= 800)
		{
			player.addPotionEffect(new PotionEffect(Fallout.potionDeadlyRad.id, 20, 0));
			player.addPotionEffect(new PotionEffect(Potion.digSlowdown.id, 20, 2));
			player.addPotionEffect(new PotionEffect(Potion.moveSlowdown.id, 20, 2));
			player.addPotionEffect(new PotionEffect(Potion.weakness.id, 20, 1));			
		}

		if (props.getCurrentRads() >= 1000 || props.getCurrentThirst() >= 1000)
		{
			player.attackEntityFrom(DamageSource.magic, 99999);
			props.setCurrentRads(0);
			props.setCurrentThirst(0);
		}

		if (!player.capabilities.isCreativeMode)
		{
			if (player.worldObj.getDifficulty() != EnumDifficulty.PEACEFUL)
				if (player.worldObj.getTotalWorldTime() % 20 == 0)
					props.setCurrentThirst(props.getCurrentThirst() + 1);


			if (player.worldObj.getDifficulty() == EnumDifficulty.NORMAL || player.worldObj.getDifficulty() == EnumDifficulty.HARD)
				if (player.worldObj.getTotalWorldTime() % 50 == 0)
					props.setCurrentRads(props.getCurrentRads() + 1);
		}
	}
}

@SubscribeEvent
public void onEntityUseItem(PlayerUseItemEvent event)
{
	EntityPlayer player = (EntityPlayer) event.entity;
	FalloutPlayer props = FalloutPlayer.get((EntityPlayer) event.entity);

	System.out.println(event.item.getDisplayName());

	if (event.item == new ItemStack(Items.potionitem))//.equals(new ItemStack(Items.potionitem)))
	{
		props.setCurrentThirst(-50);
		System.out.println("kek");
	}
}

@SubscribeEvent
public void onEntityAttack(LivingHurtEvent event)
{
	if (event.entity instanceof EntityPlayer)
	{

	}

	/**if (Fallout.isPoisonActive)
	{
		event.entityLiving.addPotionEffect(new PotionEffect(Fallout.potionCloudKiss.id, 20 * 10, 0, true));
		Fallout.isPoisonActive = false;
	}*/
}

@SubscribeEvent
public void onEntityJoinWorld(EntityJoinWorldEvent event)
{

}

@SubscribeEvent
public void onLivingDeathEvent(LivingDeathEvent event)
{
	if (event.entity instanceof EntityPlayer && Fallout.playDeathMusic)
	{
		event.entity.worldObj.playSoundAtEntity(event.entity, "fallout:playerDeath", 1.0F, 1);
	}

	if (!event.entity.worldObj.isRemote && event.entity instanceof EntityPlayer)
	{
		NBTTagCompound playerData = new NBTTagCompound();
		((FalloutPlayer) event.entity.getExtendedProperties(FalloutPlayer.EXT_PROP_NAME)).saveNBTData(playerData);
		proxy.storeEntityData(((EntityPlayer) event.entity).getCommandSenderEntity().getName(), playerData);
		FalloutPlayer.saveProxyData((EntityPlayer) event.entity);
	}
}

@SubscribeEvent
public void onEntityConstructing(EntityConstructing event)
{
	if (event.entity instanceof EntityPlayer && FalloutPlayer.get((EntityPlayer) event.entity) == null)
	{
		EntityPlayer player = (EntityPlayer)event.entity;

		FalloutPlayer.register(player);

		//player.openGui(Fallout.instance, Fallout.GUI_WELCOME_ID, player.worldObj, (int) player.posX, (int) player.posY, (int) player.posZ);
	}

	/*if (!event.entity.worldObj.isRemote && event.entity instanceof EntityPlayer)
	{
		EntityPlayer player = (EntityPlayer) event.entity;
		NBTTagCompound playerData = proxy.getEntityData((player.getCommandSenderName()));

		if (playerData != null)
		{
			((FalloutPlayer)(event.entity.getExtendedProperties(FalloutPlayer.EXT_PROP_NAME))).loadNBTData(playerData);
		}

		Fallout.packetPipeline.sendTo(new SyncPlayerPropsPacket(player), (EntityPlayerMP) player);
		//((FalloutPlayer)(event.entity.getExtendedProperties(FalloutPlayer.EXT_PROP_NAME))); //.syncExtendedProperties();
	}*/
}

@SubscribeEvent
public void lol(ItemTossEvent event)
{
	if (Math.random() * 10000 == 1)
	{
		event.entity.worldObj.spawnEntityInWorld(new EntityLightningBolt(event.entity.worldObj, event.entity.posX, event.entity.posY, event.entity.posZ));
	}
}

@SubscribeEvent
public void onExplosion(ExplosionEvent event)
{
	System.out.println(Fallout.doExplosionsDamageTerrain);
	event.explosion.doExplosionB(false);
}

@SideOnly(Side.CLIENT)
@SubscribeEvent(priority=EventPriority.NORMAL, receiveCanceled=true)
public void onEvent(GuiOpenEvent event)
{
	if (event.gui instanceof GuiIngameModOptions)
		event.gui = new GuiFalloutConfig(null);   
}
}

 

 

Help?

Link to comment
Share on other sites

As I am not sure, I will throw wild guess:

Don't use @SideOnly(Side.CLIENT).

Separate your client and common events to 2 classes and register classes based on proxy.

 

Other than that - what is inside Fallout class? (the one you are extending?)

 

1.7.10 is no longer supported by forge, you are on your own.

Link to comment
Share on other sites

The weirdest thing just happened, I removed a tileentity I had been working on and the game will stop crashing, however the error is still thrown. I also moved the client/server stuff in the event handler to their own classes and registered on both client/server but it didn't change anything. Here's the Fallout class:

 

package blfngl.fallout;

import java.util.ArrayList;
import java.util.List;

import net.minecraft.block.Block;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraft.item.ItemArmor.ArmorMaterial;
import net.minecraft.potion.Potion;
import net.minecraft.stats.Achievement;
import net.minecraft.util.DamageSource;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.fml.common.FMLCommonHandler;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.Mod.Instance;
import net.minecraftforge.fml.common.SidedProxy;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.event.FMLServerStartingEvent;
import net.minecraftforge.fml.common.network.NetworkRegistry;
import blfngl.fallout.init.Armor;
import blfngl.fallout.init.BlocksFallout;
import blfngl.fallout.init.ChemEffects;
import blfngl.fallout.init.Chems;
import blfngl.fallout.init.Entities;
import blfngl.fallout.init.Food;
import blfngl.fallout.init.Guns;
import blfngl.fallout.init.Hooks;
import blfngl.fallout.init.Melee;
import blfngl.fallout.init.Misc;
import blfngl.fallout.init.Recipes;
import blfngl.fallout.init.Throwing;
import blfngl.fallout.init.Unarmed;
import blfngl.fallout.proxy.ClientProxy;
import blfngl.fallout.proxy.CommonProxy;
import blfngl.fallout.proxy.PacketPipeline;
import blfngl.fallout.render.RenderItems;
import blfngl.fallout.server.command.CommandFallout;
import blfngl.fallout.server.command.CommandGetSkills;
import blfngl.fallout.server.command.CommandRadStats;
import blfngl.fallout.server.command.CommandSetSkills;
import blfngl.fallout.util.ChemEffectHandler;
import blfngl.fallout.util.FalloutAchievement;
import blfngl.fallout.util.FalloutConfig;
import blfngl.fallout.util.FalloutEventHandler;
import blfngl.fallout.util.VanillaBlockDrops;

@Mod(modid = "fallout", name = "The Fallout Mod", version = "[1.8] v0.1.6", guiFactory = "blfngl.fallout.util.FalloutGuiFactory")
public class Fallout
{
@Instance("fallout")
public static Fallout instance;	
@SidedProxy(clientSide = "blfngl.fallout.proxy.ClientProxy", serverSide = "blfngl.fallout.proxy.CommonProxy", modId = "fallout")
public static CommonProxy proxy;

public static final int GUI_PIPBOY_ID = 0;
public static final int GUI_WORKBENCH_ID = 1;
public static final int GUI_RELOADINGBENCH_ID = 2;
public static final int GUI_WELCOME_ID = 3;
public static final int GUI_POWERCRAFTING_ID = 4;
public static final int GUI_PIPBOYSTATS_ID = 5;

public static final int RAD_WATCHER = 20;
public static final int THIRST_WATCHER = 14;
public static final int ADDICTION = 21;
public static final int RAD_REDUCTION = 22;
public static final int IS_RELOADING = 23;

public static final int SKILL_MEDICINE = 30;
public static final int SKILL_GUNS = 31;
public static final int SKILL_ENERGY = 24;
public static final int SKILL_EXPLOSIVES = 25;
public static final int SKILL_MELEE = 26;
public static final int SKILL_REPAIR = 27;
public static final int SKILL_SCIENCE = 28;
public static final int SKILL_SURVIVAL = 29;
public static final int SKILL_UNARMED = 19;

public static final int STRENGTH = 43;
public static final int ENDURANCE = 45;
public static final int INTELLIGENCE = 47;
public static final int AGILITY = 48;
public static final int LUCK = 49;

public static final int NBT_TAG_COMPOUND = 0;
public static final String PACKET_CHANNEL = "FALLOUT";
public static final String VERSION = "[1.8] v0.1.8";
public static final PacketPipeline packetPipeline = new PacketPipeline();
public static Configuration config;

public static boolean doExplosionsDamageTerrain = false;
public static boolean doAutoStimpaksNotify = true;
public static boolean isPoisonActive = false;
public static boolean playDeathMusic = true;
public static boolean canIrradiate = true;

public static DamageSource sourceGun = new DamageSource("fallout.gun");

public static Block workbench;
public static Block reloadingBench;
public static Block betterTable;
public static Block irradiatedGrass;
public static Block irradiatedSand;
public static Block irradiatedStone;
public static Block irradiatedDirt;

public static Block caveFungus;

public static CreativeTabs tabMisc;
public static CreativeTabs tabChems;
public static CreativeTabs tabArmor;
public static CreativeTabs tabMelee;
public static CreativeTabs tabPistols;
public static CreativeTabs tabBlocks;
public static CreativeTabs tabShotguns;
public static CreativeTabs tabHeavy;
public static CreativeTabs tabEnergy;

public static Item antivenom;
public static Item stimpak;
public static Item superStimpak;
public static Item buffout;
public static Item cateye;
public static Item fixer;
public static Item jet;
public static Item doctorBag;
public static Item healingPowder;
public static Item healingPoultice;
public static Item hydra;
public static Item medX;
public static Item psycho;
public static Item rebound;
public static Item turbo;
public static Item autoStimpak;
public static Item autoSuperStimpak;
public static Item radX;
public static Item snakebiteTourniquet;
public static Item stealthboy;
public static Item jetDixon;
public static Item ultrajet;
public static Item slasher;
public static Item weaponKit;
public static Item radAway;

public static Item mutfruit;
public static Item brocFlower;
public static Item xanderRoot;
public static Item agave;
public static Item barrelCactus;
public static Item bananaYucca;
public static Item caveFungusItem;

public static Block blockXanderRoot;
public static Block blockBrocFlower;

public static Item nukaCola;

public static Item emptySyringe;
public static Item jetInhaler;
public static Item leatherBelt;
public static Item sodaBottle;
public static Item bottleCap;
public static Item sensorModule;
public static Item nightstalkerBlood;
public static Item radscorpionGland;
public static Item saturniteIngot;
public static Item abraxo;
public static Item plasticScrap;
public static Item plasticPiping;
public static Item geckoHide;
public static Item goldenGeckoHide;
public static Item fireGeckoHide;
public static Item greenGeckoHide;

public static Item round357;
public static Item round44;
public static Item round45;
public static Item round556;
public static Item round9mm;
public static Item round10mm;
public static Item roundGovt;
public static Item round127;
public static Item round22;
public static Item round5mm;
public static Item round50mg;
public static Item round308;
public static Item bb;
public static Item shell20;
public static Item shell12;
public static Item nail;

public static Item case357;
public static Item case44;
public static Item case45;
public static Item case556;

public static Item partChamber;
public static Item partBarrel;
public static Item partHammer;
public static Item partWoodStock;
public static Item partTrigger;
public static Item partHandle;
public static Item partSlide;
public static Item partRifleBarrel;

public static Item cellMicrofusion;
public static Item alienPowerCell;
public static Item flamerFuel;
public static Item energyCell;
public static Item missile;

public static Item pistol357;
public static Item lucky;
public static Item pistol44;
public static Item mysteriousMagnum;
public static Item pistol45;
public static Item lightDarkness;
public static Item pistol556;
public static Item thatGun;
public static Item pistol9mm;
public static Item maria;
public static Item pistol10mm;
public static Item pistolWeathered;
public static Item pistol127mm;
public static Item lilDevil;
public static Item huntingRevolver;
public static Item rangerSequoia;
public static Item pistolPolice;
public static Item pistol22;

public static Item rifleMateriel;
public static Item rifleAssaultCarbine;
public static Item rifleAutomatic;
public static Item rifleBattle;
public static Item thisMachine;
public static Item rifleBB;
public static Item rifleAbilene;
public static Item rifleBrush;
public static Item medicineStick;
public static Item cowboyRepeater;
public static Item rifleCarabine;
public static Item rifleHunting;
public static Item paciencia;
public static Item rifleLmg;
public static Item bozar;
public static Item rifleMarksman;
public static Item allAmerican;
public static Item rifleService;
public static Item rifleSurvival;
public static Item rifleSniper;
public static Item rifleCos;
public static Item rifleGobi;
public static Item rifleTrail;
public static Item rifleVarmint;
public static Item ratslayer;

public static Item shotgunCaravan;
public static Item shotgunSturdy;
public static Item shotgunHunting;
public static Item dinnerBell;
public static Item shotgunLever;
public static Item shotgunRiot;
public static Item shotgunSawed;
public static Item bigBoomer;
public static Item shotgunSingle;

public static Item smg45;
public static Item smg9mm;
public static Item smgVance;
public static Item smg10mm;
public static Item sleepytyme;
public static Item smg127mm;
public static Item nailgun;
public static Item smg22mm;

public static Item alienBlaster;
public static Item cFinder;
public static Item flareGun;
public static Item laserPistol;
public static Item complianceRegulator;
public static Item pewPew;
public static Item plasmaDefender;
public static Item plasmaPistol;
public static Item pulseGun;
public static Item rechargerPistol;
public static Item hyperbreeder;
public static Item sonicEmitter;

public static Item gaussRifle;
public static Item YCS;
public static Item holorifle;
public static Item laer;
public static Item laerElijah;
public static Item rcw;
public static Item laserRifle;
public static Item AER14;
public static Item laserRifleVanGraff;
public static Item multiplaRifle;
public static Item plasmaRifle;
public static Item plasmaRifleVanGraff;
public static Item Q35;
public static Item rechargerRifle;
public static Item triBeamRifle;

public static Item missileLauncher;

public static Item cleaver;
public static Item bladeOfTheEast;
public static Item cosmicKnife;
public static Item cosmicClean;
public static Item cosmicHeated;
public static Item ohBaby;
public static Item bladeOfTheWest;
public static Item knockKnock;
public static Item inverseAxe;
public static Item antenna;
public static Item nukaBreaker;

public static Item powerFist;
public static Item saturniteFist;
public static Item ballisticFist;
public static Item displacerGlove;
public static Item twoStep;

public static Item grenade;
public static Item spear;

public static Item pipboy;

public static Item cloudKiss;

public static Item helm45;
public static Item chest45;
public static Item legs45;
public static Item boots45;
public static Item helmRecon;
public static Item chestRecon;
public static Item legsRecon;
public static Item bootsRecon;
public static Item helm51;
public static Item chest51;
public static Item legs51;
public static Item boots51;
public static Item helmRad;
public static Item chestRad;
public static Item legsRad;
public static Item bootsRad;
public static Item helmRiotElite;
public static Item chestRiotElite;
public static Item legsRiotElite;
public static Item bootsRiotElite;
public static Item chestGecko;
public static Item legsGecko;
public static Item bootsGecko;
public static Item helmLeather;
public static Item chestLeather;
public static Item legsLeather;
public static Item bootsLeather;

public static Item recBlueMoon;
public static Item recKickHead;

public static Potion potionBuffout;
public static Potion potionAddicted;
public static Potion potionRadResist;
public static Potion potionCloudKiss;
public static Potion potionMinorRad;
public static Potion potionAdvancedRad;
public static Potion potionCriticalRad;
public static Potion potionDeadlyRad;

public static int potionBuffoutId;
public static int potionAddictedId;
public static int potionRadResistId;
public static int potionCloudKissId;
public static int potionMinorRadId;
public static int potionAdvancedRadId;
public static int potionCriticalRadId;
public static int potionDeadlyRadId;

public static ArmorMaterial falloutLeather;

public static Achievement shootEmUp;

public static List<Item> namesList = new ArrayList<Item>();

@EventHandler
public void preInit(FMLPreInitializationEvent event)
{
	System.out.println("Blfngl's Fallout mod loading...");

	FMLCommonHandler.instance().bus().register(new FalloutConfig());
	config = new Configuration(event.getSuggestedConfigurationFile());
	config.load();
	FalloutConfig.syncConfig();
	FalloutConfig.createModInfo(event);

	ChemEffectHandler.init();

	MinecraftForge.EVENT_BUS.register(new FalloutEventHandler());
	MinecraftForge.EVENT_BUS.register(new VanillaBlockDrops());
	//FMLCommonHandler.instance().bus().register(new FalloutEventHandler());
	FMLCommonHandler.instance().bus().register(new VanillaBlockDrops());

	FMLCommonHandler.instance().bus().register(new ClientProxy());
	Entities.init();
}

@EventHandler
public void init(FMLInitializationEvent event)
{
	Misc.init();
	BlocksFallout.init();
	Armor.init();
	Chems.init();
	Melee.init();
	Unarmed.init();
	Guns.init();
	Throwing.init();
	ChemEffects.init();
	Food.init();
	Recipes.init();
	Hooks.init();
	FalloutAchievement.init();

	RenderItems.doRender(event);
	NetworkRegistry.INSTANCE.registerGuiHandler(this, new CommonProxy());
	packetPipeline.initialise();
	proxy.initRender();
}

@EventHandler
public void serverLoad(FMLServerStartingEvent event)
{
	event.registerServerCommand(new CommandGetSkills());
	event.registerServerCommand(new CommandFallout());
	event.registerServerCommand(new CommandRadStats());
	event.registerServerCommand(new CommandSetSkills());

	System.out.println("Fallout commands loaded");
}

@EventHandler
public static void postInit(FMLPostInitializationEvent event)
{
	System.out.println("Blfngl's Fallout mod loaded!");
}
}

 

Link to comment
Share on other sites

This is at least bad design, comes near bad coding.

 

Don't extend MainMod.class with event handler. You literally declared all mod's fields twice (Items, Tabs, all that stuff).

Declaration is not initialization but still - takes space, why would you even extend that?

 

If you separated client/server classes, then next thing is here:

FMLCommonHandler.instance().bus().register(new FalloutConfig());
FMLCommonHandler.instance().bus().register(new VanillaBlockDrops());
FMLCommonHandler.instance().bus().register(new ClientProxy());

 

One of those is probably bad.

Post them.

 

It'd be much faster if you would make prints in preInit on every line.

All I know right now is that "404 line" is wrong and it's somthing with FML.

1.7.10 is no longer supported by forge, you are on your own.

Link to comment
Share on other sites

Yeah, I know it's bad design haha I wrote this 3 years ago and haven't gotten around to cleaning up the code form. I did it back then because I thought it would save time in writing out all the item names, so I didn't have to put Fallout. in front of all of them. This was when I was learning java :/ Probably should get around to removing that lol.

 

Vanilla block drops:

public class VanillaBlockDrops
{
@SubscribeEvent
public void on(HarvestDropsEvent event)
{
	if (event.state instanceof BlockLeaves)
	{
		event.dropChance = 0.1F;
		event.drops.add(new ItemStack(Fallout.mutfruit));
	}
}
}

 

FalloutConfig:

public class FalloutConfig
{
public static void createModInfo(FMLPreInitializationEvent event)
{
	ModMetadata var2 = event.getModMetadata();
	var2.authorList = Arrays.asList(new String[] {"Blfngl"});
	var2.autogenerated = false;
	var2.modId = "fallout";
	var2.name = "The Fallout Mod";
	var2.description = "A mod in which most of the items from all of the Fallout games will be added." +
			" Most everything will be there, but this will take a very long time, mainly because the Fallout universe is so huge. " +
			"I am 100% dedicated to this mod and one day it will be completed. After looking around for a Fallout mod and finding some, " +
			"but none that were fully completed or updated to the current version, I was very disappointed and hoped for one to be updated eventually. " +
			"Alas, none of that was true. So I took matters into my own hands and this was the product.";
	var2.version = "0.1.6 [1.8]";
	var2.credits = "Mojang, MinecraftForge and everyone that uses this mod ";
	var2.logoFile = "fallout:textures/gui/blflogo.png";
	var2.url = "http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2286972-";
}

public static void syncConfig()
{
	Fallout.doExplosionsDamageTerrain = Fallout.config.get(Configuration.CATEGORY_GENERAL, "ExplosionsDamageTerrain", false).getBoolean(true);
	Fallout.doAutoStimpaksNotify = Fallout.config.get(Configuration.CATEGORY_GENERAL, "AutoInjectStimpakNotification", true).getBoolean(true);
	Fallout.playDeathMusic = Fallout.config.get(Configuration.CATEGORY_GENERAL, "PlayDeathMusic", true).getBoolean(true);
	Fallout.canIrradiate = Fallout.config.get(Configuration.CATEGORY_GENERAL, "CanIrradiate", true).getBoolean(true);

	Fallout.potionBuffoutId = Fallout.config.get(Configuration.CATEGORY_GENERAL, "PotionBuffoutId", 40).getInt();
	Fallout.potionAddictedId = Fallout.config.get(Configuration.CATEGORY_GENERAL, "PotionAddictedId", 41).getInt();
	Fallout.potionRadResistId = Fallout.config.get(Configuration.CATEGORY_GENERAL, "PotionRadResistId", 42).getInt();
	Fallout.potionCloudKissId = Fallout.config.get(Configuration.CATEGORY_GENERAL, "PotionCloudKissId", 43).getInt();
	Fallout.potionMinorRadId = Fallout.config.get(Configuration.CATEGORY_GENERAL, "PotionMinorRadId", 44).getInt();
	Fallout.potionAdvancedRadId = Fallout.config.get(Configuration.CATEGORY_GENERAL, "PotionAdvancedRadId", 45).getInt();
	Fallout.potionCriticalRadId = Fallout.config.get(Configuration.CATEGORY_GENERAL, "PotionCriticalRadId", 46).getInt();
	Fallout.potionDeadlyRadId = Fallout.config.get(Configuration.CATEGORY_GENERAL, "PotionDeadlyRadId", 47).getInt();

	Fallout.config.save();
	System.out.println("Fallout config loaded...");
}

@EventHandler
public void onConfigChanged(ConfigChangedEvent.OnConfigChangedEvent event)
{
	if(event.modID.equals("fallout"))
		syncConfig();
}
}

 

 

ClientProxy:

public class ClientProxy extends CommonProxy
{
@Override
@SideOnly(Side.CLIENT)
public void initRender()
{
	EventBus eventBus = FMLCommonHandler.instance().bus();
	eventBus.register(new FalloutKeyBinding());

	RenderManager render = Minecraft.getMinecraft().getRenderManager();
	//MinecraftForge.EVENT_BUS.register(new GuiRadBar(Minecraft.getMinecraft()));
	RenderingRegistry.registerEntityRenderingHandler(EntityGrenade.class, new RenderSnowball(render, Fallout.grenade, null));

	RenderingRegistry.registerEntityRenderingHandler(EntityFeralGhoul.class, new RenderFeralGhoul(render, new ModelBiped(), 0.5F));
	RenderingRegistry.registerEntityRenderingHandler(EntityGhoulRoamer.class, new RenderGhoulRoamer(render, new ModelBiped(), 0.5F));
	RenderingRegistry.registerEntityRenderingHandler(EntityGhoulReaver.class, new RenderGhoulReaver(render, new ModelBiped(), 0.5F));
	RenderingRegistry.registerEntityRenderingHandler(EntityAnt.class, new RenderAnt(render, new ModelSpider(), 0.5F));
}
}

 

Link to comment
Share on other sites

Sadly - nothing. Mistake is porbably simple, but right now I haven't slept fort too long and it's 7AM alredy, so I guess you'll wait for some forge Guru.

 

Lemme just give you some hints:

Place breakpoints, as many as possible, all the way in preInit. It should lead you directly to error.

If not breakpoints - just ad prints every line and go deeper and deeper.

95% problems can be solved that way. xD

 

Cya, gl m8!

1.7.10 is no longer supported by forge, you are on your own.

Link to comment
Share on other sites

Did you remove 'extends Fallout' from your FalloutEventHandler class? Because that is what is causing the error - when you create a new instance of that class, it's also trying to create a new instance of your mod container class and that is failing to instantiate (i.e. create a new instance).

 

Usually, your event-handling classes will not extend anything at all, though you can register any class as an event handler.

Link to comment
Share on other sites

Yep, I did remove that. I think it's coming from an error within the datawatcher, it's kinda freaking out about one of the values. A new error appeared in addition to the old one.

 

New error:

[00:33:04] [server thread/ERROR] [FML]: Failed to load extended properties for ExtendedPlayer.  This is a mod issue.
[00:33:04] [server thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: java.lang.NullPointerException
[00:33:04] [server thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at blfngl.fallout.player.FalloutPlayer.loadNBTData(FalloutPlayer.java:102)
[00:33:04] [server thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraft.entity.Entity.readFromNBT(Entity.java:1710)
[00:33:04] [server thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraft.server.management.ServerConfigurationManager.readPlayerDataFromFile(ServerConfigurationManager.java:300)
[00:33:04] [server thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraft.server.management.ServerConfigurationManager.initializeConnectionToPlayer(ServerConfigurationManager.java:123)
[00:33:04] [server thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.completeServerSideConnection(NetworkDispatcher.java:237)
[00:33:04] [server thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.access$100(NetworkDispatcher.java:50)
[00:33:04] [server thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.update(NetworkDispatcher.java:189)
[00:33:04] [server thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:270)
[00:33:04] [server thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:208)
[00:33:04] [server thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:798)
[00:33:04] [server thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:669)
[00:33:04] [server thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:171)
[00:33:04] [server thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:540)
[00:33:04] [server thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at java.lang.Thread.run(Unknown Source)
[00:33:04] [server thread/INFO]: Player232[local:E:a60e33f5] logged in with entity id 406 at (244.42098377011422, 74.0, 246.1725924748317)

 

That specific line references:

	this.player.getDataWatcher().updateObject(Fallout.RAD_WATCHER, properties.getInteger("CurrentRads"));

 

It's value is set to 20, an ID which is free I believe.

 

I also completely removed the registry for the event handler and the error message would still appear but without any references inside it.

Link to comment
Share on other sites

NPE is not caused by conflicting DataWatcher IDs (that would give you a different error), it's caused by something actually being null.

 

Put a break point on your line, or just break it up and let it crash again:

this.
  player.
  getDataWatcher().
  updateObject(
  Fallout.
  RAD_WATCHER,
  properties.
  getInteger("CurrentRads"));

That will tell you exactly what is null - my guess is 'properties', unless that's the NBT tag compound from the method parameter.

 

As for your registry, what error message is appearing now? You said it doesn't happen when you load, but when you 'access certain parts of the mod' - which parts, exactly?

Link to comment
Share on other sites

Well I found out what was causing that wall of text, it was this:

 

	@SubscribeEvent
public void onEntityUseItem(PlayerUseItemEvent event)
{
	EntityPlayer player = (EntityPlayer) event.entity;
	FalloutPlayer props = FalloutPlayer.get((EntityPlayer) event.entity);

	System.out.println(event.item.getDisplayName());

	if (event.item == new ItemStack(Items.potionitem))//.equals(new ItemStack(Items.potionitem)))
	{
		props.setCurrentThirst(-50);
		System.out.println("kek");
	}
}

 

Any idea why?

Link to comment
Share on other sites

Dude you're jumping all over here - try to stick with one problem at a time. I don't see how that code you just posted could be causing an InstantiationException, unless there is some hidden code enforcing new potion ItemStacks to contain a valid potion - the one you made is basically pointless.

 

Furthermore, you shouldn't compare ItemStacks with == or even .equals, but rather with ItemStack#areItemStacksEqual or something similar, or if you just want to compare the item, with stack.getItem() == Items.potionitem.

Link to comment
Share on other sites

Sorry about that :/ it's just this error is so strange and I'm quite confused by it. However, the last block I posted was what was causing it, unsure why though. What I was trying to do there was detect when a player was drinking from a water bottle.

Link to comment
Share on other sites

Sorry about that :/ it's just this error is so strange and I'm quite confused by it. However, the last block I posted was what was causing it, unsure why though. What I was trying to do there was detect when a player was drinking from a water bottle.

The last block you posted is extremely unlikely to be what caused the crash log that you first posted - that one was most definitely caused by you extending your main mod class and trying to make a new instance of it.

 

If you are still getting a crash, post the crash log that points to a line in the code block you posted. Otherwise, and this is nothing against you, I will not believe a word you say. When dealing with errors, either there is a crash log or a very detailed explanation of how to reproduce the error; lacking either of those, the error doesn't exist.

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.

Announcements



×
×
  • Create New...

Important Information

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