java.lang.UnsupportedOperationException: Opaque URI schemes are not supported; the scheme-specific part must start with a / character.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by msteindorfer
, 1 year ago
Opaque URI schemes are not supported; the scheme-specific part must start with a / character.
java.lang.UnsupportedOperationException: Opaque URI schemes are not supported; the scheme-specific part must start with a / character.
at org.rascalmpl.value.impl.primitive.SourceLocationValues.newSourceLocation(SourceLocationValues.java:107)
at org.rascalmpl.value.impl.primitive.AbstractPrimitiveValueFactory.sourceLocation(AbstractPrimitiveValueFactory.java:245)
at org.rascalmpl.value.impl.AbstractValueFactoryAdapter.sourceLocation(AbstractValueFactoryAdapter.java:184)
at org.rascalmpl.uri.libraries.ClassResourceInput.isDirectory(ClassResourceInput.java:87)
at org.rascalmpl.uri.URIResolverRegistry.isDirectory(URIResolverRegistry.java:353)
at org.rascalmpl.interpreter.result.SourceLocationResult.fieldAccess(SourceLocationResult.java:326)
at org.rascalmpl.semantics.dynamic.Expression$FieldAccess.interpret(Expression.java:868)
at org.rascalmpl.semantics.dynamic.Command$Expression.interpret(Command.java:61)
at org.rascalmpl.interpreter.Evaluator.eval(Evaluator.java:1090)
at org.rascalmpl.interpreter.Evaluator.eval(Evaluator.java:959)
at org.rascalmpl.interpreter.Evaluator.eval(Evaluator.java:914)
at org.rascalmpl.repl.RascalInterpreterREPL.evalStatement(RascalInterpreterREPL.java:114)
at org.rascalmpl.repl.BaseRascalREPL.handleInput(BaseRascalREPL.java:97)
at org.rascalmpl.repl.BaseREPL.run(BaseREPL.java:278)
at org.rascalmpl.shell.REPLRunner.run(REPLRunner.java:44)
at org.rascalmpl.shell.RascalShell.main(RascalShell.java:111)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:294)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.