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.
Build: NetBeans IDE 6.7 Beta (Build 200904242137) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: Windows Vista, 6.0, x86 User Comments: ivansidorkin: exception during debugging mobile application minashokry: debug mobile project ca: Debugging MIDP application Stacktrace: java.lang.IndexOutOfBoundsException: toIndex = 10 at java.util.SubList.<init>(SubList.java:602) at java.util.RandomAccessSubList.<init>(RandomAccessSubList.java:758) at java.util.AbstractList.subList(AbstractList.java:468) at com.sun.tools.jdi.ThreadReferenceImpl.privateFrames(ThreadReferenceImpl.java:359) at com.sun.tools.jdi.ThreadReferenceImpl.frames(ThreadReferenceImpl.java:308) at org.netbeans.modules.debugger.jpda.jdi.ThreadReferenceWrapper.frames(ThreadReferenceWrapper.java:227)
Created attachment 81577 [details] stacktrace
This is in fact a duplicate of issue #156601, which was fixed for index 13 only. Apparently, the "fix" did not help at all, when the retrieval of 13 frames fails, it fails for 12 as well. Even though the frame count *is* 13! We have now one case with 10. So it looks like it can occur for any number, but 13 is still the most popular one :-) This exception does not make any sense, therefore it can not be reasonably fixed. Most probably it is some race-condition in ThreadReferenceImpl.privateFrames() and the Cache.
I've reopened the original issue #156601. *** This issue has been marked as a duplicate of 156601 ***
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.