problems examples tutorial "anzo create arthur.trig"

1 view
Skip to first unread message

leonhard...@googlemail.com

unread,
Feb 26, 2009, 11:12:14 AM2/26/09
to OpenAnzo
Hi@all,


i have got problems with the Examples on
http://www.openanzo.org/projects/openanzo/wiki/CommandLineInterface#AnzoCommandLineInterface


Everytime i want to start with "anzo create arthur.trig"

i get the exception:

C:\openanzo-3.1.0-SNAPSHOT>anzo create arthur.trig
org.openanzo.exceptions.AnzoException: ErrorCode[2048:1048584]
[CONFIG_ERROR] Co
mponent [org.openanzo.services.user] is missing required parameter
[{1}]
at org.openanzo.client.AnzoClientDatasource.<init>
(AnzoClientDatasource.
java:88)
at org.openanzo.client.AnzoClient.<init>(AnzoClient.java:182)
at org.openanzo.client.cli.CommandContext.create
(CommandContext.java:176
)
at org.openanzo.client.cli.CommandLineInterface.main
(CommandLineInterfac
e.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.codehaus.classworlds.Launcher.launchStandard
(Launcher.java:410)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:344)
at org.codehaus.classworlds.Launcher.main(Launcher.java:461)

Can anybody help me?


settings.trig and arthur.trig are in the .anzo Folder as it is
described in the tutorial

Best Regards Leo

leonhard...@googlemail.com

unread,
Feb 27, 2009, 3:35:42 AM2/27/09
to OpenAnzo
problem is solved. I forget to set the user and password in the
settings.trig, but now i get the follwoing exception by doing "anzo
create arthur.trig"

C:\openanzo-3.1.0-SNAPSHOT>anzo create arthur.trig
Exception in thread "main" java.lang.NullPointerException
at
org.openanzo.client.cli.RdfIOCommand.getInputStreamForURIArgument(Rdf
IOCommand.java:159)
at
org.openanzo.client.cli.RdfIOCommand.getArgumentAsInputStream(RdfIOCo
mmand.java:86)
at org.openanzo.client.cli.RdfIOCommand.getArgumentsAsStreams
(RdfIOComma
nd.java:77)
at org.openanzo.client.cli.RdfUploadCommand.invoke
(RdfUploadCommand.java
:74)
at org.openanzo.client.cli.RdfUploadCommand.invoke
(RdfUploadCommand.java
:63)
at org.openanzo.client.cli.CommandLineInterface.main
(CommandLineInterfac
e.java:142)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.codehaus.classworlds.Launcher.launchStandard
(Launcher.java:410)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:344)
at org.codehaus.classworlds.Launcher.main(Launcher.java:461)

Can anybody help me?

Best Regards
Leo
Reply all
Reply to author
Forward
0 new messages