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 201906

Summary: scala.tools.nsc.MissingRequirementError: object scala not found.
Product: contrib Reporter: berryware <berryware>
Component: ScalaAssignee: _ dcaoyuan <dcaoyuan>
Status: NEW ---    
Severity: normal CC: alanbur, Alpha-Programmer, berryware, cschlichtherle, doctorlux, jkovalsky, jsacha, jtulach, misterm, ouertani, reinouts, Restarac, rrhegde
Priority: P1    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 179063
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace

Description berryware 2011-09-09 18:14:14 UTC
Build: NetBeans IDE 7.0.1 (Build 201107282000)
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

User Comments:
berryware: Editing scala files




Stacktrace: 
scala.tools.nsc.MissingRequirementError: object scala not found.
   at scala.tools.nsc.symtab.Definitions$definitions$.getModuleOrClass(Definitions.java:655)
   at scala.tools.nsc.symtab.Definitions$definitions$.getModule(Definitions.java:605)
   at scala.tools.nsc.symtab.Definitions$definitions$.ScalaPackage(Definitions.java:145)
   at scala.tools.nsc.symtab.Definitions$definitions$.ScalaPackageClass(Definitions.java:146)
   at scala.tools.nsc.symtab.Definitions$definitions$.AnyClass(Definitions.java:176)
   at scala.tools.nsc.symtab.Definitions$definitions$.init(Definitions.java:814)
Comment 1 berryware 2011-09-09 18:14:19 UTC
Created attachment 110582 [details]
stacktrace
Comment 2 ouertani 2011-09-10 07:20:50 UTC
Created attachment 110593 [details]
stacktrace

open netbeans witch contains scala maven project
Comment 3 Exceptions Reporter 2011-09-23 17:31:22 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=179063
Comment 4 Milutin Kristofic 2011-09-26 13:28:36 UTC
I didn't install scala, therefore I received such a error.
Comment 5 Jaroslav Tulach 2012-05-13 11:51:00 UTC
Created attachment 119388 [details]
stacktrace

Just generated empty scala application
Comment 6 Jaroslav Tulach 2012-05-20 18:45:08 UTC
Created attachment 119656 [details]
stacktrace

I get this error whenever I try to use Scala support in NetBeans
Comment 7 Jaroslav Tulach 2012-08-09 09:43:41 UTC
Should the (completely broken and unusable) scala support be removed from the updatecenter?
Comment 8 Jiri Kovalsky 2012-08-09 11:00:16 UTC
Scala is not published on any NetBeans Update Center.
Comment 9 Jaroslav Tulach 2012-10-09 15:32:33 UTC
I have a workaround: set SCALA_HOME env variable to point to your scala installation and then invoke NetBeans.
Comment 10 misterm 2013-03-05 06:24:16 UTC
Created attachment 132182 [details]
stacktrace
Comment 11 Exceptions Reporter 2013-03-05 06:24:23 UTC
This bug already has 100 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=179063
Comment 12 misterm 2013-03-05 06:27:16 UTC
Created attachment 132183 [details]
stacktrace
Comment 13 misterm 2013-03-05 06:30:16 UTC
Created attachment 132184 [details]
stacktrace