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 157619 - AssertionError at org.netbeans.modules.python.editor.PythonDeclarationFinder.findMethodDeclaration
Summary: AssertionError at org.netbeans.modules.python.editor.PythonDeclarationFinder....
Status: VERIFIED FIXED
Alias: None
Product: python
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jenselme
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-29 16:05 UTC by Jan Lahoda
Modified: 2015-11-27 22:26 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 145676


Attachments
stacktrace (1.26 KB, text/plain)
2009-01-29 16:06 UTC, Jan Lahoda
Details
stacktrace (4.68 KB, text/plain)
2009-05-30 21:03 UTC, paulr5930
Details
stacktrace (1.35 KB, text/plain)
2009-07-28 20:49 UTC, kawazu428
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2009-01-29 16:05:57 UTC
Build: NetBeans IDE Dev (Build 20090129031539)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Linux, 2.6.24-19-generic, i386

Stacktrace: 
java.lang.AssertionError
        at org.netbeans.modules.python.editor.PythonDeclarationFinder.findMethodDeclaration(PythonDeclarationFinder.java:862)
        at org.netbeans.modules.python.editor.PythonCodeCompleter.computeMethodCall(PythonCodeCompleter.java:1777)
        at org.netbeans.modules.python.editor.PythonCodeCompleter.parameters(PythonCodeCompleter.java:630)
        at org.netbeans.modules.gsfret.editor.completion.GsfCompletionProvider$JavaCompletionQuery.resolveToolTip(GsfCompletionProvider.java:424)
        at org.netbeans.modules.gsfret.editor.completion.GsfCompletionProvider$JavaCompletionQuery.run(GsfCompletionProvider.java:407)
        at org.netbeans.modules.gsfret.editor.completion.GsfCompletionProvider$JavaCompletionQuery.run(GsfCompletionProvider.java:233)
Comment 1 Jan Lahoda 2009-01-29 16:06:06 UTC
Created attachment 76344 [details]
stacktrace
Comment 2 paulr5930 2009-05-30 21:03:32 UTC
Build: NetBeans IDE Dev (Build 200905290201)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284
OS: Mac OS X, 10.5.7, i386

User Comments: 
I had just made a selection from the code completion popup.

Stacktrace: 
org.openide.util.RequestProcessor$Item: task failed due to: java.lang.AssertionError
        at org.openide.util.RequestProcessor.post(RequestProcessor.java:267)
        at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.performQuery(AsyncCompletionTask.java:174)
        at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.query(AsyncCompletionTask.java:127)
        at org.netbeans.modules.editor.completion.CompletionImpl.queryResultSets(CompletionImpl.java:1533)
        at org.netbeans.modules.editor.completion.CompletionImpl.toolTipQuery(CompletionImpl.java:1185)
        at org.netbeans.modules.editor.completion.CompletionImpl.showToolTip(CompletionImpl.java:1133)
Comment 3 paulr5930 2009-05-30 21:03:43 UTC
Created attachment 83021 [details]
stacktrace
Comment 4 kawazu428 2009-07-28 20:49:00 UTC
Build: NetBeans IDE Dev (Build 200907270201)
VM: Java HotSpot(TM) Server VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Linux, 2.6.28-13-generic, i386

User Comments: 
trying code-completion within a python script using springpython

Stacktrace: 
java.lang.AssertionError
        at org.netbeans.modules.python.editor.PythonDeclarationFinder.findMethodDeclaration(PythonDeclarationFinder.java:862)
        at org.netbeans.modules.python.editor.PythonCodeCompleter.computeMethodCall(PythonCodeCompleter.java:1777)
        at org.netbeans.modules.python.editor.PythonCodeCompleter.parameters(PythonCodeCompleter.java:630)
        at org.netbeans.modules.gsfret.editor.completion.GsfCompletionProvider$JavaCompletionQuery.resolveToolTip(GsfCompletionProvider.java:424)
        at org.netbeans.modules.gsfret.editor.completion.GsfCompletionProvider$JavaCompletionQuery.run(GsfCompletionProvider.java:407)
        at org.netbeans.modules.gsfret.editor.completion.GsfCompletionProvider$JavaCompletionQuery.run(GsfCompletionProvider.java:233)
Comment 5 kawazu428 2009-07-28 20:49:05 UTC
Created attachment 85375 [details]
stacktrace
Comment 6 Exceptions Reporter 2009-07-28 20:49:10 UTC
This issue already has 7 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=145676
Comment 7 Exceptions Reporter 2010-05-13 14:46:31 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=145676
Comment 8 Jenselme 2015-10-02 14:25:03 UTC
I use code completion on a regular basis and I have not seen this issue.

Downgrading priority to P4. This should be close with the next release of nbpython.
Comment 9 Jenselme 2015-11-27 16:50:40 UTC
Presumed fixed in Python .151118 (for IDE 8.1)