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 199440 - Error: typeConstructor inapplicable for <none>
Summary: Error: typeConstructor inapplicable for <none>
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Scala (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: _ dcaoyuan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-15 14:56 UTC by hyzoom
Modified: 2012-11-25 15:50 UTC (History)
11 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 179043


Attachments
stacktrace (4.09 KB, text/plain)
2011-06-15 14:56 UTC, hyzoom
Details
stacktrace (1.75 KB, text/plain)
2011-12-06 06:54 UTC, rrhegde
Details
stacktrace (1.84 KB, text/plain)
2012-06-11 18:54 UTC, Milos Kleint
Details
stacktrace (1.84 KB, text/plain)
2012-06-11 19:03 UTC, Milos Kleint
Details
stacktrace (1.84 KB, text/plain)
2012-06-11 19:06 UTC, Milos Kleint
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hyzoom 2011-06-15 14:56:19 UTC
Build: NetBeans IDE 7.0 (Build 201104080000)
VM: OpenJDK Client VM, 19.0-b09, OpenJDK Runtime Environment, 1.6.0_20-b20
OS: Linux

User Comments:
GUEST: Loaded a Maven-Scala project, then a Scala source file

GUEST: Just run debug on my scala application (maven project).
Maven built all sources and then tried to execute application but nothing happened - execution immediately ended and red error icon with this exception was shown in the statusbar.

GUEST: I tried to open a Scala project I had just created. I tried to open it, while though the Main application was visible in the right hand side of Netbeams, the Project itself was not shown in the Projects list on the left hand side of Netbeans.




Stacktrace: 
java.lang.Error: typeConstructor inapplicable for <none>
   at scala.tools.nsc.symtab.SymbolTable.abort(SymbolTable.java:35)
   at scala.tools.nsc.symtab.Symbols$Symbol.typeConstructor(Symbols.java:882)
   at scala.tools.nsc.symtab.Definitions$definitions$.scala$tools$nsc$symtab$Definitions$definitions$$booltype(Definitions.java:157)
   at scala.tools.nsc.symtab.Definitions$definitions$.init(Definitions.java:811)
   at scala.tools.nsc.Global$Run.<init>(Global.java:694)
   at scala.tools.nsc.interactive.Global$TyperRun.<init>(Global.java:925)
Comment 1 hyzoom 2011-06-15 14:56:25 UTC
Created attachment 108912 [details]
stacktrace
Comment 2 Exceptions Reporter 2011-06-15 15:02:13 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=179043
Comment 3 rrhegde 2011-12-06 06:54:56 UTC
Created attachment 113851 [details]
stacktrace

Displayign this error each time when i open a Scala file from project explorer
Comment 4 tpistols 2011-12-16 17:19:02 UTC
When I added the scala plugin to my POM, this error went away.  I don't know for sure that it's related but that is what I just observed.
Comment 5 Milos Kleint 2012-06-11 18:54:33 UTC
Created attachment 120689 [details]
stacktrace

opened a scala file
Comment 6 Milos Kleint 2012-06-11 19:03:34 UTC
Created attachment 120691 [details]
stacktrace

endless popups wit this exception when opening a scala file.
Comment 7 Milos Kleint 2012-06-11 19:06:33 UTC
Created attachment 120692 [details]
stacktrace