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.

Bug 84201 - ArrayOutOfBounds exception
Summary: ArrayOutOfBounds exception
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-05 10:59 UTC by luky
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description luky 2006-09-05 10:59:10 UTC
Found in version 200608141200 (M2)
While trying to surround by try and catch the following block 

SwingUtilities.invokeAndWait( new Runnable() {
                        public void run()
                        {
                            dropProperties.store();
                            // And save the project
                            try {
                                
ProjectManager.getDefault().saveProject(projectDrop);
                            }
                            catch ( IOException ex ) {
                                ErrorManager.getDefault().notify( ex );
                            }
                        }
                    });

ArrayOutOfBounds exception appears:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.RangeCheck(ArrayList.java:547)
	at java.util.ArrayList.get(ArrayList.java:322)
	at 
org.netbeans.modules.javacore.jmiimpl.javamodel.DeferredAttrList.get(DeferredAttrList.java:215)
	at org.netbeans.mdr.handlers.AttrListWrapper.get(AttrListWrapper.java:115)
	at 
org.netbeans.modules.javacore.jmiimpl.javamodel.LightAttrList.get(LightAttrList.java:338)
	at 
org.netbeans.modules.editor.java.JavaKit$TryCatchAction.actionPerformed(JavaKit.java:870)
	at org.netbeans.editor.BaseAction$1.run(BaseAction.java:230)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:525)
[catch] at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:957)
Comment 1 Miloslav Metelka 2006-09-06 11:11:03 UTC
Reassigning to javacore for evaluation.
Comment 2 Jan Becicka 2006-10-26 16:27:25 UTC
Javacore module was replaced by Retouche infrastructure. This bug is not valid
in trunk any more.
Comment 3 Quality Engineering 2007-09-20 09:51:10 UTC
Reorganization of java component