Jump to content

Solved [1.10.2] ClientProxy Error


DTM450

Recommended Posts

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

 

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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;

 

}

 

 

Link to comment
Share on other sites

It is as Choonster said I assume you created a class called ClientProxy is "net.dtm450.bigindustry.proxy.ClientProxy" the class that extends your CommonProxy?

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

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

 

 

Link to comment
Share on other sites

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

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • im stuck in a problem whit BlockEntities i cannot solve so im trying to work around it but in the less complex way possible  i think is posible to store data to the minecraft world  in older versions people talk about  WordDataSave i dont find anything about it for 1.20.4  i find a tutorial for player capability in 1.19    here is an event      //########## ########## ########## ##########     @SubscribeEvent     public static void onAttachCapabilitiesPlayer(AttachCapabilitiesEvent<Entity> event) {         if(event.getObject() instanceof Player) {             if(!event.getObject().getCapability(PlayerThirstProvider.PLAYER_THIRST).isPresent()) {                 event.addCapability(new ResourceLocation(mercmod.MOD_ID, "properties"), new PlayerThirstProvider());             }         }     }  soo i made this      //########## ########## ########## ##########     @SubscribeEvent     public static void onAttachCapabilitiesLevel(AttachCapabilitiesEvent<Level> event) {     } i think i can do some witchcraft  here  but is many things don't understand  to start whit i dont get yet how to recall the saved data from a BlockEntity  the handler still in progress the plan is to make a Map to store nbt data using the block coordinates as index later store that map as a big nbt      ########## any way the question is if theres alredy a tutorial for 1.20.4 for this ?? or some alredy working code from someone else doing something similar ?           
    • I tried this, and found out that Oculus is the mod that is crashing the game. I have removed it, and it now works fine! Thanks!
    • Hi @DanielderErbauer, I arrived here as I have the "as it does not exist in Block{minecraft:air}" error in a modpack I am trying to start. It's a long-shot, I know, but as the post that led this to being solved is missing, can I ask if you may recall what it said? Thanks in advance
    • Hm yeah sorry, not seeing anything else that's sticking out, I'd need to debug myself probably. Do you have a github or bitbucket repo? I could poke around when I have time to see what the problem might be.
    • looking around for the capabilities thing i found a piece of code and find this piece of code  //########## ########## ########## ########## @SubscribeEvent public static void addCustomTrades(VillagerTradesEvent event) { if(event.getType() == VillagerProfession.FLETCHER) { System.out.println("\n\n### VillagerProfession.FLETCHER \n\n");//<----------- Int2ObjectMap<List<VillagerTrades.ItemListing>> trades = event.getTrades(); ItemStack stack = new ItemStack(ItemInit.ARROW_STEEL.get(), 16); int villagerLevel = 1; trades.get(villagerLevel).add((trader, rand) -> new MerchantOffer( new ItemStack(Items.EMERALD, 2), stack,1,3,0.02F)); } if(event.getType() == VillagerProfession.TOOLSMITH) { System.out.println("\n\n### VillagerProfession.TOOLSMITH \n\n");//<----------- Int2ObjectMap<List<VillagerTrades.ItemListing>> trades = event.getTrades(); ItemStack stack = new ItemStack(ItemInit.INGOT_STEEL.get(), 1); int villagerLevel = 1; trades.get(villagerLevel).add((trader, rand) -> new MerchantOffer( new ItemStack(Items.EMERALD, 2), stack,10,8,0.02F)); } } //########## ########## ########## ########## the event is aknoledge and execute when the maps load  ### VillagerProfession.FLETCHER  ### VillagerProfession.TOOLSMITH  //########## But is not working      is a random piece of code is not working  could it be than this code is old 1.18 and no valid anymore for 1.20.4 or the thing are this numbers  stack,10,8,0.02F));  i dont know what this numbers means    ########## the question is ¿how to add things to the villager traders    thanks for your attention               
  • Topics

×
×
  • Create New...

Important Information

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