gw.lang.parser.exceptions.ParseResultsException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Gosu on Eclipse 3.7.2
    via by Julian Reyes,
  • Gosu XSD error
    via by Claudio Tasso,
    • 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(ParserBase.java:250) at gw.internal.gosu.parser.GosuParser.parseProgram(GosuParser.java:624) at gw.internal.gosu.parser.GosuParser.parseProgram(GosuParser.java:533) at gw.lang.shell.Gosu.main(Gosu.java:100)
    No Bugmate found.