This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | "java.lang.ArrayIndexOutOfBoundsException: -1" on Remove Satisfier with more than 1 satisfier | ||
---|---|---|---|
Product: | uml | Reporter: | bugbridge <bugbridge> |
Component: | Design Center | Assignee: | Thuy.d Nguyen <thuydn> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | lvv, msauer |
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
bugbridge
2006-06-19 21:57:43 UTC
I'm getting this exception fairly often when working with UML designer. --- Product Version = NetBeans 5.5 Dev (Build 200608240000) Operating System = SunOS version 5.10 running on sparcv9 Java; VM; Vendor; Home = 1.5.0_06; Java HotSpot(TM) 64-Bit Server VM 1.5.0_06-b05; Sun Microsystems Inc.; /usr/jdk1.5.0_06/jre System Locale; Encoding = en (nb); ISO646-US netbeans-ent_pack-5_5-beta-main-060822-solaris-sparc creatorPack-qbuild2-bin-200608180000-solsparc-18_Aug_2006_0000 This issue still exists in UML NB 6.0 and occurs on all platforms, not just linux or solaris. The same "Satisfiers" node was mistakenly removed multiple times if the node has more than one child nodes, which causes the ArrayIndexOutOfBoundsException. Fixed the code to assure the node being removed only once. Fix verified in NB 6.1 M1 build (200801222102) |