Jump to content
  • 0

Unable to play on server: java.lang.nosuchfilexception


Question

Posted

Title: Unable to play on server: java.lang.nosuchfilexception

Version: 3.1.2

OS: Windows 7 Home Premium

Java Version: Java 7 Update 10

Description of Problem:

So my server has been working fine up until just recently whereas now I cannot log on to play. I run it on my computer with only a maximum of 5 people on at a time. None of my friends are able to join. I'm not sure what caused this. When I log on, no chunks load and I'm just falling through infinite space until it eventually gives me a timed out error. The server log is fine until after my client times out. Then I get the severe java script warnings. I might note that this error only occurs on one world I've been using; the server runs fine when I start a new world.

Error Messages:

Error Log:


[sEVERE] java.lang.RuntimeException: java.lang.NoSuchMethodException: ic2.platform.NetworkManager.initiateTileEntityEvent(net.minecraft.src.TileEntity, int, boolean)

[sEVERE] at ic2.api.NetworkHelper.initiateTileEntityEvent(NetworkHelper.java:62)

[sEVERE] at ic2.advancedmachines.TileEntityAdvancedMachine.q_(TileEntityAdvancedMachine.java:130)

SEVERE] 	at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:559)

[sEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:457)

[sEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

[sEVERE] Caused by: java.lang.NoSuchMethodException: ic2.platform.NetworkManager.initiateTileEntityEvent(net.minecraft.src.TileEntity, int, boolean)

[sEVERE] at ic2.api.NetworkHelper.initiateTileEntityEvent(NetworkHelper.java:49)

[sEVERE] ... 5 more

[sEVERE] Unexpected exception

java.lang.RuntimeException: java.lang.NoSuchMethodException: ic2.platform.NetworkManager.initiateTileEntityEvent(net.minecraft.src.TileEntity, int, boolean)

	at ic2.api.NetworkHelper.initiateTileEntityEvent(NetworkHelper.java:62)

	at ic2.advancedmachines.TileEntityAdvancedMachine.q_(TileEntityAdvancedMachine.java:130)

	at net.minecraft.server.World.tickEntities(World.java:1189)

	at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:559)

	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:457)

	at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

Caused by: java.lang.NoSuchMethodException: ic2.platform.NetworkManager.initiateTileEntityEvent(net.minecraft.src.TileEntity, int, boolean)

	at java.lang.Class.getMethod(Unknown Source)

	at ic2.api.NetworkHelper.initiateTileEntityEvent(NetworkHelper.java:49)

	... 5 more

4 answers to this question

Recommended Posts

  • 0
Posted

this being that solution:

Well...I got tired of waiting for an official fix, so attached to this post are modified versions of the 3 IC2 classes with the minor interface conflict fixes, as follows: ElectricItem.class, EnergyNet.class, NetworkHelper.class

I have uploaded the 3 classes in a tiny zip file here:

ic2 api class fix

There is nothing dangerous about these files - they merely change the path and are just a patch (not the whole ic2 mod).

To fix the IC2 Tekkit 3.1.3 crashing, do the following:

1. Stop your Tekkit 3.1.3 server (if not already stopped...or crashed ^_^ )

2. Go to your Tekkit server mods folder

2. Find the file called: "industrialcraft2-1.103-mcpc1.2.5r2.zip"

3. Open the zip file and go into the ic2/api directory (no need to decompress it - just edit directly)

4. Delete ElectricItem.class, EnergyNet.class, and NetworkHelper.class

5. Download the class fix .zip in the above link

6. Copy the 3 classes from the downloaded zip and paste them into ic2 zip api folder where you just deleted the others

7. Close your ic2 zip and start your server. It should no longer crash relating to this specific interface fix. (It may crash for other reasons, however.)

[NOTE: This change is only for 3.1.3 installs, not 3.1.2]

My server seems to be stable on 3.1.3 with the Nuclear Control update and the attached fixed ic2 classes, including with working Rotary Macerator, etc. I didn't have to delete any advanced machines, downgrade, or reinstall. Also, I haven't really been screwing around with RailCraft, so I can't comment on that issue. I just wanted my automated quarries to work and for the server to be stable.

Finally, my feedback to the Tekkit team on the 3.1.3 release would be that, even though this is an IC2 mod issue, 3.1.3 isn't really a viable "final release". As we have all seen, 3.1.3 doesn't work and there should have been more due diligence and integration testing before pushing it to the public (such as including working Nuclear Control client/server mods which were already released). The upgrade was, no doubt, disappointing for many Tekkit users who wanted to try to upgrade from 3.1.2. Also, it is far beyond the average user ability to be able to install IDEs, decompile and recompile java files, or even set up the required mod build environment with MCP and all the necessary includes (or even understand what was happening to cause the crash in the first place). So, it is in the best interest of all concerned to do a little bit better review, especially given the complicated and diverse mod synchronization and interactions involved in any intended release.

Hope these posts help get most of you up-and-running on 3.1.3. Thanks to Jelato above who saved me some time and no offense to the IC2 modders. (But, it would be nice to have an official MC1.2.5-based fix for 3.1.3. Or, maybe someone wants to rev the 3.1.3 Tekkit client/server installers to 3.1.4 with modifications posted to this thread, perhaps with a RailCraft fix, as required.)

  • 0
Posted

this being that solution:

Yep.That solution.

You can apply fix 2 if you like, because that one's even easier. But the download in your quote is the correct one.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...