View Issue Details

IDProjectCategoryView StatusLast Update
0001839Industrial-Craft²E-Net, cabling, storage/transformer blockspublic2016-04-05 13:24
ReporterMaster0r0Assigned ToPlayer 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0001839: IC2 1.8.9 Build 2.3.155: Crash with Sponge upon Charging or Discharging Items in blocks
DescriptionWhen using SpongeForge Version 1236 with IC2, Charging or Discharging any power storage item, such as a Battery or a Crystal, in machines like the Macerator or in a storage block like the Batbox, causes the server to immediately crash.
Upon restarting the server any item being discharged into say a Batbox will be completely empty and the Batbox full of all power from the item, attempting to charge an item will also cause the server to crash but upon relaunching if the item is still charging the server will crash again after a few ticks.

---- Minecraft Crash Report ----

WARNING: coremods are present:
  IC2core (industrialcraft-2-2.3.155-ex18.jar)
  SpongeCoremod (spongeforge-1.8.9-1808-4.1.0-BETA-1236.jar)
Contact their authors BEFORE contacting forge

// My bad.

Time: 05/04/16 02:26
Description: Ticking entity

java.lang.IllegalArgumentException: Invalid offset: -1
    at com.google.common.base.Preconditions.checkArgument(Preconditions.java:148)
    at org.spongepowered.common.item.inventory.lens.impl.AbstractLens.<init>(AbstractLens.java:88)
    at org.spongepowered.common.item.inventory.lens.impl.AbstractLens.<init>(AbstractLens.java:84)
    at org.spongepowered.common.item.inventory.lens.impl.MinecraftLens.<init>(MinecraftLens.java:40)
    at org.spongepowered.common.item.inventory.lens.impl.slots.SlotLensImpl.<init>(SlotLensImpl.java:60)
    at org.spongepowered.common.item.inventory.lens.impl.slots.SlotLensImpl.<init>(SlotLensImpl.java:56)
    at org.spongepowered.common.item.inventory.adapter.impl.slots.SlotAdapter.<init>(SlotAdapter.java:61)
    at net.minecraft.inventory.Container.func_75142_b(Container.java:109)
    at ic2.core.ContainerBase.func_75142_b(ContainerBase.java:134)
    at net.minecraft.entity.player.EntityPlayerMP.func_70071_h_(EntityPlayerMP.java:225)
    at net.minecraft.world.World.redirect$onCallEntityUpdate$0(World.java:286)
    at net.minecraft.world.World.func_72866_a(World.java:1862)
    at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:700)
    at net.minecraft.world.World.func_72870_g(World.java:1831)
    at net.minecraft.world.World.func_72939_s(World.java:1663)
    at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:545)
    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(Unknown Source)


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

-- Head --
Stacktrace:
    at com.google.common.base.Preconditions.checkArgument(Preconditions.java:148)
    at org.spongepowered.common.item.inventory.lens.impl.AbstractLens.<init>(AbstractLens.java:88)
    at org.spongepowered.common.item.inventory.lens.impl.AbstractLens.<init>(AbstractLens.java:84)
    at org.spongepowered.common.item.inventory.lens.impl.MinecraftLens.<init>(MinecraftLens.java:40)
    at org.spongepowered.common.item.inventory.lens.impl.slots.SlotLensImpl.<init>(SlotLensImpl.java:60)
    at org.spongepowered.common.item.inventory.lens.impl.slots.SlotLensImpl.<init>(SlotLensImpl.java:56)
    at org.spongepowered.common.item.inventory.adapter.impl.slots.SlotAdapter.<init>(SlotAdapter.java:61)
    at net.minecraft.inventory.Container.func_75142_b(Container.java:109)
    at ic2.core.ContainerBase.func_75142_b(ContainerBase.java:134)
    at net.minecraft.entity.player.EntityPlayerMP.func_70071_h_(EntityPlayerMP.java:225)
    at net.minecraft.world.World.redirect$onCallEntityUpdate$0(World.java:286)
    at net.minecraft.world.World.func_72866_a(World.java:1862)
    at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:700)
    at net.minecraft.world.World.func_72870_g(World.java:1831)

-- Entity being ticked --
Details:
    Entity Type: null (net.minecraft.entity.player.EntityPlayerMP)
    Entity ID: 490
    Entity Name: Master0r0
    Entity's Exact location: 5.94, 69.00, 239.32
    Entity's Block location: 5.00,69.00,239.00 - World: (5,69,239), Chunk: (at 5,4,15 in 0,14; contains blocks 0,0,224 to 15,255,239), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
    Entity's Momentum: 0.00, -0.08, 0.00
    Entity's Rider: ~~ERROR~~ NullPointerException: null
    Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
    at net.minecraft.world.World.func_72939_s(World.java:1663)
    at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:545)

-- Affected level --
Details:
    Level name: world
    All players: 1 total; [EntityPlayerMP['Master0r0'/490, l='world', x=5.94, y=69.00, z=239.32]]
    Chunk stats: ServerChunkCache: 448 Drop: 0
    Level seed: 2245469
    Level generator: ID 00 - default, ver 1. Features enabled: true
    Level generator options:
    Level spawn location: 6.00,69.00,240.00 - World: (6,69,240), Chunk: (at 6,4,0 in 0,15; contains blocks 0,0,240 to 15,255,255), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
    Level time: 85591 game time, 5482 day time
    Level dimension: 0
    Level storage version: 0x04ABD - Anvil
    Level weather: Rain time: 1 (now: false), thunder time: 1 (now: false)
    Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Stacktrace:
    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(Unknown Source)

-- System Details --
Details:
    Minecraft Version: 1.8.9
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_73, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 872595592 bytes (832 MB) / 1594884096 bytes (1521 MB) up to 1908932608 bytes (1820 MB)
    JVM Flags: 2 total; -Xms512m -Xmx2048M
    IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
    FML: MCP 9.19 Powered by Forge 11.15.1.1808 18 mods loaded, 18 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    UCHIJAAAA mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)
    UCHIJAAAA FML{8.0.99.99} [Forge Mod Loader] (forge-1.8.9-11.15.1.1808-universal.jar)
    UCHIJAAAA Forge{11.15.1.1808} [Minecraft Forge] (forge-1.8.9-11.15.1.1808-universal.jar)
    UCHIJAAAA sponge{DEV} [SpongeForge] (spongeforge-1.8.9-1808-4.1.0-BETA-1236.jar)
    UCHIJAAAA IC2{2.3.155-ex18} [IndustrialCraft 2] (industrialcraft-2-2.3.155-ex18.jar)
    UCHIJAAAA com.boydti.fawe{3.3.5} [FastAsyncWorldEdit] (SPONGE-FastAsyncWorldEdit.jar)
    UCHIJAAAA MCBans{0.1} [MCBans] (SPONGE-MCBansSponge-1.1.jar)
    UCHIJAAAA com.arckenver.nations{0.1} [Nations] (SPONGE-Nations-0.1.jar)
    UCHIJAAAA ninja.leaping.permissionsex{2.0-SNAPSHOT} [PermissionsEx] (SPONGE-PermissionsEx-Sponge.jar)
    UCHIJAAAA blue.lapis.pore{1.0.0-SNAPSHOT} [Pore] (SPONGE-Pore-1.0.0-SNAPSHOT.jar)
    UCHIJAAAA prism{3.0.0} [Prism] (SPONGE-Prism-3.0.0-beta2-2-g03a4c61-all.jar)
    UCHIJAAAA com.gmail.trentech.pji{0.5.5} [Project Inventories] (SPONGE-projectinventories-4.1.0-0.5.5.jar)
    UCHIJAAAA com.gmail.trentech.pjp{0.10.43} [Project Portals] (SPONGE-projectportals-4.1.0-0.10.43.jar)
    UCHIJAAAA com.gmail.trentech.pjw{0.8.57} [Project Worlds] (SPONGE-projectworlds-4.1.0-0.8.57.jar)
    UCHIJAAAA com.gmail.trentech.simpletags{0.2.4b} [Simple Tags] (SPONGE-simpletags-4.1.0-0.2.4b.jar)
    UCHIJAAAA com.gmail.trentech.simplechat{0.2.10} [Simple Chat] (SPONGE-simplechat-4.1.0-0.2.10.jar)
    UCHIJAAAA totaleconomy{1.4.0} [Total Economy] (SPONGE-TotalEconomy-v1.4.0.jar)
    UCHIJAAAA worldedit{6.1.1} [WorldEdit] (worldedit-forge-mc1.8.9-6.1.1-dist.jar)
    Loaded coremods (and transformers):
IC2core (industrialcraft-2-2.3.155-ex18.jar)
  
SpongeCoremod (spongeforge-1.8.9-1808-4.1.0-BETA-1236.jar)
  org.spongepowered.common.launch.transformer.SpongeSuperclassTransformer
    Profiler Position: N/A (disabled)
    Player Count: 1 / 20; [EntityPlayerMP['Master0r0'/490, l='world', x=5.94, y=69.00, z=239.32]]
    Is Modded: Definitely; Server brand changed to 'fml,forge,sponge'
    Type: Dedicated Server (map_server.txt)
Steps To Reproduce1. Place a Batbox or Electric Furnace
2. Insert a fully charged Battery into the discharge slot
TagsNo tags attached.
Minecraft Version

Activities

Player

2016-04-05 06:53

administrator   ~0004419

This should be fixed now, I don't have a Sponge instance ready for testing though..

Master0r0

2016-04-05 13:24

reporter   ~0004420

It's working fine now

Issue History

Date Modified Username Field Change
2016-04-05 01:42 Master0r0 New Issue
2016-04-05 06:53 Player Note Added: 0004419
2016-04-05 06:53 Player Status new => resolved
2016-04-05 06:53 Player Resolution open => fixed
2016-04-05 06:53 Player Assigned To => Player
2016-04-05 13:24 Master0r0 Note Added: 0004420