[Mulgara-general] execute command doesn't seem to work

ASTI Araza, Ariel D. ADAraza at ayalasystems.com
Wed Aug 12 13:44:59 UTC 2009


Thanks for the response, Alex. 

I retried "execute" command, using only single-line command, with or without the semi-colon at the end. In both cases, it failed. JFYI.

Regards,

Ariel


-----Original Message-----
From: mulgara-general-bounces at mulgara.org on behalf of Alex Hall
Sent: Wed 8/12/2009 9:12 PM
To: Mulgara General
Subject: Re: [Mulgara-general] execute command doesn't seem to work
 
ASTI Araza, Ariel D. wrote:
> Hi All,
> 
> I hope someone can point to me what I'm doing wrong. I'm using iTQL and webui. 
> 
> when I use this command in webui: execute <file:/workspace/rdf-study/src/main/resources/test2.tql> 
> 
> I get error 400 
> Error executing command. Reason: java.lang.NullPointerException
> 
> When done in iTQL, the error is just Error: null.
> 
> The content of test2.tql is:
> 
> select $vcard $fn 
>   count( select $title from <rmi://localhost/server1#sampledata> 
>     where $vcard ?b $title )
>   from <rmi://localhost/server1#sampledata> 
>   where $vcard ?b $fn;
> 
> btw, the select statement works fine when entered either in iTQL and webui. 

Taking a quick look at the source code, it appears that the execute
command can't handle scripts with commands that span multiple lines.
Try eliminating the line breaks and re-executing the script.

Also, when using the WebUI, the script file must be located on the same
server where Mulgara is running.

Regards,
Alex
_______________________________________________
Mulgara-general mailing list
Mulgara-general at mulgara.org
http://mulgara.org/mailman/listinfo/mulgara-general

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mulgara.org/pipermail/mulgara-general/attachments/20090812/8e687320/attachment.htm>


More information about the Mulgara-general mailing list