Skip to content
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

Scala Kernel Error #8309

Open
Vance-Turner opened this issue Feb 25, 2021 · 0 comments
Open

Scala Kernel Error #8309

Vance-Turner opened this issue Feb 25, 2021 · 0 comments

Comments

@Vance-Turner
Copy link

Vance-Turner commented Feb 25, 2021

The Scala kernel crashes on load with the following stack trace from jupyter:

2021-02-25 12:49:53:873 -0500 [main] WARN ScalaEvaluator - ERROR: cannot add import 'com.twosigma.beakerx.scala.chart.GradientColor'
2021-02-25 12:49:54:450 -0500 [main] WARN ScalaEvaluator - ERROR creating beaker object: java.io.IOError: java.lang.RuntimeException: /packages cannot be represented as URI
2021-02-25 12:49:54:880 -0500 [main] WARN ScalaEvaluator - ERROR: cannot add import 'com.twosigma.beakerx.scala.chart.GradientColor'
2021-02-25 12:49:55:057 -0500 [main] WARN ScalaEvaluator - ERROR creating beaker object: java.io.IOError: java.lang.RuntimeException: /packages cannot be represented as URI
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "scala.tools.nsc.interpreter.IMain$Request.lineRep()" because the return value of "com.twosigma.beakerx.scala.evaluator.ScalaInterpreter.lastRequest()" is null
at com.twosigma.beakerx.scala.evaluator.ScalaEvaluator.createNewEvaluator(ScalaEvaluator.java:144)
at com.twosigma.beakerx.scala.evaluator.ScalaEvaluator.doReloadEvaluator(ScalaEvaluator.java:93)
at com.twosigma.beakerx.evaluator.BaseEvaluator.addJarsToClasspath(BaseEvaluator.java:196)
at com.twosigma.beakerx.kernel.Kernel.addJarsToClasspath(Kernel.java:257)
at com.twosigma.beakerx.kernel.RuntimetoolsImpl.configRuntimeJars(RuntimetoolsImpl.java:30)
at com.twosigma.beakerx.kernel.Kernel.(Kernel.java:100)
at com.twosigma.beakerx.scala.kernel.Scala.(Scala.java:64)
at com.twosigma.beakerx.scala.kernel.Scala.lambda$main$0(Scala.java:96)
at com.twosigma.beakerx.kernel.BxKernelRunner.run(BxKernelRunner.java:24)
at com.twosigma.beakerx.scala.kernel.Scala.main(Scala.java:78)

I am using miniconda in a clean Python 3.7 environment. I get this error whether I install beakerx_all or just beakerx_kernel_scala. Below are the versions installed when I installed just beakerx_kernel_scala

The following NEW packages will be INSTALLED:

beakerx_kernel_sc~ beakerx/linux-64::beakerx_kernel_scala-2.0.0-py37_1
openjdk pkgs/main/linux-64::openjdk-8.0.152-h7b6447c_3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant