Mantis Bug Tracker

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000627OLVUser Interfacepublic2012-07-24 14:222012-07-24 14:52
Assigned ToFred 
PlatformAllOSAllOS VersionAll
Product Version0.0.3-SNAPSHOT 
Target Version0.0.3Fixed in Version0.0.3 
Summary0000627: Array index out of bounds error when playing graph and leaving full screen mode.
DescriptionWhen leaving full screen mode it is possible for GraphingPositionPanel.getBestSnappingPosition() to be forced to look-up a mouse position that is off-screen which can result in an array index out of bounds error for the validSnappingPositions[] array.

Sorry no stack trace.
Steps To ReproducePlay the graph at full speed.
Leave full screen mode.

The program recovers from the error and continues to work but the stack trace will dumb when you leave the program. This error does not happen every time.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
User avatar (0001720)
BenFenner (developer)
2012-07-24 14:31

Git has: 0dc5f967da6d7ec9a12fdcc6541d9e7ab061572a

The issue was hard to reproduce in the first place. So testing to see if it is fixed might be tough. I don't see why the code change wouldn't have solved the problem though. It seems obvious why it happened, and how to prevent it.
User avatar (0001721)
Fred (administrator)
2012-07-24 14:52

Code reviewed, though no stack trace provided, so unable to verify properly. In future paste a stack trace, and the hash in which it was observed, in the additional info section for reference.

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker