Support: java.lang.NegativeArraySizeException on 1.95

  • I'm getting the following error on my SMP world with .90 forge using IC2 1.95, BC3 SVN and Railcraft 5.0.3. Separately they all work fine. The crash occurs when i go close to a chunk with lot of stuff on it. I realize BC3 contains issues, but the crashlog is clearly IC2 related. (There are more mods loaded in this log, but not on the server, so not in use.)


  • Which kind of "stuff" is on those chunks?

    IC2 stuff: nuclear reactor (active), fiber and copper cabeling, mfs
    units, reinforced stone, detector cable, batboxes, solar panels, LV and
    MV transformers - this is all i can recall, all other are in chests




    I have removed all other mods and loaded only with IC. I managed to
    enter the chunk without crash, but after a reconnect the same occured on connect.




  • I think it has something to do with the solar panels and/or the system connected to it, because it seems to only occur during daylight.


  • Geez al, these forums are weird to post on :(


    Well im getting the same error trying to login near my nuclear reactor, it is connected to a MFE and a MFSU that are both putting out redstone signals to the reactor through a double not switch (so the reactor turns off when they are full) the MFSU shouldn't be full, but is also connected to a FULL MFSU, the second one is for a telepotor, and is being fed. everything is connected via fibre cables. bunch of stuff connected to the MFE (maceratorx3 extractor induction furance etc etc.


    Gonna run a test to see if it is the chunk is the issue.

  • i dont like the sound of "if" :(

    That's the understood bane of all programming... Thank those who have the patience to tolerate it and still build digital wonder...

    Would anyone like to try a Slowpoke Tail?! Only 1 Million Yen!


    Quote

    this isn't about arrogance or ego, I have a block that I put a lot of freaking work into


    Every Mod Author, in existence. And yet, you STILL say otherwise.

  • Seem to be getting MORE errors now. Before your fix it was the NegativeArraySize error. Now I get all this good stuff



    27 achievements
    182 recipes
    LWJGL Version: 2.4.2
    ModLoader 1.2.5 Initializing...
    Mod Initialized: mod_ModLoaderMp 1.2.5v1
    Mod Initialized: mod_MinecraftForge 3.1.2.94
    Mod Initialized: mod_CodeChickenCore 0.5.2
    Mod Initialized: mod_NotEnoughItems 1.2.2
    Mod Initialized: mod_BuildCraftCore 2.2.14
    Mod Initialized: mod_BuildCraftBuilders 2.2.14
    Mod Initialized: mod_BuildCraftEnergy 2.2.14
    Mod Initialized: mod_BuildCraftFactory 2.2.14
    Mod Initialized: mod_BuildCraftTransport 2.2.14
    MinecraftForge v3.1.2.94 Initialized
    Apr 23, 2012 6:28:55 PM forge.ForgeHooks <clinit>
    INFO: MinecraftForge v3.1.2.94 Initialized


    Initializing alchemy values for Equivalent Exchange..
    Mod Initialized: mod_EE 1.4.4.0
    Mod Initialized: mod_Forestry 1.4.4.2
    Mod Initialized: mod_IC2 v1.95
    Mod Initialized: mod_Railcraft 5.0.3
    Mod Initialized: mod_RedPowerControl 2.0pr5
    Mod Initialized: mod_RedPowerCore 2.0pr5
    Mod Initialized: mod_RedPowerLighting 2.0pr5
    Mod Initialized: mod_RedPowerLogic 2.0pr5
    Mod Initialized: mod_RedPowerMachine 2.0pr5
    Mod Initialized: mod_RedPowerWiring 2.0pr5
    Mod Initialized: mod_RedPowerWorld 2.0pr5
    Mod Initialized: mod_TwilightForest 1.8.1
    Mod Initialized: mod_WirelessRedstoneAddons 1.2.0
    Mod Initialized: mod_WirelessRedstoneCore 1.2.0
    Mod Initialized: mod_WirelessRedstoneRedPower 1.2.0
    Mod Loaded: mod_CodeChickenCore 0.5.2
    Mod Loaded: mod_ModLoaderMp 1.2.5v1
    Mod Loaded: mod_MinecraftForge 3.1.2.94
    Mod Loaded: mod_NotEnoughItems 1.2.2
    Mod Loaded: mod_BuildCraftCore 2.2.14
    Mod Loaded: mod_BuildCraftBuilders 2.2.14
    Mod Loaded: mod_BuildCraftEnergy 2.2.14
    Mod Loaded: mod_BuildCraftFactory 2.2.14
    Mod Loaded: mod_BuildCraftTransport 2.2.14
    Mod Loaded: mod_EE 1.4.4.0
    Forestry: MinecraftForge minor version mismatch, expecting 3.0.x, may lead to un
    expected behavior
    CONFLICT @ -58
    Mod Loaded: mod_Forestry 1.4.4.2
    [IC2] Config loaded from C:\Users\Marafice Eye\AppData\Roaming\.minecraft\config
    \IC2.cfg
    [IC2] Using 32 audio sources.
    Mod Loaded: mod_IC2 v1.95
    Mod Loaded: mod_Railcraft 5.0.3
    Mod Loaded: mod_RedPowerControl 2.0pr5
    Mod Loaded: mod_RedPowerCore 2.0pr5
    Mod Loaded: mod_RedPowerLighting 2.0pr5
    Mod Loaded: mod_RedPowerLogic 2.0pr5
    Mod Loaded: mod_RedPowerMachine 2.0pr5
    Mod Loaded: mod_RedPowerWiring 2.0pr5
    Mod Loaded: mod_RedPowerWorld 2.0pr5
    Twilight Forest: MinecraftForge minor version mismatch, expecting 3.0.x, may lea
    d to unexpected behavior
    Mod Loaded: mod_TwilightForest 1.8.1
    Mod Loaded: mod_WirelessRedstoneCore 1.2.0
    Mod Loaded: mod_WirelessRedstoneRedPower 1.2.0
    Mod Loaded: mod_WirelessRedstoneAddons 1.2.0
    ModLoaderMP 1.0.0 Initialized
    Starting BuildCraft 2.2.14
    Copyright (c) SpaceToad, 2011
    http://www.mod-buildcraft.com
    [IC2] Loading IC2 submodule: bcIntegration31x
    [IC2] Submodule not loaded: java.lang.NoClassDefFoundError: buildcraft/api/ITrig
    gerProvider
    [IC2] Loading IC2 submodule: bcIntegration22x
    [IC2] BuildCraft integration module loaded
    [IC2] Loading IC2 submodule: cgIntegration14x
    [IC2] CraftGuide integration module loaded
    [IC2] Loading IC2 submodule: neiIntegration11x
    [IC2] NEI integration module loaded
    [IC2] Portal Gun compatibility not loaded: java.lang.ClassNotFoundException: mod
    _PortalGun
    Done.
    WARNING: Found unknown Windows version: Windows 7
    Attempting to use default windows plug-in.
    Loading: net.java.games.input.DirectAndRawInputEnvironmentPlugin
    Failed to initialize device Wacom Virtual Hid Driver because of: java.io.IOExcep
    tion: Failed to acquire device (8007001e)
    Connecting to 213.163.92.3, 25565
    Loaded codechicken.nei.plugins.railcraft.NEIRailCraftConfig
    Loaded codechicken.nei.plugins.redpower.NEIRedPowerConfig
    Loaded codechicken.wirelessredstone.addons.NEIWirelessAddonConfig
    Loaded codechicken.wirelessredstone.core.NEIWirelessCoreConfig
    Loaded codechicken.wirelessredstone.redpower.NEIWirelessRedPowerConfig
    RP2 Core successfully loaded in EE.
    RP2 Core successfully loaded in EE.
    RP2 World successfully loaded in EE.
    java.io.EOFException
    at java.io.DataInputStream.readChar(Unknown Source)
    at ic2.platform.NetworkManager.onPacketData(NetworkManager.java:210)
    at forge.MessageManager.dispatchIncomingMessage(MessageManager.java:432)


    at adl.a(NetClientHandler.java:1245)
    at ee.a(SourceFile:46)
    at lg.b(NetworkManager.java:343)
    at adl.b(NetClientHandler.java:67)
    at ez.a(SourceFile:32)
    at net.minecraft.client.Minecraft.k(Minecraft.java:1566)
    at net.minecraft.client.Minecraft.x(Minecraft.java:819)
    at net.minecraft.client.Minecraft.run(Minecraft.java:747)
    at java.lang.Thread.run(Unknown Source)
    java.lang.NegativeArraySizeException
    at ic2.platform.NetworkManager.onPacketData(NetworkManager.java:207)
    at forge.MessageManager.dispatchIncomingMessage(MessageManager.java:432)


    at adl.a(NetClientHandler.java:1245)
    at ee.a(SourceFile:46)
    at lg.b(NetworkManager.java:343)
    at adl.b(NetClientHandler.java:67)
    at ez.a(SourceFile:32)
    at net.minecraft.client.Minecraft.k(Minecraft.java:1566)
    at net.minecraft.client.Minecraft.x(Minecraft.java:819)
    at net.minecraft.client.Minecraft.run(Minecraft.java:747)
    at java.lang.Thread.run(Unknown Source)
    Stopping!Exception in thread "AWT-EventQueue-0"
    java.lang.NullPointerException: component argument pData
    at sun.java2d.windows.GDIWindowSurfaceData.initOps(Native Method)
    at sun.java2d.windows.GDIWindowSurfaceData.<init>(Unknown Source)
    at sun.java2d.windows.GDIWindowSurfaceData.createData(Unknown Source)
    at sun.java2d.d3d.D3DScreenUpdateManager.getGdiSurface(Unknown Source)
    at sun.java2d.d3d.D3DScreenUpdateManager.createGraphics(Unknown Source)
    at sun.awt.windows.WComponentPeer.getGraphics(Unknown Source)
    at java.awt.Component.getGraphics(Unknown Source)
    at sun.awt.RepaintArea.paint(Unknown Source)
    at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$000(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
    ce)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
    ce)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
    ce)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

  • I modified it to print the length, please try again with the links I posted above. I need both the output for client and server, there should be only a single player on the server.

    Ran it again after redownloading your files. clientside I'm still getting the same errors listed here (only copied the error part to save thread space.)



    [IC2] received 76 bytes
    java.io.EOFException
    at java.io.DataInputStream.readChar(Unknown Source)
    at ic2.platform.NetworkManager.onPacketData(NetworkManager.java:211)
    at forge.MessageManager.dispatchIncomingMessage(MessageManager.java:432)


    at adl.a(NetClientHandler.java:1245)
    at ee.a(SourceFile:46)
    at lg.b(NetworkManager.java:343)
    at adl.b(NetClientHandler.java:67)
    at ez.a(SourceFile:32)
    at net.minecraft.client.Minecraft.k(Minecraft.java:1566)
    at net.minecraft.client.Minecraft.x(Minecraft.java:819)
    at net.minecraft.client.Minecraft.run(Minecraft.java:747)
    at java.lang.Thread.run(Unknown Source)
    [IC2] received 54 bytes
    java.io.EOFException
    at java.io.DataInputStream.readInt(Unknown Source)
    at ic2.platform.NetworkManager.onPacketData(NetworkManager.java:199)
    at forge.MessageManager.dispatchIncomingMessage(MessageManager.java:432)


    at adl.a(NetClientHandler.java:1245)
    at ee.a(SourceFile:46)
    at lg.b(NetworkManager.java:343)
    at adl.b(NetClientHandler.java:67)
    at ez.a(SourceFile:32)
    at net.minecraft.client.Minecraft.k(Minecraft.java:1566)
    at net.minecraft.client.Minecraft.x(Minecraft.java:819)
    at net.minecraft.client.Minecraft.run(Minecraft.java:747)
    at java.lang.Thread.run(Unknown Source)
    [IC2] received 56 bytes
    java.io.EOFException
    at java.io.DataInputStream.readInt(Unknown Source)
    at ic2.platform.NetworkManager.onPacketData(NetworkManager.java:199)
    at forge.MessageManager.dispatchIncomingMessage(MessageManager.java:432)


    at adl.a(NetClientHandler.java:1245)
    at ee.a(SourceFile:46)
    at lg.b(NetworkManager.java:343)
    at adl.b(NetClientHandler.java:67)
    at ez.a(SourceFile:32)
    at net.minecraft.client.Minecraft.k(Minecraft.java:1566)
    at net.minecraft.client.Minecraft.x(Minecraft.java:819)
    at net.minecraft.client.Minecraft.run(Minecraft.java:747)
    at java.lang.Thread.run(Unknown Source)
    [IC2] received 56 bytes
    java.io.EOFException
    at java.io.DataInputStream.readInt(Unknown Source)
    at ic2.platform.NetworkManager.onPacketData(NetworkManager.java:199)
    at forge.MessageManager.dispatchIncomingMessage(MessageManager.java:432)


    at adl.a(NetClientHandler.java:1245)
    at ee.a(SourceFile:46)
    at lg.b(NetworkManager.java:343)
    at adl.b(NetClientHandler.java:67)
    at ez.a(SourceFile:32)
    at net.minecraft.client.Minecraft.k(Minecraft.java:1566)
    at net.minecraft.client.Minecraft.x(Minecraft.java:819)
    at net.minecraft.client.Minecraft.run(Minecraft.java:747)
    at java.lang.Thread.run(Unknown Source)
    [IC2] received 56 bytes
    java.io.EOFException
    at java.io.DataInputStream.readInt(Unknown Source)
    at ic2.platform.NetworkManager.onPacketData(NetworkManager.java:199)
    at forge.MessageManager.dispatchIncomingMessage(MessageManager.java:432)


    at adl.a(NetClientHandler.java:1245)
    at ee.a(SourceFile:46)
    at lg.b(NetworkManager.java:343)
    at adl.b(NetClientHandler.java:67)
    at ez.a(SourceFile:32)
    at net.minecraft.client.Minecraft.k(Minecraft.java:1566)
    at net.minecraft.client.Minecraft.x(Minecraft.java:819)
    at net.minecraft.client.Minecraft.run(Minecraft.java:747)
    at java.lang.Thread.run(Unknown Source)
    [IC2] received 67 bytes
    java.lang.NegativeArraySizeException
    at ic2.platform.NetworkManager.onPacketData(NetworkManager.java:208)
    at forge.MessageManager.dispatchIncomingMessage(MessageManager.java:432)


    at adl.a(NetClientHandler.java:1245)
    at ee.a(SourceFile:46)
    at lg.b(NetworkManager.java:343)
    at adl.b(NetClientHandler.java:67)
    at ez.a(SourceFile:32)
    at net.minecraft.client.Minecraft.k(Minecraft.java:1566)
    at net.minecraft.client.Minecraft.x(Minecraft.java:819)
    at net.minecraft.client.Minecraft.run(Minecraft.java:747)
    at java.lang.Thread.run(Unknown Source)
    Stopping!Exception in thread "AWT-EventQueue-0"
    java.lang.NullPointerException: component argument pData
    at sun.java2d.windows.GDIWindowSurfaceData.initOps(Native Method)
    at sun.java2d.windows.GDIWindowSurfaceData.<init>(Unknown Source)
    at sun.java2d.windows.GDIWindowSurfaceData.createData(Unknown Source)
    at sun.java2d.d3d.D3DScreenUpdateManager.getGdiSurface(Unknown Source)
    at sun.java2d.d3d.D3DScreenUpdateManager.createGraphics(Unknown Source)
    at sun.awt.windows.WComponentPeer.getGraphics(Unknown Source)
    at java.awt.Component.getGraphics(Unknown Source)
    at sun.awt.RepaintArea.paint(Unknown Source)
    at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$000(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
    ce)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
    ce)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
    ce)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)



    Server side I get no errors, the log for the server shows it fine, and the server is up and running fine, it's only when I try to connect to the server.


    Just gives the disconnected generic.reason error.