java.lang.IndexOutOfBoundsException: Index: 4, Size: 4

Coderanch | Wim Vanni | 6 years ago
  1. 0

    outputing an arraylist of arraylists to a file.

    Coderanch | 6 years ago | Wim Vanni
    java.lang.IndexOutOfBoundsException: Index: 4, Size: 4
  2. 0

    Java - set i to start at 0, i < arraylist.size(), i++... get out of bounds error

    Stack Overflow | 5 years ago | Raekye
    java.lang.IndexOutOfBoundsException: Index: 4, Size: 4
  3. 0

    [MC-32691] Hopper: java.lang.IndexOutOfBoundsException: Index: 4, Size: 4 - JIRA

    mojang.com | 1 year ago
    java.lang.IndexOutOfBoundsException: Index: 4, Size: 4
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    This is an automatically generated report based from the following crash: http://hopper.minecraft.net/crashes/minecraft/MCX-199363/ Crash: {code} java.lang.IndexOutOfBoundsException: Index: 4, Size: 4 at java.util.ArrayList.RangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at bbo.a(SourceFile:102) at baq.a(SourceFile:78) at bbo.a(SourceFile:116) {code} The following is the first clean report made public about this crash: {code} ---- Minecraft Crash Report ---- // Quite honestly, I wouldn't worry myself about that. Time: 9/20/13 4:44 PM Description: Rendering screen java.lang.IndexOutOfBoundsException: Index: 9, Size: 9 at java.util.ArrayList.RangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at bbo.a(SourceFile:102) at baq.a(SourceFile:78) at bbo.a(SourceFile:116) at bii.b(SourceFile:844) at awp.aa(SourceFile:754) at awp.e(SourceFile:677) at net.minecraft.client.main.Main.main(SourceFile:104) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at java.util.ArrayList.RangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at bbo.a(SourceFile:102) at baq.a(SourceFile:78) at bbo.a(SourceFile:116) -- Screen render details -- Details: Screen name: bbo Mouse location: Scaled: (289, 76). Absolute: (868, 538) Screen size: Scaled: (456, 256). Absolute: (1366, 768). Scale factor of 3 -- Affected level -- Details: Level name: MpServer All players: 1 total; [bgh['Super_Snow'/15, l='MpServer', x=-44.71, y=57.62, z=137.66]] Chunk stats: MultiplayerChunkCache: 256, 256 Level seed: 0 Level generator: ID 01 - flat, ver 0. Features enabled: false Level generator options: Level spawn location: World: (-52,4,128), Chunk: (at 12,0,0 in -4,8; contains blocks -64,0,128 to -49,255,143), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511) Level time: 373276 game time, 1000 day time Level dimension: 0 Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: true), thunder time: 0 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false Forced entities: 16 total; [vc['Villager'/0, l='MpServer', x=-44.50, y=57.20, z=127.50], tz['entity.MinecartRideable.name'/1, l='MpServer', x=-44.50, y=57.50, z=127.50], vc['Villager'/2, l='MpServer', x=-46.50, y=56.20, z=136.31], bgh['Super_Snow'/15, l='MpServer', x=-44.71, y=57.62, z=137.66], tz['entity.MinecartRideable.name'/3, l='MpServer', x=-46.50, y=56.50, z=136.31], vc['Villager'/4, l='MpServer', x=-44.69, y=56.00, z=132.98], vc['Villager'/5, l='MpServer', x=-34.50, y=56.20, z=143.50], tz['entity.MinecartRideable.name'/6, l='MpServer', x=-34.50, y=56.50, z=143.50], vc['Villager'/7, l='MpServer', x=-43.22, y=56.00, z=132.31], vc['Villager'/8, l='MpServer', x=-42.50, y=56.20, z=136.25], tz['entity.MinecartRideable.name'/9, l='MpServer', x=-42.50, y=56.50, z=136.25], vc['Villager'/10, l='MpServer', x=-45.70, y=56.00, z=133.70], vc['Villager'/11, l='MpServer', x=-43.30, y=56.00, z=133.70], vc['Villager'/12, l='MpServer', x=-45.70, y=56.00, z=132.30], vc['Villager'/13, l='MpServer', x=-44.00, y=56.00, z=132.71], vc['Villager'/14, l='MpServer', x=-44.04, y=56.00, z=133.20]] Retry entities: 0 total; [] Server brand: vanilla Server type: Integrated singleplayer server Stacktrace: at bgc.a(SourceFile:297) at awp.b(SourceFile:1874) at awp.e(SourceFile:686) at net.minecraft.client.main.Main.main(SourceFile:104) -- System Details -- Details: Minecraft Version: 13w38c Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.6.0_27, Sun Microsystems Inc. Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Sun Microsystems Inc. Memory: 179096264 bytes (170 MB) / 594804736 bytes (567 MB) up to 2863333376 bytes (2730 MB) JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx3G AABB Pool Size: 280 (15680 bytes; 0 MB) allocated, 226 (12656 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 Launched Version: 13w38c LWJGL: 2.9.0 OpenGL: Intel(R) HD Graphics Family GL version 3.1.0 - Build 8.15.10.2345, Intel Is Modded: Probably not. Jar signature remains and client brand is untouched. Type: Client (map_client.txt) Resource Packs: [] Current Language: English (US) Profiler Position: N/A (disabled) Vec3 Pool Size: 222 (12432 bytes; 0 MB) allocated, 101 (5656 bytes; 0 MB) used {code} You can see this full report at http://hopper.minecraft.net/crashes/minecraft/MCX-199363/12729308/

    Mojang JIRA | 3 years ago | [Bot] Hopper
    java.lang.IndexOutOfBoundsException: Index: 4, Size: 4
  6. 0

    Problem at iteration (ArrayList)

    Oracle Community | 9 years ago | 843790
    java.lang.IndexOutOfBoundsException: Index: 4, Size: 4

  1. bmacedo 4 times, last 11 hours ago
  2. mhicauber 1 times, last 16 hours ago
  3. filpgame 2 times, last 4 days ago
  4. tvrmsmith 1 times, last 5 days ago
  5. Indri Yunita 12 times, last 5 days ago
67 more registered users
28 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IndexOutOfBoundsException

    Index: 4, Size: 4

    at java.util.ArrayList.RangeCheck()
  2. Java RT
    ArrayList.get
    1. java.util.ArrayList.RangeCheck(Unknown Source)
    2. java.util.ArrayList.get(Unknown Source)
    2 frames
  3. Unknown
    arraylistplaySUL2.main
    1. arraylistplaySUL2.main(arraylistplaySUL2.java:105)
    1 frame