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 224933 - scala.reflect.internal.MissingRequirementError: object scala.runtime in compiler mirror not found.
Summary: scala.reflect.internal.MissingRequirementError: object scala.runtime in compi...
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Scala (show other bugs)
Version: 7.2
Hardware: All All
: P1 normal with 3 votes (vote)
Assignee: _ dcaoyuan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-15 22:29 UTC by athompson
Modified: 2016-07-18 11:33 UTC (History)
51 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 196106


Attachments
stacktrace (3.50 KB, text/plain)
2013-01-15 22:29 UTC, athompson
Details
stacktrace (3.50 KB, text/plain)
2013-03-29 03:33 UTC, michbarsinai
Details
stacktrace (3.43 KB, text/plain)
2013-05-14 02:31 UTC, michbarsinai
Details
stacktrace (3.31 KB, text/plain)
2013-05-16 08:19 UTC, aldobrucale
Details
stacktrace (3.45 KB, text/plain)
2013-10-24 18:45 UTC, michbarsinai
Details
stacktrace (3.37 KB, text/plain)
2013-11-13 15:24 UTC, unai
Details
stacktrace (3.37 KB, text/plain)
2013-11-13 15:39 UTC, unai
Details
stacktrace (4.74 KB, text/plain)
2014-11-12 06:09 UTC, sidthesloth
Details
Exception stacktrace (8.34 KB, text/plain)
2014-11-19 12:02 UTC, pns
Details
stacktrace (3.37 KB, text/plain)
2014-12-13 16:19 UTC, David Strupl
Details
stacktrace (3.37 KB, text/plain)
2014-12-13 16:22 UTC, David Strupl
Details
stacktrace (3.37 KB, text/plain)
2014-12-13 16:46 UTC, David Strupl
Details
stacktrace (6.81 KB, text/plain)
2014-12-29 15:08 UTC, Jiri Rechtacek
Details
stacktrace (2.55 KB, text/plain)
2015-10-05 18:00 UTC, alied
Details
stacktrace (2.96 KB, text/plain)
2015-12-04 14:11 UTC, kosmonaffft
Details
stacktrace (2.96 KB, text/plain)
2015-12-04 14:23 UTC, kosmonaffft
Details
stacktrace (2.96 KB, text/plain)
2015-12-08 04:37 UTC, kosmonaffft
Details

Note You need to log in before you can comment on or make changes to this bug.
Description athompson 2013-01-15 22:29:05 UTC
Build: NetBeans IDE 7.2.1 (Build 201210100934)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.12-b01-434, Java(TM) SE Runtime Environment, 1.6.0_37-b06-434-11M3909
OS: Mac OS X

User Comments:
athompson: created scala project




Stacktrace: 
scala.reflect.internal.MissingRequirementError: object scala.runtime in compiler mirror not found.
   at scala.reflect.internal.MissingRequirementError$.signal(MissingRequirementError.java:16)
   at scala.reflect.internal.MissingRequirementError$.notFound(MissingRequirementError.java:17)
   at scala.reflect.internal.Mirrors$RootsBase$$anonfun$getModuleOrClass$3.apply(Mirrors.java:49)
   at scala.reflect.internal.Mirrors$RootsBase$$anonfun$getModuleOrClass$3.apply(Mirrors.java:49)
   at scala.reflect.internal.Symbols$Symbol.orElse(Symbols.java:2173)
   at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.java:48)
Comment 1 athompson 2013-01-15 22:29:07 UTC
Created attachment 130261 [details]
stacktrace
Comment 2 Exceptions Reporter 2013-02-20 08:19:57 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=196106
Comment 3 michbarsinai 2013-03-29 03:33:08 UTC
Created attachment 133200 [details]
stacktrace

Running a sample scala project. I did not touch the code of the "scala application" template.
Comment 4 michbarsinai 2013-05-14 02:31:53 UTC
Created attachment 134400 [details]
stacktrace

Created a new scala project. Error occurred roughtly when the editor window opened.
Comment 5 aldobrucale 2013-05-16 08:19:58 UTC
Created attachment 134500 [details]
stacktrace

Compiling the android-maven-plugin samples
Comment 6 michbarsinai 2013-10-24 18:45:07 UTC
Created attachment 141533 [details]
stacktrace

Opened a new scala project.
Comment 7 unai 2013-11-13 15:24:25 UTC
Created attachment 142144 [details]
stacktrace

Just installed Scala modules. Created a new empty Scala project.
Comment 8 unai 2013-11-13 15:39:24 UTC
Created attachment 142147 [details]
stacktrace

Trying to run default Scala Hello-world empty project
Comment 9 Exceptions Reporter 2013-11-16 09:12:51 UTC
This bug already has 100 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=196106
Comment 10 Exceptions Reporter 2013-11-16 09:15:47 UTC
This bug already has 100 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=196106
Comment 11 Exceptions Reporter 2014-05-21 12:06:34 UTC
This bug already has 150 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=196106
Comment 12 _ hildo 2014-09-27 13:16:42 UTC
FYI.  I got this error after upgrading to scala 2.11.2.  When I went back to using 2.10.4, I didn't get this error.

I can confirm that the newer version of scala-library.jar is missing this class (it is in the 2.10 version of the JAR file)
Comment 13 sidthesloth 2014-11-12 06:09:49 UTC
Created attachment 150447 [details]
stacktrace

occurs on start of netbeans
Comment 14 pns 2014-11-19 12:02:25 UTC
Created attachment 150569 [details]
Exception stacktrace

Got this exception using Scala 2.10.4, Windows 8.1 x64 and NetBeans 8.0.1
Comment 15 pns 2014-11-19 12:03:23 UTC
PS: This exception is reproducible (project is a java/scala maven one)
Comment 16 David Strupl 2014-12-13 16:19:46 UTC
Created attachment 151092 [details]
stacktrace

Tried to edit a Scala file.
Comment 17 David Strupl 2014-12-13 16:22:46 UTC
Created attachment 151093 [details]
stacktrace

Tried to edit a scala file.
Comment 18 David Strupl 2014-12-13 16:46:47 UTC
Created attachment 151094 [details]
stacktrace

Created empty scala project.
Comment 19 Jiri Rechtacek 2014-12-29 15:08:54 UTC
Created attachment 151310 [details]
stacktrace

Just open a Maven based project with Scala sources.
Comment 20 alied 2015-10-05 18:00:56 UTC
Created attachment 156524 [details]
stacktrace

invoking CC in a Scala source file (I'm forced to use Scala... :-( )
Comment 21 kosmonaffft 2015-12-04 14:11:43 UTC
Created attachment 157665 [details]
stacktrace

Try to compile project with Scala maven plugin...
Comment 22 kosmonaffft 2015-12-04 14:23:44 UTC
Created attachment 157666 [details]
stacktrace

Work on project with scala code...
Comment 23 kosmonaffft 2015-12-08 04:37:14 UTC
Created attachment 157709 [details]
stacktrace

Open project with scala sources...