org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: groovysh_parse: 2: unexpected token: in @ line 2, column 31. g.V().group().by('name').by(in().count()) ^ 1 error

Google Groups | Adolfo Onasontisi | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    in() not recognized but out() is fine?

    Google Groups | 8 months ago | Adolfo Onasontisi
    org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: groovysh_parse: 2: unexpected token: in @ line 2, column 31. g.V().group().by('name').by(in().count()) ^ 1 error
  2. 0

    Tinkerpop Gremlin console not working

    Stack Overflow | 2 years ago | Andrea T
    org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: groovysh_evaluate: 3: unable to resolve class OrintGraph @ line 3, column 5. g = new OrintGraph("local:/opt/orientdb/databases/circletask"); ^ 1 error
  3. 0

    How do you open an existing graph in gremlin?

    Google Groups | 2 years ago | Tomer Sagi
    org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: groovysh_evaluate: 56: (gremlin > g) is a binary expression, but it should be a variable expression at line: 56 column: 12. File: groovysh_evaluate @ line 56, column 12. gremlin> g = TitanFactory.open("conf/titan-berkeleydb-es.properties") ^ 1 error
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.codehaus.groovy.control.MultipleCompilationErrorsException

      startup failed: groovysh_parse: 2: unexpected token: in @ line 2, column 31. g.V().group().by('name').by(in().count()) ^ 1 error

      at org.codehaus.groovy.control.ErrorCollector.failIfErrors()
    2. Groovy
      InteractiveShellRunner.super$2$work
      1. org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:309)
      2. org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:106)
      3. org.codehaus.groovy.control.ErrorCollector.addFatalError(ErrorCollector.java:148)
      4. org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:119)
      5. org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:131)
      6. org.codehaus.groovy.control.SourceUnit.addError(SourceUnit.java:359)
      7. org.codehaus.groovy.antlr.AntlrParserPlugin.transformCSTIntoAST(AntlrParserPlugin.java:142)
      8. org.codehaus.groovy.antlr.AntlrParserPlugin.parseCST(AntlrParserPlugin.java:108)
      9. org.codehaus.groovy.control.SourceUnit.parse(SourceUnit.java:236)
      10. org.codehaus.groovy.tools.shell.RigidParser.parse(Parser.groovy:157)
      11. org.codehaus.groovy.tools.shell.Parser.parse(Parser.groovy:73)
      12. org.codehaus.groovy.tools.shell.Groovysh.execute(Groovysh.groovy:172)
      13. org.codehaus.groovy.tools.shell.Shell.leftShift(Shell.groovy:119)
      14. org.codehaus.groovy.tools.shell.ShellRunner.work(ShellRunner.groovy:94)
      15. org.codehaus.groovy.tools.shell.InteractiveShellRunner.super$2$work(InteractiveShellRunner.groovy)
      15 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:497)
      3 frames
    4. Groovy
      InteractiveShellRunner.super$2$run
      1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
      2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
      3. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207)
      4. org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:130)
      5. org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuper0(ScriptBytecodeAdapter.java:150)
      6. org.codehaus.groovy.tools.shell.InteractiveShellRunner.work(InteractiveShellRunner.groovy:123)
      7. org.codehaus.groovy.tools.shell.ShellRunner.run(ShellRunner.groovy:58)
      8. org.codehaus.groovy.tools.shell.InteractiveShellRunner.super$2$run(InteractiveShellRunner.groovy)
      8 frames
    5. 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
    6. Groovy
      IndyInterface.selectMethod
      1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
      2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
      3. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207)
      4. org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:130)
      5. org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuper0(ScriptBytecodeAdapter.java:150)
      6. org.codehaus.groovy.tools.shell.InteractiveShellRunner.run(InteractiveShellRunner.groovy:82)
      7. org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:215)
      7 frames
    7. org.apache.tinkerpop
      Console.<init>
      1. org.apache.tinkerpop.gremlin.console.Console.<init>(Console.groovy:144)
      1 frame
    8. Groovy
      IndyInterface.selectMethod
      1. org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:215)
      1 frame
    9. org.apache.tinkerpop
      Console.main
      1. org.apache.tinkerpop.gremlin.console.Console.main(Console.groovy:303)
      1 frame