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 154969

Summary: ArrayStoreException at java.lang.System.arraycopy
Product: ide Reporter: giorgio42 <giorgio42>
Component: CodeAssignee: issues@ide <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=136711
Issue Type: DEFECT Exception Reporter: 136711
Attachments: stacktrace

Description giorgio42 2008-12-08 21:42:38 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows XP, 5.1, x86

User Comments:
giorgio42: I have added python26 to the list of directories in the Favorites window.
Now NB hangs on startup when indexing this directory tree.
What a dumb idea to recursively scan all directories in the Favorites window automatically!!

Now I have to be very careful about which directories I can add there.
(I mean if I add c:\ it will scan the 2 million files on my 100 GB hard drive like a virus scanner...).

rajivderas: clieked the autodetect button

GUEST: Exception occured when I created a new Python project with existing sources during import

giorgio42: I have added python26 to the list of directories in the Favorites window.
Now NB hangs on startup when indexing this directory tree.
What a dumb idea to recursively scan all directories in the Favorites window automatically!!

Now I have to be very careful about which directories I can add there.
(I mean if I add c:\ it will scan the 2 million files on my 100 GB hard drive like a virus scanner...).



Stacktrace: 
java.lang.ArrayStoreException
        at java.lang.System.arraycopy(System.java:0)
        at java.util.ArrayList.toArray(ArrayList.java:306)
        at org.python.antlr.GrammarActions.makeTryExcept(GrammarActions.java:252)
        at org.python.antlr.PythonParser.try_stmt(PythonParser.java:7192)
        at org.python.antlr.PythonParser.compound_stmt(PythonParser.java:6264)
        at org.python.antlr.PythonParser.stmt(PythonParser.java:2375)
Comment 1 giorgio42 2008-12-08 21:42:44 UTC
Created attachment 74717 [details]
stacktrace
Comment 2 Peter Pis 2008-12-09 08:07:36 UTC

*** This issue has been marked as a duplicate of 152506 ***