Content: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Background: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Pattern: Blank Waves Notes Sharp Wood Rockface Leather Honey Vertical Triangles
Welcome to TerraFirmaCraft Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • Dries007

      ATTENTION Forum Database Breach   03/04/2019

      There has been a breach of our database. Please make sure you change your password (use a password manager, like Lastpass).
      If you used this password anywhere else, change that too! The passwords themselves are stored hashed, but may old accounts still had old, insecure (by today's standards) hashes from back when they where created. This means they can be "cracked" more easily. Other leaked information includes: email, IP, account name.
      I'm trying my best to find out more and keep everyone up to date. Discord (http://invite.gg/TerraFirmaCraft) is the best option for up to date news and questions. I'm sorry for this, but the damage has been done. All I can do is try to make sure it doesn't happen again.
    • Claycorp

      This forum is now READ ONLY!   01/20/2020

      As of this post and forever into the future this forum has been put into READ ONLY MODE. There will be no new posts! A replacement is coming SoonTM . If you wish to stay up-to-date on whats going on or post your content. Please use the Discord or Sub-Reddit until the new forums are running.

      Any questions or comments can be directed to Claycorp on either platform.
InsaneJ

0.78.17 ArrayIndexOutOfBoundsException shortly after joining server

15 posts in this topic

I've got a bunch of crash-reports that all have the same error:

java.lang.ArrayIndexOutOfBoundsException: 4	at net.minecraft.world.ChunkCache.func_72810_a(ChunkCache.java:406)	at net.minecraft.world.ChunkCache.func_72802_i(ChunkCache.java:143)	at net.minecraft.block.Block.func_71874_e(Block.java:519)	at net.minecraft.client.renderer.RenderBlocks.func_102027_b(RenderBlocks.java:5037)	at net.minecraft.client.renderer.RenderBlocks.func_78570_q(RenderBlocks.java:4174)	at TFC.Render.Blocks.RenderDetailed.renderMiniBlock(RenderDetailed.java:107)	at TFC.Render.Blocks.RenderDetailed.renderBlockDetailed(RenderDetailed.java:60)	at TFC.Handlers.Client.BlockRenderHandler.renderWorldBlock(BlockRenderHandler.java:113)	at cpw.mods.fml.client.registry.RenderingRegistry.renderWorldBlock(RenderingRegistry.java:152)	at FMLRenderAccessLibrary.renderWorldBlock(FMLRenderAccessLibrary.java:57)	at net.minecraft.client.renderer.RenderBlocks.func_78612_b(RenderBlocks.java:485)	at net.minecraft.client.renderer.WorldRenderer.func_78907_a(WorldRenderer.java:224)	at net.minecraft.client.renderer.RenderGlobal.func_72716_a(RenderGlobal.java:1574)	at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1129)	at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1006)	at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:946)	at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:838)	at net.minecraft.client.main.Main.main(SourceFile:101)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)	at net.minecraft.launchwrapper.Launch.main(Launch.java:27)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:214)	at org.multimc.EntryPoint.listen(EntryPoint.java:165)	at org.multimc.EntryPoint.main(EntryPoint.java:54)

It happens shortly after I join a server, usually within one minute. If the game doesn't crash in that short time, it usually remains stable after that.

Here's the full crash-report: http://paste2.org/pd3hpj4y

1

Share this post


Link to post
Share on other sites

Are there a lot of detailed chiseled blocks in the area? It looks like your computer can't handle all the processing required to render them all.

0

Share this post


Link to post
Share on other sites

There are some chiseled blocks in the spawn area yes, but nothing too fancy. You can check it out yourself by joining tfc.happydiggers.net:4000

I doubt it's my computer not being fast enough though. Because then most people would be unable to play on the server at all. And seeing as we've passed the 3000 unique players mark a while ago that's not the case.

My computer's specs:

Intel Core i7 4770K @ 4.4GHz

16GB RAM (4GB is allocated to the Minecraft instance)

Nvidia 670GTX

0

Share this post


Link to post
Share on other sites

insanej does it still crash if you try in in single player mode with just tfc enabled? perhaps its a sync issue between your client and the server, have you reinstalled java and minecraft / tfc etc from scratch?

0

Share this post


Link to post
Share on other sites

I never play single player :)

The problem also occurred with just Forge+TFC installed.

I have updated Java to 7u60 and also installed Nvidia driver 337.88. So far the problem hasn't occurred since.

1

Share this post


Link to post
Share on other sites

The problem has occurred a few times after the upgrades for me now. And I've also gotten a report from one of the players on our server who uses the Tekkit launcher. He posted the following crash-report: http://pastebin.com/Bk4mh7QU

0

Share this post


Link to post
Share on other sites

The player using the Tekkit launcher has the same crash as you. However, the reports in your latest post are actually a completely different crash. While it is still an ArrayIndexOutofBounds crash, the array that crashed is completely different. His crash is indeed related to fruit trees, specifically the wood blocks of the trunk.

 

The crash is happening when trying to get the icon (or texture) for the block. The first link you provided, it's trying to grab the texture for a fruit tree of type 15. In the second link, type 10. The problem with this is that there are only 9 types of fruit trees.. hence the crash. I have no idea what specifically is causing this garbage data, or why the value changes after he removed a bunch of mods. Although, looking at his location in the crash, it's probably because they were two different types of trees.

 

If you could possibly find out which fruit trees are actually supposed to be rendered, it might help figure out the problem. They should be located around

 

x=21349.30, y=150.62, z=7159.64

 

and

 

x=1802.59, y=150.50, z=18168.38

 

since that is where the player was standing when the game tried to render them and crash. If I had to take a complete shot in the dark, I would guess that it's a plum tree, because they were causing issues in the past.

0

Share this post


Link to post
Share on other sites

Are there a lot of detailed chiseled blocks in the area? It looks like your computer can't handle all the processing required to render them all.

 

Unlikely. I know you work with the code, and so I know you know what that error means, and it's not a lack of processing power or resources.

 

Also, if my Haswell 4770 with 32GB of ram isn't badass enough to handle it, I guess it's time to throw in the towel.

0

Share this post


Link to post
Share on other sites

Unlikely. I know you work with the code, and so I know you know what that error means, and it's not a lack of processing power or resources.

 

Also, if my Haswell 4770 with 32GB of ram isn't badass enough to handle it, I guess it's time to throw in the towel.

 

The array that is throwing the index exception is the game's chunk cache, which handles rendering of all the blocks inside. The chunk cache can only hold so much in it, because there is a fixed number of slots in the array. If your computer doesn't have the processing power to clear out that cache before it starts adding more to it, eventually it is going to try to add to an array that is already full. The chunk already has it's 4 slots occupied, the game tries to add more information into a 5th slot, which is out of the index, and throws the exception, crashing the game.

0

Share this post


Link to post
Share on other sites

The array that is throwing the index exception is the game's chunk cache, which handles rendering of all the blocks inside. The chunk cache can only hold so much in it, because there is a fixed number of slots in the array. If your computer doesn't have the processing power to clear out that cache before it starts adding more to it, eventually it is going to try to add to an array that is already full. The chunk already has it's 4 slots occupied, the game tries to add more information into a 5th slot, which is out of the index, and throws the exception, crashing the game.

 

Do forgive me, and perhaps my Java is a bit rusty, but nothing is "added" to the ChunkCache. It's just an x>>4/y>>4 (x/16, y/16) static Array[][]. Inserts and deletes into and out of it are done statically, within the confines of the initial allocation. By my reading, that function absolutely has to be fed bad data in order to overflow the Chunk[][] array. I could be wrong. I am a professional software engineer, but Java isn't my first, second, third, or even fifth language.

0

Share this post


Link to post
Share on other sites

I can also confirm crash on InsaneJ's server with MC+Forge(recommended)+TFC(.17)+Rei's

i7 4770, 1G java heap, 64-bit 1.7. No Optifine installed, nVidia GTX 460.

 

For me the crash isn't preceded by any abnormal CPU usage or memory usage, no slow-down. It seemed to reliably occur when going to a specific town (winterhold/helm?)

0

Share this post


Link to post
Share on other sites

There are some chiseled blocks in the spawn area yes, but nothing too fancy. You can check it out yourself by joining tfc.happydiggers.net:4000I doubt it's my computer not being fast enough though. Because then most people would be unable to play on the server at all. And seeing as we've passed the 3000 unique players mark a while ago that's not the case.My computer's specs:Intel Core i7 4770K @ 4.4GHz16GB RAM (4GB is allocated to the Minecraft instance)Nvidia 670GTX

 

It doesn't matter how detailed the chiseled blocks are only matters that they are hit with detail mode or not. 

0

Share this post


Link to post
Share on other sites

I hate to necro this thread, but I'm having almost the exact same crash on 79.15 while playing on DarkAgeCraft server.

 

There is an invisible fruit tree in my town. When I look at where the trunk/branches would be, NEI says that it's a "kapok log". In fact, when I look at all of my fruit tree trunks, NEI is telling me their all kinds of different "regular" tree logs. My orange trees, for instance, NEI shows their trunks as "ash logs" so I'm wondering if that it just some kind of inconsistency with NEI and not related to the crash.

 

Unlike the guys above, I'm not crashing by simply getting near the invisible tree. If I try to hit it though, immediate crash. I took some pictures of the invisible trunk as well if you think that would help.

 

Crash log here: 

---- Minecraft Crash Report ----// Don't do that.Time: 2/22/15 12:02 PMDescription: Unexpected errorjava.lang.ArrayIndexOutOfBoundsException: 15at com.bioxx.tfc.Blocks.Flora.BlockFruitWood.func_149691_a(BlockFruitWood.java:58)at net.minecraft.client.particle.EntityDiggingFX.(EntityDiggingFX.java:26)at net.minecraft.client.particle.EntityDiggingFX.(EntityDiggingFX.java:19)at net.minecraft.client.particle.EffectRenderer.func_78867_a(EffectRenderer.java:289)at net.minecraft.client.particle.EffectRenderer.addBlockHitEffects(EffectRenderer.java:303)at net.minecraft.client.Minecraft.func_147115_a(Minecraft.java:1350)at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1956)at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:962)at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887)at net.minecraft.client.main.Main.main(SourceFile:148)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:483)at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)at net.minecraft.launchwrapper.Launch.main(Launch.java:28)A detailed walkthrough of the error, its code path and all known details is as follows:----------------------------------------------------------------------------------------- Head --Stacktrace:at com.bioxx.tfc.Blocks.Flora.BlockFruitWood.func_149691_a(BlockFruitWood.java:58)at net.minecraft.client.particle.EntityDiggingFX.(EntityDiggingFX.java:26)at net.minecraft.client.particle.EntityDiggingFX.(EntityDiggingFX.java:19)at net.minecraft.client.particle.EffectRenderer.func_78867_a(EffectRenderer.java:289)at net.minecraft.client.particle.EffectRenderer.addBlockHitEffects(EffectRenderer.java:303)at net.minecraft.client.Minecraft.func_147115_a(Minecraft.java:1350)-- Affected level --Details:Level name: MpServerAll players: 1 total; [EntityClientPlayerMP['kurzninja'/550604, l='MpServer', x=2120.12, y=145.62, z=-4931.59]]Chunk stats: MultiplayerChunkCache: 399, 399Level seed: 3871158258618044629Level generator: ID 00 - TFCDefault, ver 0. Features enabled: falseLevel generator options:Level spawn location: World: (2090,143,-4963), Chunk: (at 10,8,13 in 130,-311; contains blocks 2080,0,-4976 to 2095,255,-4961), Region: (4,-10; contains chunks 128,-320 to 159,-289, blocks 2048,0,-5120 to 2559,255,-4609)Level time: 68438364 game time, 68722873 day timeLevel dimension: 0Level storage version: 0x00000 - Unknown?Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: falseForced entities: 9 total; [EntityClientPlayerMP['kurzninja'/550604, l='MpServer', x=2120.12, y=145.62, z=-4931.59], EntityPigTFC['Pig'/550616, l='MpServer', x=2063.31, y=144.00, z=-4964.06], EntityPigTFC['Pig'/550617, l='MpServer', x=2065.97, y=144.00, z=-4968.91], EntityPigTFC['Pig'/550618, l='MpServer', x=2067.81, y=144.00, z=-4967.91], EntityPigTFC['Pig'/550611, l='MpServer', x=2066.09, y=144.00, z=-4950.09], EntityPigTFC['Pig'/550612, l='MpServer', x=2066.25, y=144.00, z=-4956.31], EntityPigTFC['Pig'/550613, l='MpServer', x=2062.03, y=144.00, z=-4962.59], EntityPigTFC['Pig'/550614, l='MpServer', x=2072.75, y=144.00, z=-4950.09], EntityPigTFC['Pig'/550615, l='MpServer', x=2074.91, y=144.00, z=-4951.16]]Retry entities: 0 total; []Server brand: cauldron,craftbukkit,mcpc,fml,forgeServer type: Non-integrated multiplayer serverStacktrace:at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:373)at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2433)at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:916)at net.minecraft.client.main.Main.main(SourceFile:148)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:483)at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)at net.minecraft.launchwrapper.Launch.main(Launch.java:28)-- System Details --Details:Minecraft Version: 1.7.10Operating System: Windows 7 (amd64) version 6.1Java Version: 1.8.0_25, Oracle CorporationJava VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle CorporationMemory: 901069464 bytes (859 MB) / 2379657216 bytes (2269 MB) up to 4080271360 bytes (3891 MB)JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx4G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn2GAABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) usedIntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0FML: MCP v9.05 FML v7.10.85.1272 Minecraft Forge 10.13.2.1272 Optifine OptiFine_1.7.10_HD_U_B1 24 mods loaded, 24 mods activemcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->AvailableFML{7.10.85.1272} [Forge Mod Loader] (forge-1.7.10-10.13.2.1272.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->AvailableForge{10.13.2.1272} [Minecraft Forge] (forge-1.7.10-10.13.2.1272.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Availabletfc_coremod{0.79.15} [TFC[coremod]] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->AvailableCodeChickenCore{1.0.4.29} [CodeChicken Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->AvailableNotEnoughItems{1.0.3.74} [Not Enough Items] (NotEnoughItems-1.7.10-1.0.3.74-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->AvailablePlayerAPI{1.1} [Player API] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->AvailableRenderPlayerAPI{1.0} [Render Player API] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->AvailableSmartCore{1.0} [smart Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Availableterrafirmacraft{0.79.15} [TerraFirmaCraft] ([1.7.10]TerraFirmaCraft-0.79.15.538.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->AvailableDecorationsTFC{1.0.15} [Decorations] ([1.7.10]Decorations-1.0.15.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Availablelwstfc{3.4.B79} [Leather Water Sac] ([1.7.10]LeatherWaterSac-3.4.B79.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->AvailableMerchantsTFC{1.0.26} [Merchants] ([1.7.10]Merchants-1.0.26.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->AvailableArchimedesShips{1.7.10 v1.7.1} [Archimedes' Ships] (ArchimedesShips-1.7.1.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->AvailableCarpentersBlocks{3.3.4.2} [Carpenter's Blocks] (Carpenters Blocks v3.3.4.2 .jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->AvailableCraftHeraldry{1.1.3} [CraftHeraldry] (CraftHeraldry 1.1.3.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Availablelootablebodies{1.3.2} [DrCyano's Lootable Bodies] (CyanosLootableBodies-1.3.2-backport.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->AvailableFastCraft{1.11} [FastCraft] (fastcraft-1.11.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Availableinventorytweaks{1.58-147-645ca10} [inventory Tweaks] (InventoryTweaks-1.58-147.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Availablejourneymap{5.0.1} [JourneyMap] (JourneyMap5.0.1_Unlimited_MC1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->AvailableMineTweaker3{3.0.9B} [MineTweaker 3] (MineTweaker3-1.7.10-3.0.9C.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->AvailableSmartMoving{15.2} [smart Moving] (SmartMoving-1.7.10-15.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->AvailableSmartRender{2.0} [smart Render] (SmartRender-1.7.10-2.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->AvailableTerraFirmaCraftNEIplugin{1.3.0.11} [TerraFirmaCraftNEIplugin] (TerraFirmaCraftNEIplugin-1.7.10-1.3.0.11.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->AvailableLaunched Version: 1.7.10-Forge10.13.2.1272LWJGL: 2.9.1OpenGL: AMD Radeon R9 200 Series GL version 4.4.13283 Compatibility Profile Context 14.501.1003.0, ATI Technologies Inc.GL Caps: Using GL 1.3 multitexturing.Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.Anisotropic filtering is supported and maximum anisotropy is 16.Shaders are available because OpenGL 2.1 is supported.Is Modded: Definitely; Client brand changed to 'fml,forge'Type: Client (map_client.txt)Resource Packs: [[x64] H3D Texture v5.1.2.zip]Current Language: English (US)Profiler Position: N/A (disabled)Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) usedAnisotropic Filtering: Off (1)

0

Share this post


Link to post
Share on other sites

I hate to necro this thread, but I'm having almost the exact same crash on 79.15 while playing on DarkAgeCraft server.

 

There is an invisible fruit tree in my town. When I look at where the trunk/branches would be, NEI says that it's a "kapok log". In fact, when I look at all of my fruit tree trunks, NEI is telling me their all kinds of different "regular" tree logs. My orange trees, for instance, NEI shows their trunks as "ash logs" so I'm wondering if that it just some kind of inconsistency with NEI and not related to the crash.

 

Unlike the guys above, I'm not crashing by simply getting near the invisible tree. If I try to hit it though, immediate crash. I took some pictures of the invisible trunk as well if you think that would help.

 

DarkAgeCraft is a Cauldron server, which we do not support. You'll have to ask the DarkAgeCraft staff for help.

0

Share this post


Link to post
Share on other sites