java.lang.NullPointerException

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

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at org.rascalmpl.interpreter.TypeReifier.funcToProduction()
  2. org.rascalmpl.interpreter
    OverloadedFunction.encodeAsConstructor
    1. org.rascalmpl.interpreter.TypeReifier.funcToProduction(TypeReifier.java:327)
    2. org.rascalmpl.interpreter.TypeReifier.overloadedToProduction(TypeReifier.java:336)
    3. org.rascalmpl.interpreter.result.OverloadedFunction.encodeAsConstructor(OverloadedFunction.java:77)
    3 frames
  3. org.rascalmpl.value
    StandardTextWriter$Writer.visitExternal
    1. org.rascalmpl.value.io.StandardTextWriter$Writer.visitExternal(StandardTextWriter.java:590)
    2. org.rascalmpl.value.io.StandardTextWriter$Writer.visitExternal(StandardTextWriter.java:1)
    2 frames
  4. org.rascalmpl.interpreter
    OverloadedFunction.accept
    1. org.rascalmpl.interpreter.result.OverloadedFunction.accept(OverloadedFunction.java:493)
    1 frame
  5. org.rascalmpl.value
    AbstractValue.toString
    1. org.rascalmpl.value.io.StandardTextWriter$Writer.visitTuple(StandardTextWriter.java:582)
    2. org.rascalmpl.value.io.StandardTextWriter$Writer.visitTuple(StandardTextWriter.java:1)
    3. org.rascalmpl.value.impl.fast.Tuple.accept(Tuple.java:81)
    4. org.rascalmpl.value.io.StandardTextWriter$Writer.visitList(StandardTextWriter.java:140)
    5. org.rascalmpl.value.io.StandardTextWriter$Writer.visitList(StandardTextWriter.java:1)
    6. org.rascalmpl.value.impl.fast.List.accept(List.java:104)
    7. org.rascalmpl.value.io.StandardTextWriter$Writer.visitMap(StandardTextWriter.java:165)
    8. org.rascalmpl.value.io.StandardTextWriter$Writer.visitMap(StandardTextWriter.java:1)
    9. org.rascalmpl.value.impl.AbstractMap.accept(AbstractMap.java:60)
    10. org.rascalmpl.value.io.StandardTextWriter.write(StandardTextWriter.java:72)
    11. org.rascalmpl.value.io.StandardTextWriter.valueToString(StandardTextWriter.java:63)
    12. org.rascalmpl.value.impl.AbstractValue.toString(AbstractValue.java:66)
    12 frames
  6. org.rascalmpl.interpreter
    StringTemplateConverter$Visitor$IndentingAppend.interpret
    1. org.rascalmpl.interpreter.StringTemplateConverter$Visitor$IndentingAppend.appendToString(StringTemplateConverter.java:142)
    2. org.rascalmpl.interpreter.StringTemplateConverter$Visitor$IndentingAppend.interpret(StringTemplateConverter.java:113)
    2 frames
  7. org.rascalmpl.semantics
    Statement$Expression.interpret
    1. org.rascalmpl.semantics.dynamic.Statement$NonEmptyBlock.interpret(Statement.java:759)
    2. org.rascalmpl.semantics.dynamic.Statement$NonEmptyBlock.interpret(Statement.java:759)
    3. org.rascalmpl.semantics.dynamic.Statement$For.interpret(Statement.java:468)
    4. org.rascalmpl.semantics.dynamic.Literal$String.interpret(Literal.java:237)
    5. org.rascalmpl.semantics.dynamic.Expression$Literal.interpret(Expression.java:1548)
    6. org.rascalmpl.semantics.dynamic.Expression$CallOrTree.interpret(Expression.java:489)
    7. org.rascalmpl.semantics.dynamic.Statement$Expression.interpret(Statement.java:365)
    7 frames
  8. org.rascalmpl.interpreter
    RascalFunction.call
    1. org.rascalmpl.interpreter.result.RascalFunction.runBody(RascalFunction.java:383)
    2. org.rascalmpl.interpreter.result.RascalFunction.call(RascalFunction.java:322)
    2 frames
  9. org.rascalmpl.semantics
    Statement$VariableDeclaration.interpret
    1. org.rascalmpl.semantics.dynamic.Expression$CallOrTree.interpret(Expression.java:527)
    2. org.rascalmpl.semantics.dynamic.Declarator$Default.interpret(Declarator.java:53)
    3. org.rascalmpl.semantics.dynamic.LocalVariableDeclaration$Default.interpret(LocalVariableDeclaration.java:36)
    4. org.rascalmpl.semantics.dynamic.Statement$VariableDeclaration.interpret(Statement.java:1005)
    4 frames
  10. org.rascalmpl.interpreter
    RascalFunction.call
    1. org.rascalmpl.interpreter.result.RascalFunction.runBody(RascalFunction.java:383)
    2. org.rascalmpl.interpreter.result.RascalFunction.call(RascalFunction.java:322)
    2 frames
  11. org.rascalmpl.semantics
    Expression$CallOrTree.interpret
    1. org.rascalmpl.semantics.dynamic.Expression$CallOrTree.interpret(Expression.java:527)
    1 frame
  12. org.rascalmpl.interpreter
    TraversalEvaluator.traverse
    1. org.rascalmpl.interpreter.utils.Cases$DefaultBlock.matchEvalAndReplace(Cases.java:295)
    2. org.rascalmpl.interpreter.utils.Cases$DefaultBlock.matchAndEval(Cases.java:255)
    3. org.rascalmpl.interpreter.TraversalEvaluator.applyCases(TraversalEvaluator.java:540)
    4. org.rascalmpl.interpreter.TraversalEvaluator.traverseTop(TraversalEvaluator.java:564)
    5. org.rascalmpl.interpreter.TraversalEvaluator.traverseOnce(TraversalEvaluator.java:191)
    6. org.rascalmpl.interpreter.TraversalEvaluator.traverseListOnce(TraversalEvaluator.java:458)
    7. org.rascalmpl.interpreter.TraversalEvaluator.traverseOnce(TraversalEvaluator.java:165)
    8. org.rascalmpl.interpreter.TraversalEvaluator.traverseADTOnce(TraversalEvaluator.java:326)
    9. org.rascalmpl.interpreter.TraversalEvaluator.traverseOnce(TraversalEvaluator.java:161)
    10. org.rascalmpl.interpreter.TraversalEvaluator.traverseListOnce(TraversalEvaluator.java:458)
    11. org.rascalmpl.interpreter.TraversalEvaluator.traverseOnce(TraversalEvaluator.java:165)
    12. org.rascalmpl.interpreter.TraversalEvaluator.traverseADTOnce(TraversalEvaluator.java:326)
    13. org.rascalmpl.interpreter.TraversalEvaluator.traverseOnce(TraversalEvaluator.java:161)
    14. org.rascalmpl.interpreter.TraversalEvaluator.traverseListOnce(TraversalEvaluator.java:458)
    15. org.rascalmpl.interpreter.TraversalEvaluator.traverseOnce(TraversalEvaluator.java:165)
    16. org.rascalmpl.interpreter.TraversalEvaluator.traverseADTOnce(TraversalEvaluator.java:326)
    17. org.rascalmpl.interpreter.TraversalEvaluator.traverseOnce(TraversalEvaluator.java:161)
    18. org.rascalmpl.interpreter.TraversalEvaluator.traverse(TraversalEvaluator.java:120)
    18 frames
  13. org.rascalmpl.semantics
    Statement$Solve.interpret
    1. org.rascalmpl.semantics.dynamic.Visit$GivenStrategy.interpret(Visit.java:132)
    2. org.rascalmpl.semantics.dynamic.Statement$Visit.interpret(Statement.java:1024)
    3. org.rascalmpl.semantics.dynamic.Statement$Assignment.interpret(Statement.java:205)
    4. org.rascalmpl.semantics.dynamic.Statement$NonEmptyBlock.interpret(Statement.java:759)
    5. org.rascalmpl.semantics.dynamic.Statement$Solve.interpret(Statement.java:861)
    5 frames
  14. org.rascalmpl.interpreter
    RascalFunction.call
    1. org.rascalmpl.interpreter.result.RascalFunction.runBody(RascalFunction.java:383)
    2. org.rascalmpl.interpreter.result.RascalFunction.call(RascalFunction.java:322)
    2 frames
  15. org.rascalmpl.semantics
    Statement$Assignment.interpret
    1. org.rascalmpl.semantics.dynamic.Expression$CallOrTree.interpret(Expression.java:527)
    2. org.rascalmpl.semantics.dynamic.Statement$Expression.interpret(Statement.java:365)
    3. org.rascalmpl.semantics.dynamic.Statement$Assignment.interpret(Statement.java:205)
    3 frames
  16. org.rascalmpl.interpreter
    RascalFunction.call
    1. org.rascalmpl.interpreter.result.RascalFunction.runBody(RascalFunction.java:383)
    2. org.rascalmpl.interpreter.result.RascalFunction.call(RascalFunction.java:292)
    2 frames
  17. org.rascalmpl.semantics
    Command$Expression.interpret
    1. org.rascalmpl.semantics.dynamic.Expression$CallOrTree.interpret(Expression.java:527)
    2. org.rascalmpl.semantics.dynamic.Command$Expression.interpret(Command.java:61)
    2 frames
  18. 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
  19. org.rascalmpl.repl
    RascalInterpreterREPL.evalStatement
    1. org.rascalmpl.repl.RascalInterpreterREPL.evalStatement(RascalInterpreterREPL.java:114)
    1 frame
  20. org.rascalmpl.eclipse
    RascalTerminalConnector$1$1.evalStatement
    1. org.rascalmpl.eclipse.repl.RascalTerminalConnector$1$1.evalStatement(RascalTerminalConnector.java:189)
    1 frame
  21. org.rascalmpl.repl
    BaseREPL.run
    1. org.rascalmpl.repl.BaseRascalREPL.handleInput(BaseRascalREPL.java:97)
    2. org.rascalmpl.repl.BaseREPL.run(BaseREPL.java:278)
    2 frames
  22. org.rascalmpl.eclipse
    RascalTerminalConnector$1.run
    1. org.rascalmpl.eclipse.repl.RascalTerminalConnector$1.run(RascalTerminalConnector.java:238)
    1 frame