Railcraft

Railcraft

34M Downloads

Railcraft 9.2.1.0 crash upon Minecraft startup: NoClassDefFoundError for TileRollingMachine

Techokami opened this issue ยท 16 comments

commented

Quite simply, I dropped the latest release of Railcraft into my modded Minecraft instance for testing and configuration, as my friends and I want to use this mod in our private server. However, it crashes before the Mojang logo even shows up.
Here is the crash report, and here is the console log. Forge version is 10.13.0.1199, which the Railcraft site lists as being the minimum required version. We are actively using all the mods listed in the crash report.

Thank you!

commented

@CovertJaguar could you compare the capitalization of the missing class package in the crash report and the one defined in that class? capitalization in that caused similar crashes for me in the past

commented

Broken how? The $ thing is an annonymous inner class.

commented

I don't do any reflection on that interface. =/

commented

not talking about reflection, i mean the package defined by java in the top of the file, before the actual start of the class

commented

I see nothing out of place.

commented

opened up the jar in winrar and found the issue: the class name is broken
knipsel

commented

but the normal one without $ isn't pressent. and that is what java is looking for (as far as i know)

commented

Its two lines below.

commented

I should mention that I DID finally get it to work. All I had to do was... rename the mod so it was at the top of the file list. Problem solved, I guess.

commented

Did you delete the Buildcraft folder in the Railcraft jar? That's about the only thing I can think that could cause this.

commented

I tried deleting the Buildcraft folder from the Railcraft jar (we've decided against using Buildcraft on our server for REASONS) and it still crashes, but this time it's a NoClassDefFoundError for mods/railcraft/common/blocks/machine/alpha/TileSteamOven
Here's the crash report, and here's the console log. Same environment as before.

To clarify, the original crash happened after downloading 9.2.1.0 from CurseForge and putting it in the mods folder, no changes to the jar whatsoever.

commented

Does installing Buildcraft fix the issue?

commented

Tested with Railcraft 9.2.2.0 on Minecraft 1.7.10 with Forge 10.13.0.1206 78: If Buildcraft (tested with 6.0.17 for 1.7.10) is present, there is no crash. But that leaves me with the problem of Buildcraft being installed...

My theory is that some of your Buildcraft integration stuff isn't behaving as a soft dependency. :/

commented

The class is present in the jar, so only thing I can figure is that FML isn't loading it or something. Try removing mods until it works, because I cannot duplicate it with just Railcraft installed.

commented

No mod can "remove" an api file so long as its included by at least one mod (another benefit to including the files). I really cannot fathom what the issue is here.

commented

That or API related