I get the same errors. Query and Command, ending "/" or not.. Using Orientdb-community-1.6.2 via Talend Open Studio for Data Integration.
Example requests that *fails*: "http://localhost:2480/query/GratefulDeadConcerts/sql/select from OUser/" "http://localhost:2480/query/GratefulDeadConcerts/sql/select from OUser" "http://localhost:2480/command/GratefulDeadConcerts/sql/select from OUser/" "http://localhost:2480/command/GratefulDeadConcerts/sql/select from OUser" Server console: 2013-12-23 08:23:39:723 SEVE Internal server error: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 [ONetworkProtocolHttpDb] -bad On Thursday, December 19, 2013 10:32:25 AM UTC+1, Lebnik 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.
