Hi,

I'm using DspaceCRIS5.8, and I want to use swordv2 server ,  I use browser 
to visit the url  localhost:8080/swordv2 ,it showed Hello World. Then  I  
visit the url

localhost:8080/swordv2/servicedocument , it require me to input usernameand 
password, I input my username and password which is created by the command

./dspace create-administrator, but it didn't work, shown nothing on page, I 
checked tomcat's log: localhost.log , it gave the error:

 SEVERE [http-nio-8080-exec-1] 
org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for 
servlet [servicedocument] in context with path [/swordv2] threw exception
 java.lang.NullPointerException
at 
org.dspace.authenticate.OAuthAuthenticationMethod.authenticate(OAuthAuthenticationMethod.java:69)
at 
org.dspace.authenticate.AuthenticationManager.authenticateInternal(AuthenticationManager.java:162)
 

and when I visit localhost:8080/swordv2/collection , I receive the same 
problem.

The exception looks like I inputted error userinfo, what is the correct 
operate ? Should I create swordv2's username and password?

Maybe some advice? Or some related document should I read? 

Thanks a lot.


-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to