Summary: | ArrayIndexOutOfBounds exception when updating simulator | ||
---|---|---|---|
Product: | UPPAAL | Reporter: | Marius Mikučionis <marius> |
Component: | GUI | Assignee: | Robert Olesen <egir> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | P1 | ||
Version: | 3.6 Alpha 5 | ||
Hardware: | All | ||
OS: | All | ||
Architecture: | |||
Attachments: | model to reproduce an exception |
Description
Marius Mikučionis
2006-03-10 11:48:14 CET
Created attachment 93 [details]
model to reproduce an exception
Alpha 5 has the same problem. May be caused by the fix for bug 96. This was introduced in rev. 1569. Robert, that is you change. Can you please take a look at this asap. Thanks. (In reply to comment #3) > This was introduced in rev. 1569. Robert, that is you change. Can you please > take a look at this asap. Thanks. > I have found the errors. I'll read the code through an extra time and then commit as soon as I get home today. (In reply to comment #4) > I have found the errors. I'll read the code through an extra time and then > commit as soon as I get home today. That was fast, thanks! How severe is it? That is, how likely is it that our users will run into this problem? The zoom level of processes and their visibility is remembered in some arrays in the simulator each time the system is reuploaded. I forgot to pay attention to theese arrays changing their size when the system definition is expanded (or reduced for that matter) with additional processes. I have fixed the bug and checked it into SVN as revision 1633. |