question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exception during render job java.lang.ArrayIndexOutOfBoundsException

See original GitHub issue

I have been getting this error when I try to load my Resource Pack up and run a fullrender. I am using Flows HD x64 1.11 (there is no lower version such as x32 or x16). Is there any way to fix this issue. It looks like it has some issue with the Shulker?

[17:00:45 INFO]: [dynmap] Loading resource pack Flows
[17:00:47 ERROR]: [dynmap] Exception during render job: world=world, map=org.dynmap.hdmap.HDMap@5d6a3a7e
[17:00:47 WARN]: java.lang.ArrayIndexOutOfBoundsException
[17:00:47 WARN]:        at java.lang.System.arraycopy(Native Method)
[17:00:47 WARN]:        at org.dynmap.hdmap.TexturePack.copySubimageFromImage(TexturePack.java:878)
[17:00:47 WARN]:        at org.dynmap.hdmap.TexturePack.makeShulkerSideImage(TexturePack.java:1074)
[17:00:47 WARN]:        at org.dynmap.hdmap.TexturePack.patchShulkerImages(TexturePack.java:1104)
[17:00:47 WARN]:        at org.dynmap.hdmap.TexturePack.processDynamicImage(TexturePack.java:1344)
[17:00:47 WARN]:        at org.dynmap.hdmap.TexturePack.<init>(TexturePack.java:852)
[17:00:47 WARN]:        at org.dynmap.hdmap.TexturePack.getTexturePack(TexturePack.java:683)
[17:00:47 WARN]:        at org.dynmap.hdmap.TexturePackHDShader.getTexturePack(TexturePackHDShader.java:57)
[17:00:47 WARN]:        at org.dynmap.hdmap.TexturePackHDShader.access$000(TexturePackHDShader.java:22)
[17:00:47 WARN]:        at org.dynmap.hdmap.TexturePackHDShader$ShaderState.<init>(TexturePackHDShader.java:128)
[17:00:47 WARN]:        at org.dynmap.hdmap.TexturePackHDShader.getStateInstance(TexturePackHDShader.java:323)
[17:00:47 WARN]:        at org.dynmap.hdmap.HDMapManager.getShaderStateForTile(HDMapManager.java:136)
[17:00:47 WARN]:        at org.dynmap.hdmap.IsoHDPerspective.render(IsoHDPerspective.java:1088)
[17:00:47 WARN]:        at org.dynmap.hdmap.HDMapTile.render(HDMapTile.java:79)
[17:00:47 WARN]:        at org.dynmap.MapManager$FullWorldRenderState.processTile(MapManager.java:708)
[17:00:47 WARN]:        at org.dynmap.MapManager$FullWorldRenderState.run(MapManager.java:641)
[17:00:47 WARN]:        at org.dynmap.MapManager$DynmapScheduledThreadPoolExecutor$1.run(MapManager.java:190)
[17:00:47 WARN]:        at org.dynmap.MapManager$DynmapScheduledThreadPoolExecutor$2.run(MapManager.java:206)
[17:00:47 WARN]:        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[17:00:47 WARN]:        at java.util.concurrent.FutureTask.run(Unknown Source)
[17:00:47 WARN]:        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
[17:00:47 WARN]:        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
[17:00:47 WARN]:        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[17:00:47 WARN]:        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[17:00:47 WARN]:        at java.lang.Thread.run(Unknown Source)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:4
  • Comments:8

github_iconTop GitHub Comments

1reaction
chuushicommented, Mar 21, 2017

The problem roots from somehow malformed shulker box rendering code. Check #2074; the issues are related.

0reactions
FedUpWith-Techcommented, Jul 28, 2020

fixed in #2109

Read more comments on GitHub >

github_iconTop Results From Across the Web

Array out of Bounds Exception : r/Dynmap - Reddit
[10:10:48] [Dynmap Render Thread/ERROR]: [dynmap] Execution exception while processing tile: java.lang.ArrayIndexOutOfBoundsException: null.
Read more >
Error with java.lang.ArrayIndexOutOfBoundsException ...
Thrown to indicate that an array has been accessed with an illegal index. The index is either negative or greater than or equal...
Read more >
Exception in thread "AWT-EventQueue-2" java.lang ...
Sometimes, during rendering, though it displays the results, it throws ArrayOutOfBounds Exception in the java console.
Read more >
How do I fix java.lang.arrayindexoutofboundsexception for ...
A StackOverflowError is a runtime error in Java. It is thrown when the amount of call stack memory allocated by the JVM is...
Read more >
java.lang.ArrayIndexOutOfBoundsException - SAP Community
Dear All, Here in my layout i have a calendar by which end user will select the date and clicks on button by...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found