trouble with data obfuscate (null pointer exception)

0 views
Skip to first unread message

Grant Pax

unread,
Jun 28, 2014, 11:37:49 PM6/28/14
to sta...@clarkparsia.com
Am I using this command incorrectly? 

MacBook-Air:bin twostewards_fb$ ./stardog-admin version
Stardog 2.1.3
For information on Stardog, please visit http://stardog.com.
For help using Stardog, visit the documentation http://docs.stardog.com.

MacBook-Air:bin twostewards_fb$ ./stardog-admin db create -n myDB ../examples/data/University0_0.owl 
Bulk loading data to new database.
Parsing triples: 100% complete in 00:00:00 (8.6K triples - 16.9K triples/sec)
Parsing triples finished in 00:00:00.505
Creating index: 100% complete in 00:00:00 (329.0K triples/sec)
Creating index finished in 00:00:00.027
Computing statistics: 100% complete in 00:00:00 (121.7K triples/sec)
Computing statistics finished in 00:00:00.070
Loading complete.
Inserted 8,521 unique triples from 8,555 read triples in 00:00:00.829 at 10.3 triples/sec
Bulk load complete.  Loaded 8,521 triples from 1 file(s) in 00:00:00 @ 12.4K triples/sec.

Successfully created database 'myDB'.

MacBook-Air:bin twostewards_fb$ ./stardog data obfuscate myDB myObfDB.ttl
java.lang.NullPointerException

MacBook-Air:bin twostewards_fb$ cat myObfDB.ttl 
MacBook-Air:bin twostewards_fb$ 

MacBook-Air:bin twostewards_fb$ tail stardog.log
Parsing triples finished in 00:00:00.505
Creating index: 100% complete in 00:00:00 (329.0K triples/sec)
Creating index finished in 00:00:00.027
Computing statistics: 100% complete in 00:00:00 (121.7K triples/sec)
Computing statistics finished in 00:00:00.070
Loading complete.
Inserted 8,521 unique triples from 8,555 read triples in 00:00:00.829 at 10.3 triples/sec
Bulk load complete.  Loaded 8,521 triples from 1 file(s) in 00:00:00 @ 12.4K triples/sec.

Successfully created database 'myDB'.

Mike Grove

unread,
Jun 30, 2014, 7:06:11 AM6/30/14
to stardog
On Sat, Jun 28, 2014 at 11:37 PM, Grant Pax <gran...@gmail.com> wrote:
Am I using this command incorrectly? 

MacBook-Air:bin twostewards_fb$ ./stardog-admin version
Stardog 2.1.3
For information on Stardog, please visit http://stardog.com.
For help using Stardog, visit the documentation http://docs.stardog.com.

MacBook-Air:bin twostewards_fb$ ./stardog-admin db create -n myDB ../examples/data/University0_0.owl 
Bulk loading data to new database.
Parsing triples: 100% complete in 00:00:00 (8.6K triples - 16.9K triples/sec)
Parsing triples finished in 00:00:00.505
Creating index: 100% complete in 00:00:00 (329.0K triples/sec)
Creating index finished in 00:00:00.027
Computing statistics: 100% complete in 00:00:00 (121.7K triples/sec)
Computing statistics finished in 00:00:00.070
Loading complete.
Inserted 8,521 unique triples from 8,555 read triples in 00:00:00.829 at 10.3 triples/sec
Bulk load complete.  Loaded 8,521 triples from 1 file(s) in 00:00:00 @ 12.4K triples/sec.

Successfully created database 'myDB'.

MacBook-Air:bin twostewards_fb$ ./stardog data obfuscate myDB myObfDB.ttl
java.lang.NullPointerException

I think this is a known bug with the SNARL protocol in 2.1.3.  We've fixed this for the next version, but in the meantime, I think it should work via HTTP.

Cheers,

Mike
 

MacBook-Air:bin twostewards_fb$ cat myObfDB.ttl 
MacBook-Air:bin twostewards_fb$ 

MacBook-Air:bin twostewards_fb$ tail stardog.log
Parsing triples finished in 00:00:00.505
Creating index: 100% complete in 00:00:00 (329.0K triples/sec)
Creating index finished in 00:00:00.027
Computing statistics: 100% complete in 00:00:00 (121.7K triples/sec)
Computing statistics finished in 00:00:00.070
Loading complete.
Inserted 8,521 unique triples from 8,555 read triples in 00:00:00.829 at 10.3 triples/sec
Bulk load complete.  Loaded 8,521 triples from 1 file(s) in 00:00:00 @ 12.4K triples/sec.

Successfully created database 'myDB'.

--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
stardog+u...@clarkparsia.com
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en

Grant Pax

unread,
Jun 30, 2014, 10:55:47 AM6/30/14
to sta...@clarkparsia.com
Thanks, Mike. In the future, is it best to post here first or is there a known issues list (beyond Stardog Known Issues and OWL 2 Known Issues) I should check before posting?

Mike Grove

unread,
Jun 30, 2014, 10:59:13 AM6/30/14
to stardog
It's often best to check here, we don't keep a running track of issues reported against a release; we tend to fix everything that's reported from one release to the next.

Cheers,

Mike
Reply all
Reply to author
Forward
0 new messages