-
Notifications
You must be signed in to change notification settings - Fork 21
GlobalSymbolLoaders#lookupMemberAtTyperPhaseIfPossible throw NullPointerException with JDK12 #11381
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@retronym is it obvious to you at all what the cause of this might be, or where to look? |
We ran into a similar problem recently. It was caused by the unusual way that SBT overrides Interesting note: the error that appears above actually is emitted by Scala 2.12.7, which is used to compile |
Seems to be fixed by sbt/sbt#4549 |
Windows 10 error: error while loading String, class file '/modules/java.base/java/lang/String.class' is broken
.\hello-world>sbt |
@phrmoy what sbt version is that? it should work if you use sbt |
My version is 1.3.2. As it turns out, however, the template had R[A]NT: |
@phrmoy thanks for calling it to our attention. I've submitted scala/hello-world.g8#18 to fix it |
Similar error from attempting to download Scala 2.13.1 using SBT right from Intellij (in Ubuntu 19.10) as per the setup instructions in https://docs.scala-lang.org/getting-started/intellij-track/getting-started-with-scala-in-intellij.html. Screenshot attached. |
Uh oh!
There was an error while loading. Please reload this page.
build.sbt
project/plugins.sbt
( add
-Ydebug
forprintStackTrace
https://github.com/scala/scala/blob/v2.12.8/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala#L115 )project/build.properties
I'm not sure this is a scalac issue or sbt issue /cc @eed3si9n
The text was updated successfully, but these errors were encountered: