Closed inklit closed 7 years ago
Related to #95
If this is related to the above issue then I'm going to need as much information as possible: I've been struggling to reproduce this for a while now. If you can take a screenshot of the block at 5975,91,2785 so I can see the setup that would be great.
Sorry about this :frowning:.
That should fix the crash, though I've found some other network related issues whilst testing this. I've put together a build with this fix. If possible can you test it and check that it fixes this crash - you should just be able to replace the sever file as it shares the same version number.
Thanks! This has been a very frequent crash so I should know within a day if this fixes it.
[13:25:28] [Server thread/ERROR] [FML]: Caught exception from CCTweaks
java.lang.NoSuchMethodError: org.squiddev.cctweaks.items.ItemBase.setUnlocalizedName(Ljava/lang/String;)Lnet/minecraft/item/Item;
at org.squiddev.cctweaks.items.ItemBase.<init>(ItemBase.java:19) ~[ItemBase.class:?]
at org.squiddev.cctweaks.items.ItemBase.<init>(ItemBase.java:26) ~[ItemBase.class:?]
at org.squiddev.cctweaks.items.ItemComputerAction.<init>(ItemComputerAction.java:17) ~[ItemComputerAction.class:?]
at org.squiddev.cctweaks.items.ItemComputerUpgrade.<init>(ItemComputerUpgrade.java:36) ~[ItemComputerUpgrade.class:?]
at org.squiddev.cctweaks.core.registry.Registry.<clinit>(Registry.java:47) ~[Registry.class:?]
at org.squiddev.cctweaks.CCTweaks.preInit(CCTweaks.java:42) ~[CCTweaks.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560) ~[forge-1.8.9-11.15.1.1902-1.8.9-universal.jar:?]
at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.8.9.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.8.9.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.8.9.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.8.9.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.8.9.jar:?]
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211) ~[LoadController.class:?]
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189) ~[LoadController.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.8.9.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.8.9.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.8.9.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.8.9.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.8.9.jar:?]
at net.minecraftforge.fml.common.LoadController.redirect$onPost$0(LoadController.java:53) ~[LoadController.class:?]
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118) [LoadController.class:?]
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:556) [Loader.class:?]
at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:88) [FMLServerHandler.class:?]
at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:320) [FMLCommonHandler.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:112) [ko.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:441) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]
[13:25:28] [Server thread/ERROR]: Encountered an unexpected exception
net.minecraftforge.fml.common.LoaderException: java.lang.NoSuchMethodError: org.squiddev.cctweaks.items.ItemBase.setUnlocalizedName(Ljava/lang/String;)Lnet/minecraft/item/Item;
at net.minecraftforge.fml.common.LoadController.transition(LoadController.java:162) ~[LoadController.class:?]
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:559) ~[Loader.class:?]
at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:88) ~[FMLServerHandler.class:?]
at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:320) ~[FMLCommonHandler.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:112) ~[ko.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:441) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]
Caused by: java.lang.NoSuchMethodError: org.squiddev.cctweaks.items.ItemBase.setUnlocalizedName(Ljava/lang/String;)Lnet/minecraft/item/Item;
at org.squiddev.cctweaks.items.ItemBase.<init>(ItemBase.java:19) ~[ItemBase.class:?]
at org.squiddev.cctweaks.items.ItemBase.<init>(ItemBase.java:26) ~[ItemBase.class:?]
at org.squiddev.cctweaks.items.ItemComputerAction.<init>(ItemComputerAction.java:17) ~[ItemComputerAction.class:?]
at org.squiddev.cctweaks.items.ItemComputerUpgrade.<init>(ItemComputerUpgrade.java:36) ~[ItemComputerUpgrade.class:?]
at org.squiddev.cctweaks.core.registry.Registry.<clinit>(Registry.java:47) ~[Registry.class:?]
at org.squiddev.cctweaks.CCTweaks.preInit(CCTweaks.java:42) ~[CCTweaks.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560) ~[forge-1.8.9-11.15.1.1902-1.8.9-universal.jar:?]
at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.8.9.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.8.9.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.8.9.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.8.9.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.8.9.jar:?]
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211) ~[LoadController.class:?]
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189) ~[LoadController.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.8.9.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.8.9.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.8.9.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.8.9.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.8.9.jar:?]
at net.minecraftforge.fml.common.LoadController.redirect$onPost$0(LoadController.java:53) ~[LoadController.class:?]
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118) ~[LoadController.class:?]
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:556) ~[Loader.class:?]
... 5 more
The server dies not start with this build.
@inklit I'd guess I uploaded the un-obfuscated version. Sorry. This one should work.
@inklit Any update on this?
Seems it doesn't work.
---- Minecraft Crash Report ----
WARNING: coremods are present:
TransformerLoader (OpenComputers-MC1.8.9-1.5.22.6.jar)
SpongeCoremod (spongeforge-1.8.9-1890-4.2.0-BETA-1666.jar)
TweaksLoadingPlugin (CCTweaks-1.8.9-1.0.1-patched.jar)
Contact their authors BEFORE contacting forge
// Don't do that.
Time: 8/26/16 4:21 PM
Description: Ticking block entity
java.lang.RuntimeException: You are not attached to this Computer
at dan200.computercraft.core.apis.PeripheralAPI$PeripheralWrapper.queueEvent(PeripheralAPI.java:221)
at org.squiddev.cctweaks.core.network.modem.PeripheralAccess.queueEvent(PeripheralAccess.java:110)
at dan200.computercraft.shared.peripheral.monitor.TileMonitor.func_73660_a(TileMonitor.java:147)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:730)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:701)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:344)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:605)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:481)
at java.lang.Thread.run(Thread.java:745)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at dan200.computercraft.core.apis.PeripheralAPI$PeripheralWrapper.queueEvent(PeripheralAPI.java:221)
at org.squiddev.cctweaks.core.network.modem.PeripheralAccess.queueEvent(PeripheralAccess.java:110)
at dan200.computercraft.shared.peripheral.monitor.TileMonitor.func_73660_a(TileMonitor.java:147)
-- Block entity being ticked --
Details:
Name: monitor // dan200.computercraft.shared.peripheral.monitor.TileMonitor
Block type: ID #201 (tile.computercraft:peripheral // dan200.computercraft.shared.peripheral.common.BlockPeripheral)
Block data value: 12 / 0xC / 0b1100
Block location: World: (5975,91,2785), Chunk: (at 7,5,1 in 373,174; contains blocks 5968,0,2784 to 5983,255,2799), Region: (11,5; contains chunks 352,160 to 383,191, blocks 5632,0,2560 to 6143,255,3071)
Actual block type: ID #201 (tile.computercraft:peripheral // dan200.computercraft.shared.peripheral.common.BlockPeripheral)
Actual block data value: 12 / 0xC / 0b1100
Curses. I'll have another look and see if I've missed any edge cases. Could you pop into the config and turn on Testing.debug
and Testing.extendedControllerValidation
: the next time it crashes could you also provide the Forge log?
Thanks and sorry about this :frowning:.
I've changed the config, it will be applied in the next 5 hours and hopefully a crash will happen in the next few days.
Not sure if these two crashes are related:
@SquidDev edit: See #109 and #110.
I've moved those traces into other issues. I'm pretty sure #110 is a vanilla bug, though I'll see what I can do to prevent it.
Sorry for the delay: just started uni and I didn't have access to a computer.
This latest commit should fix everything: can you download this version and confirm?
@inklit Any update?
I've installed it on my server just now. It might take a while to know whether or not it is fixed. Thanks.
I think that this specific error has been fixed; but a few other crashes have creeped up.
@inklit Great! And less great. I'm going to mark this as resolved - can you create a new issue for each of the remaining crashes?
Thanks!
There are a couple of things that I need to add to CCTweaks-Lua then I'll release this. This should all happen in the next few days.
This has been released in 1.8.9-1.1.0. It should appear on CurseForge soon.
@inklit Any followup on those remaining crashes?
I replied to this a couple days ago (or so I thought), but it seems GitHub did not actually post the reply properly, my bad! I should have double checked.
I've opened two new issues #114 and #113 for the remaining crashes.
You did reply, I just deleted it and created a new issue (#111) - sorry, it was just a massive stack trace that I didn't want on this issue.
This is a server crash that has been crashing my server for the past few days. I don't know how it's caused, but it's very frequent.