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 198677 - AssertionError at org.netbeans.modules.csl.editor.hyperlink.GoToSupport.getIdentifierSpan
Summary: AssertionError at org.netbeans.modules.csl.editor.hyperlink.GoToSupport.getId...
Status: RESOLVED INCOMPLETE
Alias: None
Product: editor
Classification: Unclassified
Component: CSL (API & infrastructure) (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-17 14:08 UTC by larsomat
Modified: 2012-05-08 15:49 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 174257


Attachments
stacktrace (2.97 KB, text/plain)
2011-05-17 14:08 UTC, larsomat
Details
stacktrace (2.94 KB, text/plain)
2012-04-16 14:23 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description larsomat 2011-05-17 14:08:11 UTC
Build: NetBeans IDE Dev (Build 201105160400)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02-334, Java(TM) SE Runtime Environment, 1.6.0_24-b07-334-10M3326
OS: Mac OS X

Stacktrace: 
java.lang.AssertionError
   at org.netbeans.modules.csl.editor.hyperlink.GoToSupport.getIdentifierSpan(GoToSupport.java:346)
   at org.netbeans.modules.csl.editor.hyperlink.GsfHyperlinkProvider.getHyperlinkSpan(GsfHyperlinkProvider.java:77)
   at org.netbeans.modules.csl.editor.hyperlink.GsfHyperlinkProvider.isHyperlinkPoint(GsfHyperlinkProvider.java:73)
   at org.netbeans.lib.editor.hyperlink.HyperlinkOperation.findProvider(HyperlinkOperation.java:285)
   at org.netbeans.lib.editor.hyperlink.HyperlinkOperation.performHyperlinking(HyperlinkOperation.java:245)
   at org.netbeans.lib.editor.hyperlink.HyperlinkOperation.mouseMoved(HyperlinkOperation.java:224)
Comment 1 larsomat 2011-05-17 14:08:15 UTC
Created attachment 108356 [details]
stacktrace
Comment 2 Svata Dedic 2012-04-16 13:50:04 UTC
Please provide more details on how to reproduce the defect. 
It seems that the language provider returned an invalid value to the infrastructure, but I need to know at least what language you were using and ideally get the snippet of text or whole source where the error happened.

Thanks.
Comment 3 Exceptions Reporter 2012-04-16 14:23:23 UTC
Created attachment 118338 [details]
stacktrace
Comment 4 luislobo 2012-05-08 15:49:39 UTC
This happened today for me.
I'm using PHP. Was trying to autocomplete this:

$dirAssets = $am->publish( Yii::getPathOfAlias( 'application.widgets.FCNavigationBar.assets' ) );

I was doing: 
$dirAssets = $am->publish( Yii::path<ctrl-space> );
and the error appeared.