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.
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
*** Issue 154969 has been marked as a duplicate of this issue. ***
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)
Created attachment 75051 [details] stacktrace
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".