Unquoted leading negative sign with attribute value causes trouble

Anthony Edwards's Avatar

Anthony Edwards

16 Nov, 2010 10:07 PM via web

I am performing a query with /connections REST API call. One of my terms is delta:-100%. When I include that term, I get a very ugly error message back (see below). When I exclude that term, things work fine. Or if I put that value inside quotes, it works fine. Is there something special about a leading negative sign for an attribute's value?

java.lang.Exception��>;���xr�java.lang.Throwable��5'9w���L�causet�Ljava/lang/Throwable;L� detailMessaget�Ljava/lang/String;[� stackTracet�[Ljava/lang/StackTraceElement;xpsr�0com.saffrontech.processor.aql.AQLParserException0x�������xr�java.lang.RuntimeException�_G 4����xq�~��q�~�t�7Expect LITERAL or TEXT found token: NOT type: NOT at 25ur�[Ljava.lang.StackTraceElement;F<<�"9��xp���2sr�java.lang.StackTraceElementa ��&6���I� lineNumberL�declaringClassq�~�L�fileNameq�~�L� methodNameq�~�xp��t�'com.saffrontech.processor.aql.AQLParsert�AQLParser.javat�processTextsq�~�����q�~�q�~�t� parseImplsq�~�����q�~�q�~�t�parsesq�~����t�,com.saffrontech.processor.AQLParserProcessort�AQLParserProcessor.javat�executesq�~����t�$com.saffrontech.itinerary.Whiteboardt�Whiteboard.javaq�~�sq�~����#t�-com.saffrontech.webservices.WhiteboardRestlett�WhiteboardRestlet.javat�processsq�~����t�com.saffrontech.webservices.SaffronRestlett�SaffronRestlet.javat�handlesq�~�����t�org.restlet.Filtert�Filter.javat�doHandlesq�~�����q�~�%q�~�&q�~�#sq�~����t�org.restlet.Routert�Router.javaq�~�#sq�~�����q�~�%q�~�&q�~�'sq�~�����t�org.restlet.Guardt� Guard.javat�acceptsq�~���bq�~�.q�~�/q�~�'sq�~�����q�~�%q�~�&q�~�#sq�~�����q�~�%q�~�&q�~�'sq�~�����q�~�%q�~�&q�~�#sq�~�����q�~�%q�~�&q�~�'sq�~�����q�~�%q�~�&q�~�#sq�~�����q�~�%q�~�&q�~�'sq�~�����t� com.noelios.restlet.StatusFiltert�StatusFilter.javaq�~�'sq�~�����q�~�%q�~�&q�~�#sq�~�����q�~�%q�~�&q�~�'sq�~�����q�~�%q�~�&q�~�#sq�~����|t�com.noelios.restlet.ChainHelpert�ChainHelper.javaq�~�#sq�~����pt�1com.noelios.restlet.application.ApplicationHelpert�ApplicationHelper.javaq�~�#sq�~���Ut�org.restlet.Applicationt�Application.javaq�~�#sq�~�����q�~�%q�~�&q�~�'sq�~�����q�~�%q�~�&q�~�#sq�~����q�~�q�~�+q�~�#sq�~�����q�~�%q�~�&q�~�'sq�~�����q�~�%q�~�&q�~�#sq�~����q�~�q�~�+q�~�#sq�~�����q�~�%q�~�&q�~�'sq�~�����q�~�9q�~�:q�~�'sq�~�����q�~�%q�~�&q�~�#sq�~�����q�~�%q�~�&q�~�'sq�~�����q�~�%q�~�&q�~�#sq�~����|q�~�?q�~�@q�~�#sq�~����t�org.restlet.Componentt�Component.javaq�~�#sq�~���Kt�org.restlet.Servert�Server.javaq�~�#sq�~����Dt� com.noelios.restlet.ServerHelpert�ServerHelper.javaq�~�#sq�~�����t�)com.noelios.restlet.http.HttpServerHelpert�HttpServerHelper.javaq�~�#sq�~�����t�=com.noelios.restlet.ext.jetty.JettyServerHelper$WrappedServert�JettyServerHelper.javaq�~�#sq�~���t� org.mortbay.jetty.HttpConnectiont�HttpConnection.javat� handleRequestsq�~���pt�/org.mortbay.jetty.HttpConnection$RequestHandlerq�~�dt�contentsq�~����t�org.mortbay.jetty.HttpParsert�HttpParser.javat� parseNextsq�~�����q�~�jq�~�kt�parseAvailablesq�~����q�~�cq�~�dq�~�#sq�~����t�(org.mortbay.io.nio.SelectChannelEndPointt�SelectChannelEndPoint.javat�runsq�~���t�.org.mortbay.thread.QueuedThreadPool$PoolThreadt�QueuedThreadPool.javaq�~�sxt-Failed to parse AQL string '(composite score delta composite score delta composite score delta composite score delta composite score delta composite score delta (country:"united states") (population:completed) (race:caucasian) (reading_level:"post-high school")'uq�~� ���/sq�~����'q�~�q�~�q�~�sq�~����q�~�q�~�q�~�sq�~����#q�~�q�~�q�~�sq�~����q�~�!q�~�"q�~�#sq�~�����q�~�%q�~�&q�~�'sq�~�����q�~�%q�~�&q�~�#sq�~����q�~�q�~�+q�~�#sq�~�����q�~�%q�~�&q�~�'sq�~�����q�~�.q�~�/q�~�0sq�~���bq�~�.q�~�/q�~�'sq�~�����q�~�%q�~�&q�~�#sq�~�����q�~�%q�~�&q�~�'sq�~�����q�~�%q�~�&q�~�#sq�~�����q�~�%q�~�&q�~�'sq�~�����q�~�%q�~�&q�~�#sq�~�����q�~�%q�~�&q�~�'sq�~�����q�~�9q�~�:q�~�'sq�~�����q�~�%q�~�&q�~�#sq�~�����q�~�%q�~�&q�~�'sq�~�����q�~�%q�~�&q�~�#sq�~����|q�~�?q�~�@q�~�#sq�~����pq�~�Bq�~�Cq�~�#sq�~���Uq�~�Eq�~�Fq�~�#sq�~�����q�~�%q�~�&q�~�'sq�~�����q�~�%q�~�&q�~�#sq�~����q�~�q�~�+q�~�#sq�~�����q�~�%q�~�&q�~�'sq�~�����q�~�%q�~�&q�~�#sq�~����q�~�*q�~�+q�~�#sq�~�����q�~�%q�~�&q�~�'sq�~�����q�~�9q�~�:q�~�'sq�~�����q�~�%q�~�&q�~�#sq�~�����q�~�%q�~�&q�~�'sq�~�����q�~�%q�~�&q�~�#sq�~����|q�~�?q�~�@q�~�#sq�~����q�~�Tq�~�Uq�~�#sq�~���Kq�~�Wq�~�Xq�~�#sq�~����Dq�~�Zq�~�[q�~�#sq�~�����q�~�]q�~�^q�~�#sq�~�����q�~�`q�~�aq�~�#sq�~���q�~�cq�~�dq�~�esq�~���pq�~�gq�~�dq�~�hsq�~����q�~�jq�~�kq�~�lsq�~�����q�~�jq�~�kq�~�nsq�~����q�~�cq�~�dq�~�#sq�~����q�~�qq�~�rq�~�ssq�~���q�~�uq�~�vq�~�sx

  1. Support Staff 2 Posted by Jim Fleming on 17 Nov, 2010 12:34 AM

    Jim Fleming's Avatar

    Anthony, Yuck! Can you reply with the exact REST url?
    Thanks,
    Jim

  2. 3 Posted by Anthony Edwards on 03 Dec, 2010 07:11 PM

    Anthony Edwards's Avatar

    I upgraded on Sierra to the current release (8005?) and I still see this problem.

  3. Support Staff 4 Posted by Jim Fleming on 21 Dec, 2010 08:44 PM

    Jim Fleming's Avatar

    Anthony, This has been fixed in builds > 4272 and will be in the next release (hopefully 12/23).
    Thanks,
    Jim

Reply to this discussion

Internal reply

Formatting help or Preview

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.