dblum / GRR

Generating Random RDF
GNU General Public License v3.0
3 stars 1 forks source link

Null pointer exception with 2 namespaces #5

Closed yamalight closed 13 years ago

yamalight commented 13 years ago

So, I'm trying to generate data with this config which has 2 namespaces: http://dl.dropbox.com/u/32655/2nsconf.tar.gz And after generation start app drops into null pointer exception. Can you look at it please?

danieb12 commented 13 years ago

Sorry was quite busy @ work. Will take a look tomorrow morning on both issues.

On Thu, Jun 16, 2011 at 2:30 PM, yamalight < reply@reply.github.com>wrote:

So, I'm trying to generate data with this config which has 2 namespaces: http://dl.dropbox.com/u/32655/2nsconf.tar.gz And after generation start app drops into null pointer exception. Can you look at it please?

Reply to this email directly or view it on GitHub: https://github.com/danieb12/GRR/issues/5

yamalight commented 13 years ago

cool, thanks!

danieb12 commented 13 years ago

Seems that the problems is with the 3rd generation command: You are using Person ?p1 in the for each part, but you omitted it in the connect part. So you can omit it in the for each part: for each { foaf:Person } create 5-7 { aair:Activity } connect { aair:Activity aair:Actor foaf:Person } Afterwards it works! but... It generates an output after some hang while trying to parse the aair schema file from the server. I suggest you'll try to use it locally (with file:///...) and check what happens. Once you'll approve that this solves the issue i'll close this one.

yamalight commented 13 years ago

yep, that solved it.

may be then add checks for such dumb errors in configs? that would be nice ;)

danieb12 commented 13 years ago

I thought i have ;)

Will fix this, user shouldn't get a null pointer exp if he did an honest mistake. so sorry for that.

On Fri, Jun 17, 2011 at 6:34 PM, yamalight < reply@reply.github.com>wrote:

yep, that solved it.

may be then add checks for such dumb errors in configs? that would be nice ;)

Reply to this email directly or view it on GitHub: https://github.com/danieb12/GRR/issues/5#issuecomment-1388889