View Issue Details

IDProjectCategoryView StatusLast Update
0000175Industrial-Craft²tools / electric itemspublic2012-12-22 06:26
Reportermikebriggs2kAssigned ToPlayer 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionnot fixable 
PlatformDell PoweredgeOSWindows ServerOS Version2008 R2
Product Version 
Target VersionFixed in Version 
Summary0000175: Crash on Electric Wrench Usage
DescriptionWhen attempting to remove a rotary macerator that was fired up to 7500, with an electric wrench in lossless mode, the server crashes. I tested many more times with the macerator in various stages of connection and power, all caused the same crash.
Steps To ReproduceAttempt to remove a macerator with an electric wrench. Server crashes.
Additional InformationI have not attempted with a regular wrench, or on any other machines.
TagsNo tags attached.
Minecraft Version

Activities

mikebriggs2k

2012-12-15 02:49

reporter  

crash-2012-12-14_21.43.54-server.txt (7,504 bytes)
---- Minecraft Crash Report ----
// Don't be sad. I'll do better next time, I promise!

Time: 12/14/12 9:43 PM
Description: Exception in server tick loop

java.lang.AbstractMethodError: ic2.advancedmachines.common.TileEntityRotaryMacerator.getWrenchDrop(Lqx;)Lum;
	at ic2.common.ItemToolWrench.onItemUseFirst(ItemToolWrench.java:119)
	at ic2.common.ItemToolWrenchElectric.onItemUseFirst(ItemToolWrenchElectric.java:51)
	at ir.a(ItemInWorldManager.java:386)
	at iv.a(NetServerHandler.java:525)
	at fl.a(SourceFile:58)
	at cg.b(TcpConnection.java:451)
	at iv.d(NetServerHandler.java:82)
	at iw.b(NetworkListenThread.java:55)
	at ht.b(SourceFile:30)
	at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:704)
	at ho.r(DedicatedServer.java:252)
	at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:600)
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:499)
	at fy.run(SourceFile:856)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
	Minecraft Version: 1.4.5
	Operating System: Windows Server 2008 R2 (amd64) version 6.1
	Java Version: 1.7.0_06, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 1620400272 bytes (1545 MB) / 2415984640 bytes (2304 MB) up to 2863333376 bytes (2730 MB)
	JVM Flags: 2 total; -Xmx3G -Xms2G
	AABB Pool Size: 6560 (367360 bytes; 0 MB) allocated, 6351 (355656 bytes; 0 MB) used
	Suspicious classes: FML and Forge are installed
	IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63
	FML: MCP v7.23 FML v4.5.21.486 Minecraft Forge 6.4.1.439 33 mods loaded, 33 mods active
	mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	mod_CodeChickenCore [CodeChicken Core] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	mod_NotEnoughItems [Not Enough Items] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	BuildCraft|Core [BuildCraft] (buildcraft-A-3.2.1.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	BuildCraft|Factory [BC Factory] (buildcraft-A-3.2.1.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	BuildCraft|Transport [BC Transport] (buildcraft-A-3.2.1.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	BuildCraft|Silicon [BC Silicon] (buildcraft-A-3.2.1.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	APUnofficial [Additional Pipes Unofficial] (AdditionalPipes-2.1.3u35.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	IC2 [IndustrialCraft 2] (industrialcraft-2_1.110.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	AdvancedMachines [IC2 Advanced Machines Addon] (AdvancedMachines_4.5_1.4.5.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	AdvancedPowerManagement [Advanced Power Management] (AdvancedPowerManagement-1.1.42-IC2_1.109.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	Backpack [Backpack] (backpack-1.5.4-1.4.4.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	BuildCraft|Builders [BC Builders] (buildcraft-A-3.2.1.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	BuildCraft|Energy [BC Energy] (buildcraft-A-3.2.1.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	Additional-Buildcraft-Objects [Additional Buildcraft Objects] (buildcraft-Z-additional-buildcraft-objects-0.9.4.65.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	ChargePads [Charge Pads] (chargepads-universal-2.1.1.51.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	CompactSolars [Compact Solar Arrays] (compactsolars-universal-3.1.3.18.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	ComputerCraft [ComputerCraft] (ComputerCraft1.47.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	CCTurtle [ComputerCraft Turtles] (ComputerCraft1.47.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	MoCreatures [DrZhark's Mo'Creatures Mod] (DrZharks MoCreatures Mod v4.3.1.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	ExtraBees [Extra Bees] (extrabees-1.4.1.27-dev-build.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	BinnieCore [Binnie Core] (extrabees-1.4.1.27-dev-build.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	factorization [Factorization] (Factorization-0.7.7.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	Forestry [Forestry for Minecraft] (forestry-A-1.6.2.8.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	IronChest [Iron Chest] (ironchest-universal-4.4.0.194.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	LogisticsPipes|Main [Logistics Pipes] (LogisticsPipes-0.6.1.pre.13.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	PowerConverters [Power Converters] (PowerConverters_1.4.4.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	Railcraft [Railcraft] (Railcraft_1.4.5b-6.10.0.0.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	TC [Traincraft] (Traincraft-3.1.12_014.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	snyke7_Transformers [Transformers] (Transformers v1.7.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	weaponmod [Balkon's WeaponMod] (Weaponmod.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
	Profiler Position: N/A (disabled)
	Vec3 Pool Size: 3188 (178528 bytes; 0 MB) allocated, 3185 (178360 bytes; 0 MB) used
	Player Count: 1 / 20; [iq['mikebriggs2k'/311, l='world', x=-1018.71, y=94.00, z=305.29]]
	Is Modded: Definitely; Server brand changed to 'forge,fml'
	Type: Dedicated Server (map_server.txt)

mikebriggs2k

2012-12-15 02:54

reporter   ~0000472

I downgraded to industrialcraft-2_1.109.113-lf (w/audio fix patch from forums) and it does not crash when I remove the macerator.

narc

2012-12-15 13:25

reporter   ~0000475

Not an IC2 issue. The rotary macerator is not an IC2 machine, it's from an addon. Bug the addon creator.

mikebriggs2k

2012-12-15 13:57

reporter   ~0000477

I'm not certain whether this is limited to only the Advanced Machines machines or if it spills over to IC2 machines. I do know the change happened between 1.109 and 1.110, so some change in the IC2 code is what causes it. Just pointing it out in the event that it is a bug in the IC2 code. If it's an API change then that's certainly not an IC2 issue. It does appear that with the latest Advanced Machines update this is no longer an issue, so I assume it's an API change.

Wliu

2012-12-15 15:29

reporter   ~0000479

The IC2 API changed from 1.109 --> 1.110 (RichardG stated that in the 1.109 thread).

bobcat64

2012-12-15 17:35

reporter   ~0000482

Last edited: 2012-12-15 17:37

View 2 revisions

Long story short, Advanced Machines needs to update (if they haven't already) to use the new API.

Now the long (and technical) story:
From the crash file it looks like your version of Advanced Machines hasn't implemented getWrenchDrop. This is one of the new API functions which I might add was long awaited and badly needed.

The AbstractMethodError that is thrown is explained here:
http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/AbstractMethodError.html

Its basically thrown if the code is compiled without a method that was defined in an interface or abstract class, which as the page states is normally caught by the compiler. But what happened is your version of Advanced Machines was compiled with the older API where this method wasn't defined and now the new version of IC2 defines it and tries to use it. The Java runtime doesn't (and probably can't nor shouldn't) detect if classes/interfaces referenced by the exact same name in two different compiled codes (IC2 and Advanced Machines) have the same signature. Thus it can't verify if the code implements the required methods and such.

Player

2012-12-22 06:26

administrator   ~0000536

outdated ic2 api implementation

Issue History

Date Modified Username Field Change
2012-12-15 02:49 mikebriggs2k New Issue
2012-12-15 02:49 mikebriggs2k File Added: crash-2012-12-14_21.43.54-server.txt
2012-12-15 02:54 mikebriggs2k Note Added: 0000472
2012-12-15 13:25 narc Note Added: 0000475
2012-12-15 13:57 mikebriggs2k Note Added: 0000477
2012-12-15 15:29 Wliu Note Added: 0000479
2012-12-15 17:35 bobcat64 Note Added: 0000482
2012-12-15 17:37 bobcat64 Note Edited: 0000482 View Revisions
2012-12-22 06:26 Player Note Added: 0000536
2012-12-22 06:26 Player Status new => resolved
2012-12-22 06:26 Player Resolution open => not fixable
2012-12-22 06:26 Player Assigned To => Player