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 152506 - [65cat]java.lang.ArrayStoreException
Summary: [65cat]java.lang.ArrayStoreException
Status: RESOLVED FIXED
Alias: None
Product: python
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Lou Dasaro
URL:
Keywords:
: 154969 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-06 10:26 UTC by rajivderas
Modified: 2015-05-18 06:00 UTC (History)
10 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stacktrace (3.82 KB, text/plain)
2008-12-16 18:31 UTC, tonybeckham
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rajivderas 2008-11-06 10:26:48 UTC
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)
        at org.python.antlr.PythonParser.suite(PythonParser.java:7695)
        at org.python.antlr.PythonParser.funcdef(PythonParser.java:1389)
        at org.python.antlr.PythonParser.compound_stmt(PythonParser.java:6292)
        at org.python.antlr.PythonParser.stmt(PythonParser.java:2375)
        at org.python.antlr.PythonParser.suite(PythonParser.java:7695)
        at org.python.antlr.PythonParser.classdef(PythonParser.java:13189)
        at org.python.antlr.PythonParser.compound_stmt(PythonParser.java:6306)
        at org.python.antlr.PythonParser.stmt(PythonParser.java:2375)
        at org.python.antlr.PythonParser.file_input(PythonParser.java:624)
        at org.python.antlr.ModuleParser.file_input(ModuleParser.java:39)
        at org.netbeans.modules.python.editor.PythonParser.parse(PythonParser.java:211)
        at org.netbeans.modules.python.editor.PythonParser.sanitize(PythonParser.java:329)
        at org.netbeans.modules.python.editor.PythonParser.parse(PythonParser.java:92)
        at org.netbeans.modules.python.editor.PythonParser.parseFiles(PythonParser.java:298)
        at org.netbeans.napi.gsfret.source.ParserTaskImpl.parse(ParserTaskImpl.java:170)
        at org.netbeans.modules.gsfret.source.usages.RepositoryUpdater.batchCompile(RepositoryUpdater.java:2028)
        at 
org.netbeans.modules.gsfret.source.usages.RepositoryUpdater$CompileWorker.updateFolder(RepositoryUpdater.java:1404)
        at 
org.netbeans.modules.gsfret.source.usages.RepositoryUpdater$CompileWorker.scanRoots(RepositoryUpdater.java:1129)
        at 
org.netbeans.modules.gsfret.source.usages.RepositoryUpdater$CompileWorker.access$1900(RepositoryUpdater.java:651)
        at org.netbeans.modules.gsfret.source.usages.RepositoryUpdater$CompileWorker$.run(RepositoryUpdater.java:789)
        at org.netbeans.modules.gsfret.source.usages.RepositoryUpdater$CompileWorker$.run(RepositoryUpdater.java:679)
        at org.netbeans.modules.gsfret.source.usages.ClassIndexManager.writeLock(ClassIndexManager.java:107)
        at org.netbeans.modules.gsfret.source.usages.RepositoryUpdater$CompileWorker.run(RepositoryUpdater.java:676)
        at org.netbeans.modules.gsfret.source.usages.RepositoryUpdater$CompileWorker.run(RepositoryUpdater.java:651)
        at org.netbeans.napi.gsfret.source.Source$CompilationJob.run(Source.java:1347)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
Was parsing C:\Python26\Lib\distutils\msvc9compiler.py
Comment 1 Peter Pis 2008-12-09 08:07:24 UTC
*** Issue 154969 has been marked as a duplicate of this issue. ***
Comment 2 tonybeckham 2008-12-16 18:31:25 UTC
Build: NetBeans IDE Dev (Build 081216)
VM: OpenJDK Client VM, 1.6.0_0-b11, OpenJDK  Runtime Environment, 1.6.0_0-b11
OS: Linux, 2.6.24-21-generic, i386

User Comments: 
Started python that I built.  While initial scanning was taking place this exception was thrown several times.  I had projects opened that used a Python instance that has spaces in the path

Stacktrace: 
java.lang.ArrayStoreException
        at java.lang.System.arraycopy(System.java:0)
        at java.util.ArrayList.toArray(ArrayList.java:328)
        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 3 tonybeckham 2008-12-16 18:31:30 UTC
Created attachment 75051 [details]
stacktrace
Comment 4 Lou Dasaro 2015-05-18 06:00:58 UTC
Unable to replicate anomaly. Was probably fixed long, long ago. If not, was certainly fixed by porting Python Editor APIs from GSF to CSL.
http://hg.netbeans.org/main/contrib/rev/94fd635a7eb3

Search other python bugs for "spaces in path".