gw.lang.parser.exceptions.ParseResultsException: Errors: Syntax error. [line:1 col:16] in line 1: uses java.util.* line 2: class Greet { Line Number: 1 Column: 16 Unexpected token: class [line:2 col:1] in line 1: uses java.util.* line 2: class Greet { line 3: var name1: String Line Number: 2 Column: 1 Not a statement. [line:2 col:7] in line 1: uses java.util.* line 2: class Greet { line 3: var name1: String Line Number: 2 Column: 7 Could not resolve symbol for : Greet [line:2 col:7] in line 1: uses java.util.* line 2: class Greet { line 3: var name1: String Line Number: 2 Column: 7 Syntax error. [line:3 col:16] in line 2: class Greet { line 3: var name1: String line 4: construct(name2: String){ Line Number: 3 Column: 16 Unexpected token: construct [line:4 col:5] in line 3: var name1: String line 4: construct(name2: String){ line 5: name1=name2.capitalize() Line Number: 4 Column: 5 Could not resolve symbol for : name2 [line:4 col:15] in line 3: var name1: String line 4: construct(name2: String){ line 5: name1=name2.capitalize() Line Number: 4 Column: 15 Expecting ')' to close parenthesized expression. [line:4 col:15] in line 3: var name1: String line 4: construct(name2: String){ line 5: name1=name2.capitalize() Line Number: 4 Column: 15 Unexpected token: '(' [line:4 col:14] in line 3: var name1: String line 4: construct(name2: String){ line 5: name1=name2.capitalize() Line Number: 4 Column: 14 Not a statement. [line:4 col:15] in line 3: var name1: String line 4: construct(name2: String){ line 5: name1=name2.capitalize() Line Number: 4 Column: 15 Could not resolve symbol for : name2 [line:4 col:15] in line 3: var name1: String line 4: construct(name2: String){ line 5: name1=name2.capitalize() Line Number: 4 Column: 15 Unexpected token: ':' [line:4 col:20] in line 3: var name1: String line 4: construct(name2: String){ line 5: name1=name2.capitalize() Line Number: 4 Column: 20 Unexpected token: String [line:4 col:22] in line 3: var name1: String line 4: construct(name2: String){ line 5: name1=name2.capitalize() Line Number: 4 Column: 22 Syntax error. [line:4 col:22] in line 3: var name1: String line 4: construct(name2: String){ line 5: name1=name2.capitalize() Line Number: 4 Column: 22 Unexpected token: ')' [line:4 col:28] in line 3: var name1: String line 4: construct(name2: String){ line 5: name1=name2.capitalize() Line Number: 4 Column: 28 Could not resolve symbol for : name2 [line:5 col:15] in line 4: construct(name2: String){ line 5: name1=name2.capitalize() line 6: } Expected Type: String Line Number: 5 Column: 15 "Greet" is not a valid type. [line:11 col:11] in line 10: } line 11: var g=new Greet("World!") line 12: g.handShake() Line Number: 11 Column: 11

Google Groups | Julian Reyes | 4 years ago
  1. 0

    Gosu on Eclipse 3.7.2

    Google Groups | 4 years ago | Julian Reyes
    gw.lang.parser.exceptions.ParseResultsException: Errors: Syntax error. [line:1 col:16] in line 1: uses java.util.* line 2: class Greet { Line Number: 1 Column: 16 Unexpected token: class [line:2 col:1] in line 1: uses java.util.* line 2: class Greet { line 3: var name1: String Line Number: 2 Column: 1 Not a statement. [line:2 col:7] in line 1: uses java.util.* line 2: class Greet { line 3: var name1: String Line Number: 2 Column: 7 Could not resolve symbol for : Greet [line:2 col:7] in line 1: uses java.util.* line 2: class Greet { line 3: var name1: String Line Number: 2 Column: 7 Syntax error. [line:3 col:16] in line 2: class Greet { line 3: var name1: String line 4: construct(name2: String){ Line Number: 3 Column: 16 Unexpected token: construct [line:4 col:5] in line 3: var name1: String line 4: construct(name2: String){ line 5: name1=name2.capitalize() Line Number: 4 Column: 5 Could not resolve symbol for : name2 [line:4 col:15] in line 3: var name1: String line 4: construct(name2: String){ line 5: name1=name2.capitalize() Line Number: 4 Column: 15 Expecting ')' to close parenthesized expression. [line:4 col:15] in line 3: var name1: String line 4: construct(name2: String){ line 5: name1=name2.capitalize() Line Number: 4 Column: 15 Unexpected token: '(' [line:4 col:14] in line 3: var name1: String line 4: construct(name2: String){ line 5: name1=name2.capitalize() Line Number: 4 Column: 14 Not a statement. [line:4 col:15] in line 3: var name1: String line 4: construct(name2: String){ line 5: name1=name2.capitalize() Line Number: 4 Column: 15 Could not resolve symbol for : name2 [line:4 col:15] in line 3: var name1: String line 4: construct(name2: String){ line 5: name1=name2.capitalize() Line Number: 4 Column: 15 Unexpected token: ':' [line:4 col:20] in line 3: var name1: String line 4: construct(name2: String){ line 5: name1=name2.capitalize() Line Number: 4 Column: 20 Unexpected token: String [line:4 col:22] in line 3: var name1: String line 4: construct(name2: String){ line 5: name1=name2.capitalize() Line Number: 4 Column: 22 Syntax error. [line:4 col:22] in line 3: var name1: String line 4: construct(name2: String){ line 5: name1=name2.capitalize() Line Number: 4 Column: 22 Unexpected token: ')' [line:4 col:28] in line 3: var name1: String line 4: construct(name2: String){ line 5: name1=name2.capitalize() Line Number: 4 Column: 28 Could not resolve symbol for : name2 [line:5 col:15] in line 4: construct(name2: String){ line 5: name1=name2.capitalize() line 6: } Expected Type: String Line Number: 5 Column: 15 "Greet" is not a valid type. [line:11 col:11] in line 10: } line 11: var g=new Greet("World!") line 12: g.handShake() Line Number: 11 Column: 11
  2. 0

    Can't run GOSU queries in scratchpad

    Stack Overflow | 1 month ago | Aravind R Pillai
    gw.lang.parser.exceptions.ParseResultsException: Gosu Scratchpad.gsp Errors: Could not resolve symbol for : Account [line:3 col:41] in line 2: line 3: var object = gw.api.database.Query.make(Account).select() Expected Type: Type<T> Line Number: 3 Column: 41 Could not resolve symbol for : Account [line:3 col:41] in line 2: line 3: var object = gw.api.database.Query.make(Account).select() Expected Type: Type<T> Line Number: 3 Column: 41
  3. 0

    GOSU: The type "block():void" cannot be converted to "block(java.lang.String):void" [line:-300 col:4

    Google Groups | 2 years ago | Mark Sayewich
    gw.lang.parser.exceptions.ParseResultsException: AddingStepdefs.gsp Errors: The type "block():void" cannot be converted to "block(java.lang.String):void" [line:-300 col:43] in line 1: Expected Type: block(java.lang.String):void Line Number: 13 Column: 43
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. gw.lang.parser.exceptions.ParseResultsException

      Errors: Syntax error. [line:1 col:16] in line 1: uses java.util.* line 2: class Greet { Line Number: 1 Column: 16 Unexpected token: class [line:2 col:1] in line 1: uses java.util.* line 2: class Greet { line 3: var name1: String Line Number: 2 Column: 1 Not a statement. [line:2 col:7] in line 1: uses java.util.* line 2: class Greet { line 3: var name1: String Line Number: 2 Column: 7 Could not resolve symbol for : Greet [line:2 col:7] in line 1: uses java.util.* line 2: class Greet { line 3: var name1: String Line Number: 2 Column: 7 Syntax error. [line:3 col:16] in line 2: class Greet { line 3: var name1: String line 4: construct(name2: String){ Line Number: 3 Column: 16 Unexpected token: construct [line:4 col:5] in line 3: var name1: String line 4: construct(name2: String){ line 5: name1=name2.capitalize() Line Number: 4 Column: 5 Could not resolve symbol for : name2 [line:4 col:15] in line 3: var name1: String line 4: construct(name2: String){ line 5: name1=name2.capitalize() Line Number: 4 Column: 15 Expecting ')' to close parenthesized expression. [line:4 col:15] in line 3: var name1: String line 4: construct(name2: String){ line 5: name1=name2.capitalize() Line Number: 4 Column: 15 Unexpected token: '(' [line:4 col:14] in line 3: var name1: String line 4: construct(name2: String){ line 5: name1=name2.capitalize() Line Number: 4 Column: 14 Not a statement. [line:4 col:15] in line 3: var name1: String line 4: construct(name2: String){ line 5: name1=name2.capitalize() Line Number: 4 Column: 15 Could not resolve symbol for : name2 [line:4 col:15] in line 3: var name1: String line 4: construct(name2: String){ line 5: name1=name2.capitalize() Line Number: 4 Column: 15 Unexpected token: ':' [line:4 col:20] in line 3: var name1: String line 4: construct(name2: String){ line 5: name1=name2.capitalize() Line Number: 4 Column: 20 Unexpected token: String [line:4 col:22] in line 3: var name1: String line 4: construct(name2: String){ line 5: name1=name2.capitalize() Line Number: 4 Column: 22 Syntax error. [line:4 col:22] in line 3: var name1: String line 4: construct(name2: String){ line 5: name1=name2.capitalize() Line Number: 4 Column: 22 Unexpected token: ')' [line:4 col:28] in line 3: var name1: String line 4: construct(name2: String){ line 5: name1=name2.capitalize() Line Number: 4 Column: 28 Could not resolve symbol for : name2 [line:5 col:15] in line 4: construct(name2: String){ line 5: name1=name2.capitalize() line 6: } Expected Type: String Line Number: 5 Column: 15 "Greet" is not a valid type. [line:11 col:11] in line 10: } line 11: var g=new Greet("World!") line 12: g.handShake() Line Number: 11 Column: 11

      at gw.internal.gosu.parser.ParserBase.verifyParsedElement()
    2. gw.internal.gosu
      GosuParser.parseProgram
      1. gw.internal.gosu.parser.ParserBase.verifyParsedElement(ParserBase.java:250)
      2. gw.internal.gosu.parser.GosuParser.parseProgram(GosuParser.java:624)
      3. gw.internal.gosu.parser.GosuParser.parseProgram(GosuParser.java:533)
      3 frames
    3. gw.lang.shell
      Gosu.main
      1. gw.lang.shell.Gosu.main(Gosu.java:100)
      1 frame