Server Crash

Started by Enersios on Thu, 06/28/2018 - 12:36

Topic category: Bugs and solutions

Last seen on 10:01, 29. Jun 2018
Joined Jun 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Server Crash
Thu, 06/28/2018 - 12:36

Hey ! All blocks of my mod crash my server :

Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/entity/EntityClientPlayerMP
	at mod.mcreator.mcreator_lymbowOre.<clinit>(mcreator_lymbowOre.java:52)
	at mod.mcreator.testenvironmentmod.<init>(testenvironmentmod.java:65)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at java.lang.Class.newInstance(Class.java:442)
	at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:173)
	at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:506)
	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 cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
	at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
	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 cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
	at cpw.mods.fml.common.Loader.loadMods(Loader.java:513)

Please help me !

Last seen on 16:12, 19. Jul 2020
Joined Jun 2014
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Well, there are 2 forum…
Wed, 07/04/2018 - 02:39

Well, there are 2 forum topics that MIGHT help:

 

https://mcreator.net/forum/37365/are-mcreator-mods-server-compatible

https://mcreator.net/forum/39209/mcreator-bugs-and-how-fix-them

 

They're not exactly crystal clear on what needs to be done, but they can at least point you (well, US, since I have the same problem I'm trying to still figure out) in the right direction.  Maybe.  I'm going to try and poke around some more, and if I can get it to work, I'll post the solution.

Good luck!

Last seen on 16:12, 19. Jul 2020
Joined Jun 2014
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I got a dumb question for ya…
Wed, 07/04/2018 - 13:17

I got a dumb question for ya... is your mod's workspace from a previous version of MCreator?  That is, did you import an .mcr file from 1.7.x (for example) to 1.7.9, and tried to build a server mod out of that?

Last seen on 16:12, 19. Jul 2020
Joined Jun 2014
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You know what?  Never mind. …
Wed, 07/04/2018 - 15:21

You know what?  Never mind.  I'm barking up the wrong tree.  :-/

Last seen on 16:12, 19. Jul 2020
Joined Jun 2014
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
OK, this might help even…
Thu, 07/05/2018 - 14:34

OK, this might help even more:  https://mcreator.net/comment/54988

 

Note that Klemen has warned that this "fix" could cause other problems, so beware.