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

GitHub | msteindorfer | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Class resource resolver failing under mavenized build?

    GitHub | 6 months ago | msteindorfer
    java.lang.UnsupportedOperationException: Opaque URI schemes are not supported; the scheme-specific part must start with a / character.

    Root Cause Analysis

    1. 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()
    2. org.rascalmpl.value
      AbstractValueFactoryAdapter.sourceLocation
      1. org.rascalmpl.value.impl.primitive.SourceLocationValues.newSourceLocation(SourceLocationValues.java:107)
      2. org.rascalmpl.value.impl.primitive.AbstractPrimitiveValueFactory.sourceLocation(AbstractPrimitiveValueFactory.java:245)
      3. org.rascalmpl.value.impl.AbstractValueFactoryAdapter.sourceLocation(AbstractValueFactoryAdapter.java:184)
      3 frames
    3. org.rascalmpl.uri
      URIResolverRegistry.isDirectory
      1. org.rascalmpl.uri.libraries.ClassResourceInput.isDirectory(ClassResourceInput.java:87)
      2. org.rascalmpl.uri.URIResolverRegistry.isDirectory(URIResolverRegistry.java:353)
      2 frames
    4. org.rascalmpl.interpreter
      SourceLocationResult.fieldAccess
      1. org.rascalmpl.interpreter.result.SourceLocationResult.fieldAccess(SourceLocationResult.java:326)
      1 frame
    5. org.rascalmpl.semantics
      Command$Expression.interpret
      1. org.rascalmpl.semantics.dynamic.Expression$FieldAccess.interpret(Expression.java:868)
      2. org.rascalmpl.semantics.dynamic.Command$Expression.interpret(Command.java:61)
      2 frames
    6. org.rascalmpl.interpreter
      Evaluator.eval
      1. org.rascalmpl.interpreter.Evaluator.eval(Evaluator.java:1090)
      2. org.rascalmpl.interpreter.Evaluator.eval(Evaluator.java:959)
      3. org.rascalmpl.interpreter.Evaluator.eval(Evaluator.java:914)
      3 frames
    7. org.rascalmpl.repl
      BaseREPL.run
      1. org.rascalmpl.repl.RascalInterpreterREPL.evalStatement(RascalInterpreterREPL.java:114)
      2. org.rascalmpl.repl.BaseRascalREPL.handleInput(BaseRascalREPL.java:97)
      3. org.rascalmpl.repl.BaseREPL.run(BaseREPL.java:278)
      3 frames
    8. org.rascalmpl.shell
      RascalShell.main
      1. org.rascalmpl.shell.REPLRunner.run(REPLRunner.java:44)
      2. org.rascalmpl.shell.RascalShell.main(RascalShell.java:111)
      2 frames
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    10. org.codehaus.mojo
      ExecJavaMojo$1.run
      1. org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:294)
      1 frame
    11. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame