Hi,
When I try to get a resource from the registry I get a Nullpointer exception. I'm trying to get this resource:
https://localhost:9443/registry/resource/wsdl/vtsdispatchfacade.wsdl
And this is the response from the registry:
java.lang.NullPointerException
org.wso2.carbon.registry.app.Utils.getRegistry(Utils.java:63)
org.wso2.carbon.registry.app.ResourceServlet.doGet(ResourceServlet.java:28)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:36)
org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:116)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
The permissions are set to "read" for anonymous and everyone
Any ideas?
Thanks,
Danny
Nullpointer when trying to get a resource from the registry
Hi Danny,
This is because you have not logged into the admin console (a limitation of Registry 2.0.1). This issue has been fixed. The next release, which will be available in a few days, will have the fix.
Thanks,
Senaka
Same issue
Hi,
Same happens to me also.
Environment:
Version 2.0.1
OS Name Windows Vista
OS Version 6.0
Java Runtime Name Java(TM) SE Runtime Environment
Java Version 1.6.0_05
Java Vendor Sun Microsystems Inc.
Java VM Version 10.0-b19
Thanks, Botond.