Project Red - Exploration

Project Red - Exploration

27M Downloads

Crash on startup with 4.4.7 build 46

stevenlr opened this issue ยท 12 comments

commented

Using Base, Compatibility, Integration and Lighting.

Crash report : http://pastebin.com/2cZzH6Zb

commented

Weird, that class does exist in the jar file. Can you try redownloading the files?

commented

I redownloaded and it still happens. This class is indeed in the jar file and the whole thing does not seem to be corrupted.

commented

I installed the other two components (Mechanical and World) and it now works.

commented

Compatibility has a hidden dependency on World.

commented

After a few tests, I found out that the crash only happens if the World module is disabled.

commented

Applying Simon's solution as well as mine of splitting it works great. See #553.

commented

That's a very well hidden dependency injection
So doing this in PluginTreecapitator.scala should fix it right?

 object PluginTreecapitator extends IPRPlugin
 {
-    override def getModIDs = Array("TreeCapitator")
+    override def getModIDs = Array("TreeCapitator", "ProjRed|Exploration")

     override def preInit() {}
commented

Possibly, I can't say for sure yet.

commented

No, the only solution is to split out the World dependent code and have it register if the World jar is there.

commented

I think simon's solution would work.

commented

Simon's solution does not work as getModIDs is called after the Services$ class tries to create itself and encounters the init method. See https://github.com/kenzierocks/ProjectRed/tree/simons-patch.