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 193025 - AssertionError: Parser org.netbeans.modules.python.editor.PythonParser returned null instead of an invalid parser result!
Summary: AssertionError: Parser org.netbeans.modules.python.editor.PythonParser return...
Status: VERIFIED FIXED
Alias: None
Product: python
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.0
Hardware: All All
: P4 normal (vote)
Assignee: Lou Dasaro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-08 03:44 UTC by vishal.p
Modified: 2015-12-05 13:28 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 174776


Attachments
stacktrace (1.49 KB, text/plain)
2010-12-08 03:45 UTC, vishal.p
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vishal.p 2010-12-08 03:44:55 UTC
This bug was originally marked as duplicate of bug 149424, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.0 Beta (Build 201011152355)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05
OS: Windows 7

User Comments:
GUEST: moving a folder with drag and drop in php project

GUEST: Deleting contents of directory. Multiple files selected, right-click, delete, yes.

vishal.p: i m unable to open this python file .. can you please suggest me some solution for this .. 

Thanks.

stingray_za_: Moved a folder (with files) into another.

GUEST: Just opening a file

GUEST: I can't seem to refactor and change the name of a file, AND it's extension.  This is a little frustrating.

polan: After deleting .phtmk file created by mistake

polan: After deleting .phtmk file created by mistake




Stacktrace: 
java.lang.AssertionError: Parser org.netbeans.modules.python.editor.PythonParser returned null instead of an invalid parser result!
   at org.netbeans.napi.gsfret.source.ParserTaskImpl.parse(ParserTaskImpl.java:175)
   at org.netbeans.modules.gsfret.source.usages.RepositoryUpdater$CompileWorker.updateFile(RepositoryUpdater.java:1584)
   at org.netbeans.modules.gsfret.source.usages.RepositoryUpdater$CompileWorker.access$2100(RepositoryUpdater.java:654)
   at org.netbeans.modules.gsfret.source.usages.RepositoryUpdater$CompileWorker$1.run(RepositoryUpdater.java:915)
   at org.netbeans.modules.gsfret.source.usages.RepositoryUpdater$CompileWorker$1.run(RepositoryUpdater.java:679)
   at org.netbeans.modules.gsfret.source.usages.ClassIndexManager.writeLock(ClassIndexManager.java:110)
Comment 1 vishal.p 2010-12-08 03:45:00 UTC
Created attachment 103714 [details]
stacktrace
Comment 2 Lou Dasaro 2015-05-24 21:31:32 UTC
Likely fixed as a result of the GSF-to-CSL port, based on reporters stacktrace. 
I will attempt to replicate using NetBeans IDE Dev 201505170001
Comment 3 Jenselme 2015-10-02 16:21:11 UTC
Cannot reproduce. Downgrading priority to P4. This should be close with the next release of nbpython.
Comment 4 Lou Dasaro 2015-11-27 20:45:18 UTC
AFAICT, Fixed in Python Plugin version .151118 
If you get this error, and are using NetBeans IDE 8.0.x, please upgrade to IDE 8.1 and install the latest Python plugin from the Update Center (Tools->Plugins).

If you are using NetBeans 8.1 with Python Plugin version .151118 or greater, and you receive this error, please reopen with a duplicable test case and my apologies.