Stardog 2.2 data obfuscate parsing error

0 views
Skip to first unread message

Duane Holt

unread,
Jul 9, 2014, 5:54:09 PM7/9/14
to sta...@clarkparsia.com
I'm trying to obfuscate a database using dist/examples/data/obfConfig.ttl but command is throwing an exception:

$ stardog data obfuscate -c obfConfig.ttl -v myDb export.ttl
There was an error parsing the obfuscation configuration for the export
The detailed stack trace for the error is:
com.complexible.stardog.cli.CliException: There was an error parsing the obfuscation configuration for the export
at com.complexible.stardog.cli.impl.Export.execute(Export.java:217)
at com.complexible.stardog.cli.impl.ConnectionCommand.call(ConnectionCommand.java:92)
at com.complexible.stardog.cli.CLIBase.execute(CLIBase.java:52)
at com.complexible.stardog.cli.CLI.main(CLI.java:98)
Caused by: com.complexible.stardog.StardogException: There was an error parsing the obfuscation configuration for the export
at com.complexible.stardog.protocols.client.SPECClientUtil.toStardogException(SPECClientUtil.java:80)
at com.complexible.stardog.protocols.client.SPECClientUtil.toStardogException(SPECClientUtil.java:32)
at com.complexible.stardog.api.impl.SPECExporter.export(SPECExporter.java:61)
at com.complexible.stardog.api.impl.SPECExporter.to(SPECExporter.java:166)
at com.complexible.stardog.cli.impl.Export.execute(Export.java:207)
... 3 more
Caused by: com.complexible.common.protocols.client.ClientException: There was an error parsing the obfuscation configuration for the export
at com.complexible.common.protocols.client.rpc.DefaultRPCClient.get(DefaultRPCClient.java:345)
at com.complexible.common.protocols.client.rpc.DefaultRPCClient.execute(DefaultRPCClient.java:322)
at com.complexible.stardog.protocols.snarl.client.SNARLClientImpl.export(SNARLClientImpl.java:498)
at com.complexible.stardog.protocols.snarl.client.SNARLClientImpl.export(SNARLClientImpl.java:81)
at com.complexible.stardog.api.impl.SPECExporter.export(SPECExporter.java:58)
... 5 more
Caused by: java.lang.Exception: There was an error parsing the obfuscation configuration for the export
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at com.complexible.barc.DefaultThrowableCodec.decode(DefaultThrowableCodec.java:89)
at com.complexible.barc.BigPacketCodec.toException(BigPacketCodec.java:391)
at com.complexible.barc.BigPacketCodec.decode(BigPacketCodec.java:358)
at com.complexible.barc.BigPacketDecoder.channelRead(BigPacketDecoder.java:75)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:332)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:318)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:332)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:318)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:332)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:318)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:125)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:507)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:464)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:378)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:350)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
at java.lang.Thread.run(Thread.java:722)

v/r,
Duane

Mike Grove

unread,
Jul 10, 2014, 3:04:44 PM7/10/14
to stardog
I used the catalog.rdf file and was able to obfuscate that just fine with the obfConfig.ttl file in the distribution.

Are you trying to obfuscate your own data, or data from the examples?

Cheers,

Mike


--
-- --
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

Reply all
Reply to author
Forward
0 new messages