org.geotools.filter.text.cql2.CQLException: Encountered "-" at line 1, column 9. Was expecting one of: "(" ... ":" ... <IDENTIFIER> ... "." ... <NOT> ... "like" ... "is" ... "exists" ... "does-not-exist" ... "before" ... "after" ... "during" ... "between" ... <EQ> ... <GT> ... <LT> ... <GTE> ... <LTE> ... <NEQ> ... Parsing : metadata-content-type = '56f7320631934f36a8fb09b74712ca04'.

Google Groups | Jeff Vettraino | 1 year ago
  1. 0

    Example CQL Query for 'metadata-content-type'

    Google Groups | 1 year ago | Jeff Vettraino
    org.geotools.filter.text.cql2.CQLException: Encountered "-" at line 1, column 9. Was expecting one of: "(" ... ":" ... <IDENTIFIER> ... "." ... <NOT> ... "like" ... "is" ... "exists" ... "does-not-exist" ... "before" ... "after" ... "during" ... "between" ... <EQ> ... <GT> ... <LT> ... <GTE> ... <LTE> ... <NEQ> ... Parsing : metadata-content-type = '56f7320631934f36a8fb09b74712ca04'.
  2. 0

    CSV download error

    GitHub | 3 years ago | pblain
    org.geoserver.platform.ServiceException: Could not parse CQL filter list.

    Root Cause Analysis

    1. org.geotools.filter.text.cql2.CQLException

      Encountered "-" at line 1, column 9. Was expecting one of: "(" ... ":" ... <IDENTIFIER> ... "." ... <NOT> ... "like" ... "is" ... "exists" ... "does-not-exist" ... "before" ... "after" ... "during" ... "between" ... <EQ> ... <GT> ... <LT> ... <GTE> ... <LTE> ... <NEQ> ... Parsing : metadata-content-type = '56f7320631934f36a8fb09b74712ca04'.

      at org.geotools.filter.text.cql2.CQLCompiler.compileFilter()
    2. org.geotools.filter
      CQL.toFilter
      1. org.geotools.filter.text.cql2.CQLCompiler.compileFilter(CQLCompiler.java:106)[300:catalog-core-commands:2.8.0.ALPHA1]
      2. org.geotools.filter.text.commons.CompilerUtil.parseFilter(CompilerUtil.java:196)[300:catalog-core-commands:2.8.0.ALPHA1]
      3. org.geotools.filter.text.cql2.CQL.toFilter(CQL.java:134)[300:catalog-core-commands:2.8.0.ALPHA1]
      4. org.geotools.filter.text.cql2.CQL.toFilter(CQL.java:113)[300:catalog-core-commands:2.8.0.ALPHA1]
      4 frames
    3. org.codice.ddf
      SearchCommand.doExecute
      1. org.codice.ddf.commands.catalog.SearchCommand.doExecute(SearchCommand.java:76)[300:catalog-core-commands:2.8.0.ALPHA1]
      1 frame
    4. Apache Karaf :: Shell :: Console
      AbstractCommand.execute
      1. org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[17:org.apache.karaf.shell.console:2.4.3]
      2. org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[17:org.apache.karaf.shell.console:2.4.3]
      2 frames
    5. Apache Felix Gogo Runtime
      CommandSessionImpl.execute
      1. org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[17:org.apache.karaf.shell.console:2.4.3]
      2. org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[17:org.apache.karaf.shell.console:2.4.3]
      3. org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[17:org.apache.karaf.shell.console:2.4.3]
      4. org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[17:org.apache.karaf.shell.console:2.4.3]
      5. org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[17:org.apache.karaf.shell.console:2.4.3]
      6. org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[17:org.apache.karaf.shell.console:2.4.3]
      7. org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)[17:org.apache.karaf.shell.console:2.4.3]
      7 frames
    6. Apache Karaf :: Shell :: Console
      DelayedStarted.run
      1. org.apache.karaf.shell.console.jline.Console.run(Console.java:195)[17:org.apache.karaf.shell.console:2.4.3]
      2. org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:79)[17:org.apache.karaf.shell.console:2.4.3]
      2 frames