eu.larkc.csparql.core.new_parser.ParseException: Encountered " <SYMBOL> "# "" at line 1, column 1. Was expecting: "register query " ...

GitHub | keski | 1 year 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

    Comments in queries lead to parse exception

    GitHub | 1 year ago | keski
    eu.larkc.csparql.core.new_parser.ParseException: Encountered " <SYMBOL> "# "" at line 1, column 1. Was expecting: "register query " ...

    Root Cause Analysis

    1. eu.larkc.csparql.core.new_parser.ParseException

      Encountered " <SYMBOL> "# "" at line 1, column 1. Was expecting: "register query " ...

      at eu.larkc.csparql.core.new_parser.CsparqlParser.generateParseException()
    2. eu.larkc.csparql
      CsparqlEngineImpl.registerQuery
      1. eu.larkc.csparql.core.new_parser.CsparqlParser.generateParseException(CsparqlParser.java:1517)
      2. eu.larkc.csparql.core.new_parser.CsparqlParser.jj_consume_token(CsparqlParser.java:1402)
      3. eu.larkc.csparql.core.new_parser.CsparqlParser.RegisterClause(CsparqlParser.java:205)
      4. eu.larkc.csparql.core.new_parser.CsparqlParser.Query(CsparqlParser.java:41)
      5. eu.larkc.csparql.core.new_parser.CsparqlParser.createAndParse(CsparqlParser.java:36)
      6. eu.larkc.csparql.core.new_parser.utility_files.CSparqlTranslator.translate(CSparqlTranslator.java:51)
      7. eu.larkc.csparql.core.engine.CsparqlEngineImpl.registerQuery(CsparqlEngineImpl.java:298)
      7 frames
    3. org.ecare.example
      HelloEcare.main
      1. org.ecare.example.HelloEcare.main(HelloEcare.java:59)
      1 frame