On Fri, Aug 2, 2013 at 4:15 PM, Evanthika Amarasiri <[email protected]>wrote:
> Related JIRA - https://wso2.org/jira/browse/REGISTRY-1706 This is fixed. The fix will be available with the next build. Thanks Ajith. > > Regards, > Evanthika > > On Fri, Aug 2, 2013 at 4:04 PM, Chanika Geeganage <[email protected]>wrote: > >> Hi, >> >> I deployed a data source in DSS product (which is in trunk) as a tenant >> admin and that was deployed successfully. But when I browse that resource >> in the registry it gives the following exception. >> >> [2013-08-02 13:40:17,011] ERROR >> {org.wso2.carbon.registry.properties.ui.clients.PropertiesServiceClient} - >> Failed to get properties. null >> java.lang.NullPointerException >> at org.wso2.carbon.registry.core.utils.PaginationUtils.getRowCount( >> PaginationUtils.java:152) >> >> atorg.wso2.carbon.registry.properties.ui.clients.PropertiesServiceClient.getProperties(PropertiesServiceClient.java:95) >> atorg.apache.jsp.properties.properties_002dmain_002dajaxprocessor_jsp._jspService(org.apache.jsp.properties.properties_002dmain_002dajaxprocessor_jsp:300) >> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) >> at org.apache.jasper.servlet.JspServletWrapper.service( >> JspServletWrapper.java:403) >> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java: >> 492) >> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) >> at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155) >> at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) >> at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service( >> ContextPathServletAdaptor.java:37) >> at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service >> (ServletRegistration.java:61) >> atorg.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128) >> at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service( >> ProxyServlet.java:68) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) >> at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service( >> DelegationServlet.java:68) >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( >> ApplicationFilterChain.java:305) >> at org.apache.catalina.core.ApplicationFilterChain.doFilter( >> ApplicationFilterChain.java:210) >> at org.apache.catalina.core.ApplicationDispatcher.invoke( >> ApplicationDispatcher.java:749) >> at org.apache.catalina.core.ApplicationDispatcher.doInclude( >> ApplicationDispatcher.java:605) >> at org.apache.catalina.core.ApplicationDispatcher.include( >> ApplicationDispatcher.java:544) >> at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor. >> include(RequestDispatcherAdaptor.java:37) >> >> But when the datasource is deployed as the super tenant it doesn't give >> any error and was able to view it. >> >> I debugged the code and found out that the header is null in the "in" >> message context which is in the getRowCount method in the >> PaginationUtils class. Why am I getting this exception? >> >> Thanks >> -- >> Best Regards.. >> >> Chanika Geeganage >> Software Engineer >> WSO2, Inc.; http://wso2.com >> >> Mobile: +94773522586 >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : [email protected] Mobile : +94772217350
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
