Page MenuHomeSchine - Phabricator

Starmade | ArrayIndexOutOfBoundsException with missiles or effects
Closed, FinishedPublic

Description

Was watching pirates attack their own base when I got this error. I have encountered similar errors before and it only happens when missiles are involved.

log:

[2016-06-24 00:44:37] Client(109) Ship[MOB_SIM_Pirate RB-79K Ball 2_359_6rl0](54809) REMOVING EFFECT obfuscated.Ve@7d133fb7
[2016-06-24 00:44:37] java.lang.ArrayIndexOutOfBoundsException: 1537
[2016-06-24 00:44:37] 	at org.schema.game.common.data.world.SegmentData.inOctree(SourceFile:1051)
[2016-06-24 00:44:37] 	at org.schema.game.common.data.world.SegmentData.onRemovingElement(SourceFile:1111)
[2016-06-24 00:44:37] 	at org.schema.game.common.data.world.SegmentData.setInfoElementUnsynched(SourceFile:1670)
[2016-06-24 00:44:37] 	at org.schema.game.common.data.world.SegmentData.setInfoElement(SourceFile:1573)
[2016-06-24 00:44:37] 	at org.schema.game.common.data.world.SegmentData.setInfoElement(SourceFile:1581)
[2016-06-24 00:44:37] 	at obfuscated.Sj.handleReceivedBulk(SourceFile:1905)
[2016-06-24 00:44:37] 	at obfuscated.Sj.handleDelayedBuklkMods(SourceFile:1858)
[2016-06-24 00:44:37] 	at obfuscated.Sj.updateLocal(SourceFile:551)
[2016-06-24 00:44:37] 	at org.schema.game.common.controller.EditableSendableSegmentController.updateLocal(SourceFile:1124)
[2016-06-24 00:44:37] 	at obfuscated.Sq.updateLocal(SourceFile:470)
[2016-06-24 00:44:37] 	at obfuscated.D.update(SourceFile:1310)
[2016-06-24 00:44:37] 	at obfuscated.avl.a(SourceFile:706)
[2016-06-24 00:44:37] 	at obfuscated.avr.b(SourceFile:615)
[2016-06-24 00:44:37] 	at obfuscated.P.e(SourceFile:908)
[2016-06-24 00:44:37] 	at org.schema.game.common.Starter.startMainMenu(SourceFile:1148)
[2016-06-24 00:44:37] 	at org.schema.game.common.Starter.main(SourceFile:941)

video associated with the log:
https://youtu.be/BUx7_AYfyBY

Error occurs at 9:30 into the video.

Details

Commits
Restricted Diffusion Commit
Task Type
Bug
Testing Results
Affected Gamemode(s)
Single and Multi
Reproducible
uncertain
Last tested (version)
0.198.223
Category
Control Block System: Weapons
First occurrence (version)
0.198.223
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
uncertain
Steps to reproduce

Create a battle with plenty of missiles flying around.

Serverconfig (server.cfg)
<replace this line with the file content>
Clientconfig (settings.cfg)
<replace this line with the file content>

Event Timeline

spunkie created this task.Jun 24 2016, 11:22 AM
Restricted Application added a project: Issue Navigation. · View Herald TranscriptJun 24 2016, 11:22 AM
spunkie updated the task description. (Show Details)Jun 24 2016, 11:24 AM
spunkie updated the task description. (Show Details)Jun 24 2016, 11:27 AM
lancake claimed this task.

-validated-

Yeah, looks like missiles or an effect that caused this.
Putting stacktrace in description.

lancake shifted this object from the S1 Public space to the S3 Starmade space.Jun 24 2016, 4:07 PM
lancake updated the task description. (Show Details)
lancake changed the visibility from "Custom Policy" to "Public (No Login Required)".
lancake changed the edit policy from "Task Author" to "Starmade (Project)".
lancake changed Reproducible from Not on purpose to uncertain.
lancake changed Last tested (version) from 0.198.223 (rel) to 0.198.223.
lancake changed Category from none/unspecified to Control Block System: Weapons.
lancake set First occurrence (version) to 0.198.223.
lancake renamed this task from ArrayIndexOutOfBoundsException: 1537 (number may vary) to ArrayIndexOutOfBoundsException with missiles or effects.
lancake triaged this task as High priority.
Restricted Application added a subscriber: AndyP. · View Herald TranscriptJun 24 2016, 4:07 PM
lancake changed the task status from Open to In Queue (Game).Jun 24 2016, 5:20 PM
Restricted Application edited projects, added Starmade, Game Development; removed Issue Navigation. · View Herald TranscriptJun 24 2016, 5:20 PM

Managed to get the error using only warheads.

https://youtu.be/JJTPmFfq0HU

For whatever reason the game produced 2 logs for a single session maybe due to log size.

lancake raised the priority of this task from High to Release Blocker.
AndyP lowered the priority of this task from Release Blocker to High.Aug 22 2016, 7:05 AM
AndyP changed the task status from In Queue (Game) to In Queue.Mar 10 2017, 5:05 PM
Restricted Application added a project: CBS: Weapons. · View Herald TranscriptMar 10 2017, 5:05 PM
schema added a commit: Restricted Diffusion Commit.Mar 11 2017, 2:37 AM
schema changed the task status from In Queue to Resolved by committing Restricted Diffusion Commit.
Restricted Application edited projects, added Quality Assurance; removed Game Development. · View Herald TranscriptMar 11 2017, 2:37 AM

-QA Testing-

Can't reproduce anymore although I might have gotten lucky? Required quite a lot of explosions at the same time before to get it and the same test didn't give any exception.

lancake closed this task as Closed.Jun 22 2017, 11:46 PM
Restricted Application removed a project: Quality Assurance. · View Herald TranscriptJun 22 2017, 11:46 PM
Restricted Application removed a subscriber: AndyP. · View Herald Transcript