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 153039 - Error: no-symbol does not have owner
Summary: Error: no-symbol does not have owner
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Scala (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: _ dcaoyuan
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-12 13:30 UTC by misterm
Modified: 2009-07-14 11:40 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 131655


Attachments
stacktrace (4.05 KB, text/plain)
2009-07-14 11:40 UTC, neilg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description misterm 2008-11-12 13:30:58 UTC
Build: NetBeans IDE Dev (Build 200810181401)
VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Windows 2003, 5.2, x86
User comments: Using context sensitive help to find methods for "Source."
STACKTRACE: (first 10 lines)
java.lang.Error: no-symbol does not have owner
        at scala.tools.nsc.symtab.Symbols$NoSymbol$.owner(Symbols.java:1609)
        at scala.tools.nsc.symtab.Symbols$Symbol.isStatic(Symbols.java:324)
        at org.netbeans.modules.scala.editing.ast.ScalaElement.getModifiers(ScalaElement.java:385)
        at org.netbeans.modules.scala.editing.ast.ScalaElement.getModifiers(ScalaElement.java:159)
        at org.netbeans.modules.scala.editing.ScalaCompletionProposal.getModifiers(ScalaCompletionProposal.java:157)
        at 
org.netbeans.modules.gsfret.editor.completion.GsfCompletionItem$DelegatedItem.getIcon(GsfCompletionItem.java:221)
        at org.netbeans.modules.gsfret.editor.completion.GsfCompletionItem.render(GsfCompletionItem.java:502)
        at 
org.netbeans.modules.editor.completion.CompletionJList$RenderComponent.paintComponent(CompletionJList.java:307)
        at javax.swing.JComponent.paint(JComponent.java:1027)
        at javax.swing.CellRendererPane.paintComponent(CellRendererPane.java:134)
Comment 1 neilg 2009-07-14 11:40:29 UTC
Build: NetBeans IDE Dev (Build 200907071400)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Linux, 2.6.28-13-generic, amd64

User Comments: 
Hit ctrl-space for code completion in scala file

Stacktrace: 
java.lang.Error: no-symbol does not have owner<br/>
        at scala.tools.nsc.symtab.Symbols$NoSymbol$.owner(Symbols.java:1655)<br/>
        at scala.tools.nsc.symtab.Symbols$Symbol.isStatic(Symbols.java:371)<br/>
        at org.netbeans.modules.scala.editing.ast.ScalaElement.getModifiers(ScalaElement.java:396)<br/>
        at org.netbeans.modules.scala.editing.ast.ScalaElement.getModifiers(ScalaElement.java:164)<br/>
        at org.netbeans.modules.scala.editing.ScalaCompletionProposal.getModifiers(ScalaCompletionProposal.java:162)<br/>
        at org.netbeans.modules.csl.editor.completion.GsfCompletionItem$DelegatedItem.getIcon(GsfCompletionItem.java:221)<br/>
Comment 2 neilg 2009-07-14 11:40:33 UTC
Created attachment 84700 [details]
stacktrace
Comment 3 Exceptions Reporter 2009-07-14 11:40:38 UTC
This issue already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=131655