Jump to content

Recommended Posts

Posted

I dont know whats going on I'm following along with shadowfacts' tutorial

shadowfacts.net/tutorials/forge-modding-1102/overview/

and I'm getting this error

 

 

 

[21:52:29] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:649]: ---- Minecraft Crash Report ----

// Don't do that.

 

Time: 1/08/16 9:52 PM

Description: There was a severe problem during mod loading that has caused the game to fail

 

net.minecraftforge.fml.common.LoaderException: java.lang.ClassNotFoundException: net.dtm450.bigindustry.proxy.ClientProxy

at net.minecraftforge.fml.common.ProxyInjector.inject(ProxyInjector.java:88)

at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:559)

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:498)

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)

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

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

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

at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:235)

at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:213)

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:498)

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)

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

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

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

at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:142)

at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:531)

at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:216)

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

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

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

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:498)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)

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

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:498)

at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)

at GradleStart.main(GradleStart.java:26)

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:498)

at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)

Caused by: java.lang.ClassNotFoundException: net.dtm450.bigindustry.proxy.ClientProxy

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)

at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

at net.minecraftforge.fml.common.ModClassLoader.loadClass(ModClassLoader.java:72)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:348)

at net.minecraftforge.fml.common.ProxyInjector.inject(ProxyInjector.java:71)

... 44 more

Caused by: java.lang.NullPointerException

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182)

... 50 more

 

 

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

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

 

-- System Details --

Details:

Minecraft Version: 1.10.2

Operating System: Windows 10 (amd64) version 10.0

Java Version: 1.8.0_102, Oracle Corporation

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

Memory: 813732904 bytes (776 MB) / 1196949504 bytes (1141 MB) up to 3804758016 bytes (3628 MB)

JVM Flags: 0 total;

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

FML: MCP 9.32 Powered by Forge 12.18.1.2011 4 mods loaded, 4 mods active

States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

UC mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)

UC FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.10.2-12.18.1.2011.jar)

UC Forge{12.18.1.2011} [Minecraft Forge] (forgeSrc-1.10.2-12.18.1.2011.jar)

UE bigindustry{1.0.0} [big Industry] (Big-Industry_main)

Loaded coremods (and transformers):

GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13447 Compatibility Profile Context 16.300.2311.0' Renderer: 'AMD Radeon R9 200 Series'

[21:52:29] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:649]: #@!@# Game crashed! Crash report saved to: #@!@# D:\GitHub\PROJECTS\Minecraft\1.10\Big-Industry\.\crash-reports\crash-2016-08-01_21.52.29-client.txt

 

Process finished with exit code -1

 

 

Posted

Caused by: java.lang.ClassNotFoundException: net.dtm450.bigindustry.proxy.ClientProxy

The client proxy class you specified in the

@SidedProxy

annotation doesn't exist. Make sure the annotation matches the actual class's name and package exactly.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

Could you post the code of your main class.

 

Here it is

 

 

package com.dtm450.bigindustry;

 

import com.dtm450.bigindustry.block.BigIndustryBlocks;

import com.dtm450.bigindustry.item.BigIndustryItems;

import com.dtm450.bigindustry.proxy.CommonProxy;

import net.minecraftforge.fml.common.Mod;

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;

 

@Mod(modid = BigIndustry.MOD_ID, name = BigIndustry.NAME, version = BigIndustry.VERSION, acceptedMinecraftVersions = "[1.10.2]")

public class BigIndustry {

 

    public static final String MOD_ID = "bigindustry";

    public static final String NAME = "Big Industry Mod";

    public static final String VERSION = "1.0.0";

 

    @Mod.Instance(MOD_ID)

    public static BigIndustry instance;

 

    @Mod.EventHandler

    public void preInit(FMLPreInitializationEvent event) {

        System.out.println(NAME + ": Firing up the engines");

            BigIndustryItems.init();

            BigIndustryBlocks.init();

 

    }

 

    @Mod.EventHandler

    public void init(FMLInitializationEvent event) { System.out.println(NAME + ": Pressure is rising");

 

    }

 

    @Mod.EventHandler

    public void postInit(FMLPostInitializationEvent event) { System.out.println(NAME + ": Systems are green, we are a go!");

 

    }

 

    @SidedProxy(serverSide = "net.dtm450.bigindustry.proxy.CommonProxy", clientSide = "net.dtm450.bigindustry.proxy.ClientProxy")

    public static CommonProxy proxy;

 

}

 

 

Posted

Ok rhanks I'll try this out tomorrow

 

Ok I tried this and its throwing a similar error

 

 

 

[09:31:01] [Client thread/ERROR] [FML]: An error occurred trying to load a proxy into {serverSide=CommonProxy, clientSide=ClientProxy}.mod.dtm450.bigindustry.BigIndustry

java.lang.ClassNotFoundException: ClientProxy

 

 

Posted

Show your new main class and a screenshot of your package explorer.

 

package

 

 

 

main class

 

 

package mod.dtm450.bigindustry;

 

import mod.dtm450.bigindustry.proxy.CommonProxy;

import mod.dtm450.bigindustry.block.BigIndustryBlocks;

import mod.dtm450.bigindustry.item.BigIndustryItems;

import net.minecraftforge.fml.common.Mod;

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;

 

@Mod(modid = BigIndustry.MOD_ID, name = BigIndustry.NAME, version = BigIndustry.VERSION, acceptedMinecraftVersions = "[1.10.2]")

public class BigIndustry {

 

    public static final String MOD_ID = "bigindustry";

    public static final String NAME = "Big Industry Mod";

    public static final String VERSION = "1.0.0";

 

    @Mod.Instance(MOD_ID)

    public static BigIndustry instance;

 

    @Mod.EventHandler

    public void preInit(FMLPreInitializationEvent event) {

        System.out.println(NAME + ": Firing up the engines");

            BigIndustryItems.init();

            BigIndustryBlocks.init();

 

    }

 

    @Mod.EventHandler

    public void init(FMLInitializationEvent event) { System.out.println(NAME + ": Pressure is rising");

 

    }

 

    @Mod.EventHandler

    public void postInit(FMLPostInitializationEvent event) { System.out.println(NAME + ": Systems are green, we are a go!");

 

    }

 

    @SidedProxy(serverSide = "CommonProxy", clientSide = "ClientProxy")

    public static CommonProxy proxy;

 

}

 

 

 

also I'm live on twitch if you want to join www.twitch.tv/dtm450

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.