java.lang.Error: symbol variable Red$module$1 does not exist in Main.main

codecommit.com | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Scala for Java Refugees Part 4: Pattern Matching and Exceptions - Code Commit

    codecommit.com | 9 months ago
    java.lang.Error: symbol variable Red$module$1 does not exist in Main.main
  2. 0

    unexpectedly abrupt end for such an innocent mistake

    Google Groups | 8 years ago | Meredith Gregory
    java.lang.Error: symbol value x does not exist in line1$object$$iw$$iw.<init>
  3. 0

    For loops

    Google Groups | 5 years ago | David Waller
    java.lang.Error: Unknown type: <notype>, <notype> [class scala.tools.nsc.symtab. Types$NoType$, class scala.tools.nsc.symtab.Types$NoType$] TypeRef? false
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.Error

      symbol variable Red$module$1 does not exist in Main.main

      at scala.tools.nsc.backend.icode.GenICode$ICodePhase.scala$tools$nsc$backend$icode$GenICode$ICodePhase$$genLoad()
    2. Scala Compiler
      GenICode$ICodePhase$$anonfun$genStat$1.apply
      1. scala.tools.nsc.backend.icode.GenICode$ICodePhase.scala$tools$nsc$backend$icode$GenICode$ICodePhase$$genLoad(GenICode.scala:914)
      2. scala.tools.nsc.backend.icode.GenICode$ICodePhase.genLoadArguments(GenICode.scala:1112)
      3. scala.tools.nsc.backend.icode.GenICode$ICodePhase.scala$tools$nsc$backend$icode$GenICode$ICodePhase$$genLoad(GenICode.scala:829)
      4. scala.tools.nsc.backend.icode.GenICode$ICodePhase.genLoadQualifier(GenICode.scala:1059)
      5. scala.tools.nsc.backend.icode.GenICode$ICodePhase.scala$tools$nsc$backend$icode$GenICode$ICodePhase$$genLoad(GenICode.scala:826)
      6. scala.tools.nsc.backend.icode.GenICode$ICodePhase.scala$tools$nsc$backend$icode$GenICode$ICodePhase$$genLoad(GenICode.scala:416)
      7. scala.tools.nsc.backend.icode.GenICode$ICodePhase.scala$tools$nsc$backend$icode$GenICode$ICodePhase$$genStat(GenICode.scala:181)
      8. scala.tools.nsc.backend.icode.GenICode$ICodePhase$$anonfun$genStat$1.apply(GenICode.scala:144)
      9. scala.tools.nsc.backend.icode.GenICode$ICodePhase$$anonfun$genStat$1.apply(GenICode.scala:143)
      9 frames
    3. Scala
      List.foreach
      1. scala.List.foreach(List.scala:763)
      1 frame
    4. Scala Compiler
      GenICode$ICodePhase$$anonfun$genStat$1.apply
      1. scala.tools.nsc.backend.icode.GenICode$ICodePhase.genStat(GenICode.scala:143)
      2. scala.tools.nsc.backend.icode.GenICode$ICodePhase.scala$tools$nsc$backend$icode$GenICode$ICodePhase$$genLoad(GenICode.scala:940)
      3. scala.tools.nsc.backend.icode.GenICode$ICodePhase.scala$tools$nsc$backend$icode$GenICode$ICodePhase$$genLoad(GenICode.scala:441)
      4. scala.tools.nsc.backend.icode.GenICode$ICodePhase.scala$tools$nsc$backend$icode$GenICode$ICodePhase$$genLoad(GenICode.scala:941)
      5. scala.tools.nsc.backend.icode.GenICode$ICodePhase.scala$tools$nsc$backend$icode$GenICode$ICodePhase$$genStat(GenICode.scala:181)
      6. scala.tools.nsc.backend.icode.GenICode$ICodePhase$$anonfun$genStat$1.apply(GenICode.scala:144)
      7. scala.tools.nsc.backend.icode.GenICode$ICodePhase$$anonfun$genStat$1.apply(GenICode.scala:143)
      7 frames
    5. Scala
      List.foreach
      1. scala.List.foreach(List.scala:763)
      1 frame
    6. Scala Compiler
      GenICode$ICodePhase$$anonfun$gen$1.apply
      1. scala.tools.nsc.backend.icode.GenICode$ICodePhase.genStat(GenICode.scala:143)
      2. scala.tools.nsc.backend.icode.GenICode$ICodePhase.scala$tools$nsc$backend$icode$GenICode$ICodePhase$$genLoad(GenICode.scala:940)
      3. scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:112)
      4. scala.tools.nsc.backend.icode.GenICode$ICodePhase$$anonfun$gen$1.apply(GenICode.scala:70)
      5. scala.tools.nsc.backend.icode.GenICode$ICodePhase$$anonfun$gen$1.apply(GenICode.scala:70)
      5 frames
    7. Scala
      List.foreach
      1. scala.List.foreach(List.scala:763)
      1 frame
    8. Scala Compiler
      GenICode$ICodePhase$$anonfun$gen$1.apply
      1. scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:70)
      2. scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:134)
      3. scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:88)
      4. scala.tools.nsc.backend.icode.GenICode$ICodePhase$$anonfun$gen$1.apply(GenICode.scala:70)
      5. scala.tools.nsc.backend.icode.GenICode$ICodePhase$$anonfun$gen$1.apply(GenICode.scala:70)
      5 frames
    9. Scala
      List.foreach
      1. scala.List.foreach(List.scala:763)
      1 frame
    10. Scala Compiler
      Global$GlobalPhase$$anonfun$run$1.apply
      1. scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:70)
      2. scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:80)
      3. scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:66)
      4. scala.tools.nsc.backend.icode.GenICode$ICodePhase.apply(GenICode.scala:62)
      5. scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:247)
      6. scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:233)
      7. scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:233)
      7 frames
    11. Scala
      ListBuffer$$anon$1.foreach
      1. scala.Iterator$class.foreach(Iterator.scala:387)
      2. scala.collection.mutable.ListBuffer$$anon$1.foreach(ListBuffer.scala:255)
      2 frames
    12. Scala Compiler
      SocketServer$$anonfun$run$1.apply
      1. scala.tools.nsc.Global$GlobalPhase.run(Global.scala:233)
      2. scala.tools.nsc.backend.icode.GenICode$ICodePhase.run(GenICode.scala:55)
      3. scala.tools.nsc.Global$Run.compileSources(Global.scala:545)
      4. scala.tools.nsc.Global$Run.compile(Global.scala:629)
      5. scala.tools.nsc.StandardCompileServer.session(CompileServer.scala:137)
      6. scala.tools.util.SocketServer$$anonfun$run$1.apply(SocketServer.scala:69)
      7. scala.tools.util.SocketServer$$anonfun$run$1.apply(SocketServer.scala:69)
      7 frames
    13. Scala
      Console$.withOut
      1. scala.util.DynamicVariable.withValue(DynamicVariable.scala:73)
      2. scala.Console$.withOut(Console.scala:84)
      3. scala.Console$.withOut(Console.scala:102)
      3 frames
    14. Scala Compiler
      CompileServer.main
      1. scala.tools.util.SocketServer.run(SocketServer.scala:68)
      2. scala.tools.nsc.StandardCompileServer.main(CompileServer.scala:179)
      3. scala.tools.nsc.CompileServer.main(CompileServer.scala)
      3 frames
    15. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    16. Scala Compiler
      MainGenericRunner.main
      1. scala.tools.nsc.ObjectRunner$$anonfun$run$1.apply(ObjectRunner.scala:75)
      2. scala.tools.nsc.ObjectRunner$.withContextClassLoader(ObjectRunner.scala:49)
      3. scala.tools.nsc.ObjectRunner$.run(ObjectRunner.scala:74)
      4. scala.tools.nsc.MainGenericRunner$.main(MainGenericRunner.scala:161)
      5. scala.tools.nsc.MainGenericRunner.main(MainGenericRunner.scala)
      5 frames