TheSledgeHammer / RetroBees

Forestry Mod add-on for Minecraft. Adds Bee Species that were originally used in Forestry before version 1.7 of Minecraft.
GNU Lesser General Public License v3.0
1 stars 3 forks source link

java.lang.IllegalArgumentException #6

Closed Skaphegor closed 5 years ago

Skaphegor commented 5 years ago

crash-2019-02-14_16.37.50-client.txt

There is new crash in version 1.1.2..

SuperSandro2000 commented 5 years ago
net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from RetroBees (retrobees)
Caused by: java.lang.IllegalArgumentException: Allele is the wrong type. Expected: EFFECT Got: null
    at forestry.core.genetics.alleles.AlleleHelper.set(AlleleHelper.java:139)
    at com.thesledgehammer.retrobees.bees.BeeBranches$2.setBranchProperties(BeeBranches.java:43)
    at com.thesledgehammer.retrobees.bees.BeeBranches.getTemplate(BeeBranches.java:216)
    at com.thesledgehammer.retrobees.bees.BeeSpecies.init(BeeSpecies.java:1435)
    at com.thesledgehammer.retrobees.bees.BeeSpecies.initBees(BeeSpecies.java:1423)
    at com.thesledgehammer.retrobees.init.ObjectBatchLoader.init(ObjectBatchLoader.java:41)
    at com.thesledgehammer.retrobees.proxy.CommonProxy.init(CommonProxy.java:40)
    at com.thesledgehammer.retrobees.proxy.ClientProxy.init(ClientProxy.java:33)
    at com.thesledgehammer.retrobees.RetroBees.init(RetroBees.java:43)
    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.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:624)
    at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
    at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
    at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
    at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
    at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
    at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
    at com.google.common.eventbus.EventBus.post(EventBus.java:217)
    at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219)
    at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197)
    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 com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
    at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
    at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
    at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
    at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
    at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
    at com.google.common.eventbus.EventBus.post(EventBus.java:217)
    at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:136)
    at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:744)
    at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:336)
    at net.minecraft.client.Minecraft.init(Minecraft.java:535)
    at net.minecraft.client.Minecraft.run(Minecraft.java:3931)
    at net.minecraft.client.main.Main.main(SourceFile:123)
    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:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
TheSledgeHammer commented 5 years ago

@SuperSandro2000 You need to give me more information. What forge, Forestry and RetroBees version or Modpack version if it is a Modpack Also if you had Tech Reborn & ProjectE installed or just one of them.

SuperSandro2000 commented 5 years ago

Pretty much the latest of everything while writing this. Forge 14.23.5.2836 Forestry 5.8.2.387 Retrobees 1.1.3 TechReborn 2.22.1.979 No ProjectE and technically it is a modpack by me but not yet public. I also have Binnies mods installed.

TheSledgeHammer commented 5 years ago

That's ok. Binnies mods shouldn't be an issue or the Modpack. I am pretty sure I have identified the cause of the issue, just needed that info to confirm it. If I am correct its to do with what is meant to be an optional ProjectE requirement, but due to an error I made, the requirement isn't optional hence the crash you posted. I will fix it and release an update. If you want to get it working, my suggestion is to install ProjectE as well until I release the bug fix

SuperSandro2000 commented 5 years ago

I haven't started my world yet and I dislike the idea of ProjectE. I am just going to configure the modpack without retrobees and add it again when it is fixed.

TheSledgeHammer commented 5 years ago

Ok, I just uploaded the latest release RetroBees 1.1.4 to curseforge, which contains the bug fix. So you should be able to use it once curseforge makes it publicly available

SuperSandro2000 commented 5 years ago

I can confirm that it loads now.