Thank you for the very quick response and fix. I'll try the new snapshot.

Regards!

On Tue, Sep 13, 2011 at 16:39, Peter Neubauer
<peter.neuba...@neotechnology.com> wrote:
> Wohow,
> this is actually a bug introduced when we added Maps as parameter
> types. I added a test for it in the gremlin-plugin, and fixed it in
> server, 
> https://github.com/neo4j/community/commit/ed42542e191de9966e1b5ada80bf8a6684bd6d1d
>
> As snapshots get out, you should be able to run it normally in Neo4j
> Server 1.5-SNAPSHOT.
>
> Thanks for reporting it - it surfaces only when you do a GET on the
> Gremlin plugin URL!
>
> Cheers,
>
> /peter neubauer
>
> GTalk:      neubauer.peter
> Skype       peter.neubauer
> Phone       +46 704 106975
> LinkedIn   http://www.linkedin.com/in/neubauer
> Twitter      http://twitter.com/peterneubauer
>
> http://www.neo4j.org               - Your high performance graph database.
> http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
>
>
>
> On Tue, Sep 13, 2011 at 10:11 PM, Javier de la Rosa <ver...@gmail.com> wrote:
>> Hi, all,
>>
>> Today I have downloaded the last version of Neo4j, thus, 1.5.M01. I
>> run some of my tests and some of them falied, what related to Gremlin
>> plugin.
>> If I run using Neo4j 1.4.1 I get the next:
>>
>> $ curl 
>> "http://localhost:7474/db/data/ext/GremlinPlugin/graphdb/execute_script";
>> {
>>  "extends" : "graphdb",
>>  "description" : "execute a Gremlin script with 'g' set to the
>> Neo4jGraph and 'results' containing the results. Only results of one
>> object type is supported.",
>>  "name" : "execute_script",
>>  "parameters" : [ {
>>    "description" : "The Gremlin script",
>>    "optional" : false,
>>    "name" : "script",
>>    "type" : "string"
>>  }, {
>>    "description" : "JSON Map of additional parameters for script variables",
>>    "optional" : true,
>>    "name" : "params",
>>    "type" : "string"
>>  } ]
>> }
>>
>> But when I use the Neo4j 1.5.M01:
>>
>> $ curl 
>> "http://localhost:7474/db/data/ext/GremlinPlugin/graphdb/execute_script";
>> <html>
>> <head>
>> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
>> <title>Error 500 INTERNAL_SERVER_ERROR</title>
>> </head>
>> <body><h2>HTTP ERROR 500</h2>
>> <p>Problem accessing /db/data/ext/GremlinPlugin/graphdb/execute_script. 
>> Reason:
>> <pre>    INTERNAL_SERVER_ERROR</pre></p><h3>Caused
>> by:</h3><pre>java.lang.NullPointerException
>>        at 
>> org.neo4j.server.rest.repr.ExtensionPointRepresentation$ParameterRepresentation.serialize(ExtensionPointRepresentation.java:110)
>>        [...]
>>        at 
>> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
>> </pre>
>> <hr /><i><small>Powered by Jetty://</small></i><br/>
>> <br/>
>> [...]
>> <br/>
>>
>> </body>
>> </html>
>>
>>
>> Is that normal? is there something that I'm doing wrong?
>>
>> Thanks.
>>
>> --
>> Javier de la Rosa
>> http://versae.es
>> _______________________________________________
>> Neo4j mailing list
>> User@lists.neo4j.org
>> https://lists.neo4j.org/mailman/listinfo/user
>>
> _______________________________________________
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>



-- 
Javier de la Rosa
http://versae.es
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to