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 156290 - AssertionError at org.netbeans.modules.python.editor.PythonDeclarationFinder.findMethodDeclaration
Summary: AssertionError at org.netbeans.modules.python.editor.PythonDeclarationFinder....
Status: RESOLVED FIXED
Alias: None
Product: python
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Lou Dasaro
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-05 15:47 UTC by jsober
Modified: 2015-05-25 03:08 UTC (History)
13 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 144024


Attachments
stacktrace (1.52 KB, text/plain)
2009-01-05 15:47 UTC, jsober
Details
stacktrace (1.52 KB, text/plain)
2009-01-08 21:42 UTC, jsober
Details
stacktrace (1.62 KB, text/plain)
2009-07-29 09:45 UTC, kawazu428
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jsober 2009-01-05 15:47:16 UTC
Build: NetBeans IDE Dev (Build 20090105113255)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-132, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-275
OS: Mac OS X, 10.4.11, ppc

User Comments:
jsober: Editing a function.

GUEST: from sqlalchemy import *
from sqlalchemy.orm import mapper
from tg2gt.model import metadat

pages_table = Table("pages",metadata,
    Column('id',Interger, primary_key=True),
    Column('pagename',Text,unique=True))

jsober: Editing a function.



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:1531)
        at org.netbeans.modules.python.editor.PythonCodeCompleter.completeParameters(PythonCodeCompleter.java:1356)
        at org.netbeans.modules.python.editor.PythonCodeCompleter.complete(PythonCodeCompleter.java:306)
        at org.netbeans.modules.gsfret.editor.completion.GsfCompletionProvider$JavaCompletionQuery.addCodeCompletionItems(GsfCompletionProvider.java:589)
        at org.netbeans.modules.gsfret.editor.completion.GsfCompletionProvider$JavaCompletionQuery.resolveCompletion(GsfCompletionProvider.java:575)
Comment 1 jsober 2009-01-05 15:47:20 UTC
Created attachment 75453 [details]
stacktrace
Comment 2 jsober 2009-01-08 21:42:27 UTC
Build: NetBeans IDE Dev (Build 20090108113711)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-132, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-275
OS: Mac OS X, 10.4.11, ppc

User Comments: 
Editing a python file, waiting for the hints to come up for BeautifulSoup.UnicodeDammit.

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:1603)
        at org.netbeans.modules.python.editor.PythonCodeCompleter.completeParameters(PythonCodeCompleter.java:1428)
        at org.netbeans.modules.python.editor.PythonCodeCompleter.complete(PythonCodeCompleter.java:306)
        at org.netbeans.modules.gsfret.editor.completion.GsfCompletionProvider$JavaCompletionQuery.addCodeCompletionItems(GsfCompletionProvider.java:589)
        at org.netbeans.modules.gsfret.editor.completion.GsfCompletionProvider$JavaCompletionQuery.resolveCompletion(GsfCompletionProvider.java:575)
Comment 3 jsober 2009-01-08 21:42:33 UTC
Created attachment 75600 [details]
stacktrace
Comment 4 Exceptions Reporter 2009-01-20 08:08:39 UTC
This issue has already 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=144024
Comment 5 kawazu428 2009-07-29 09:45:01 UTC
Build: NetBeans IDE Dev (Build 200907290201)
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: 
spring-python, python: intented to write

container = ApplicationContext(XMLConfig(...)), was at

container = ApplicationContext(XM 

and tried to use ctrl+space - code completion.

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.completeParameters(PythonCodeCompleter.java:1602)
        at org.netbeans.modules.python.editor.PythonCodeCompleter.complete(PythonCodeCompleter.java:315)
        at org.netbeans.modules.gsfret.editor.completion.GsfCompletionProvider$JavaCompletionQuery.addCodeCompletionItems(GsfCompletionProvider.java:589)
        at org.netbeans.modules.gsfret.editor.completion.GsfCompletionProvider$JavaCompletionQuery.resolveCompletion(GsfCompletionProvider.java:575)
Comment 6 kawazu428 2009-07-29 09:45:05 UTC
Created attachment 85411 [details]
stacktrace
Comment 7 Lou Dasaro 2015-05-25 03:08:50 UTC
Unable to replicate using NetBeans IDE Dev 201505170001 on Windows 8.1, JDK 7u75 Python 2.7.9 and Jython 2.7.0.
This was most likely fixed as a result of the GSF-to-CSL conversion.
Therefore marking as Fixed.