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 - scala.tools.nsc.MissingRequirementError: object scala not found.
Summary: scala.tools.nsc.MissingRequirementError: object scala not found.
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Scala (show other bugs)
Version: 7.0
Hardware: All All
: P1 normal (vote)
Assignee: _ dcaoyuan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-09 18:14 UTC by berryware
Modified: 2013-03-05 06:30 UTC (History)
13 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 179063


Attachments
stacktrace (4.63 KB, text/plain)
2011-09-09 18:14 UTC, berryware
Details
stacktrace (2.01 KB, text/plain)
2011-09-10 07:20 UTC, ouertani
Details
stacktrace (5.21 KB, text/plain)
2012-05-13 11:51 UTC, Jaroslav Tulach
Details
stacktrace (2.01 KB, text/plain)
2012-05-20 18:45 UTC, Jaroslav Tulach
Details
stacktrace (5.21 KB, text/plain)
2013-03-05 06:24 UTC, misterm
Details
stacktrace (2.01 KB, text/plain)
2013-03-05 06:27 UTC, misterm
Details
stacktrace (5.21 KB, text/plain)
2013-03-05 06:30 UTC, misterm
Details

Note You need to log in before you can comment on or make changes to this bug.
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