Nullpointer when trying to get a resource from the registry

dkruitbosch's picture
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
uncas's picture

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.

senakafdo's picture

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

Hot Topic
Hot
Topic

Google Gadgets are a nice way to develop user interfaces for distributed services. The fact that they can be hosted anywhere over a network, not necessarily in the very portal server they eventually run in makes them re-usable and allows users to quickly...

Latest Webinar
In this webinar we'll share the range of concerns we've heard from the industry, and survey some of the new and sometimes subtle types of lock-in associated with cloud technologies.
Wednesday, 8 September, 10.00 AM (PDT)