Hi, we fixed a bug on parsing that in recent hotfix. Try with this:
http://localhost:2480/query/lebnik/sql/select from PersonCV/ Or by using "command" instead of "query" this: http://localhost:2480/*command*/lebnik/sql/select from PersonCV Lvc@ On 19 December 2013 10:32, Lebnik <[email protected]> wrote: > I do basic authorization and then send request > http://localhost:2480/query/lebnik/sql/select from PersonCV > > And get error: > > from 500 Internal Server Error > Cache-Control: no-cache, no-store, max-age=0, must-revalidate > Pragma: no-cache > Date: Thu Dec 19 13:27:10 MSK 2013 > Content-Type: text/plain; charset=utf-8 > Server: OrientDB Server v.1.6.2 (build UNKNOWN@r; 2013-12-09 17:04:17+0100 > ) > Connection: Keep-Alive > Content-Length: 72 > > > java.lang.StringIndexOutOfBoundsException: String index out of range: -1 > > Why? My version I do all on instruction > https://github.com/orientechnologies/orientdb/wiki/OrientDB-REST#query > > In console this request: > <https://github.com/orientechnologies/orientdb/wiki/OrientDB-REST#query> > orientdb> select * from PersonCV > > > ----+-----+-------+----------+----------- > # |@RID |name |in_LovesCE|out_LovesCE > > > ----+-----+-------+----------+----------- > 0 |#11:0|Joanie |#11:1 |null > 1 |#11:1|Chachie|null |[2] > 2 |#11:2|Jimmy |#11:1 |null > > OrientDB console v.1.6.2 (build UNKNOWN@r; 2013-12-09 17:04:17+0100) > www.orientechnologies.com > Type 'help' to display all the commands supported. > Installing extensions for GREMLIN language v.2.5.0-SNAPSHOT > > -- > > --- > You received this message because you are subscribed to the Google Groups > "OrientDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
