I have successfully created a UserStoreManager implementation which loads
correctly via a component class. However, I need a UserStoreCountRetriever
implementation to allow the user store to work correctly. I have
extended JDBCUserStoreCountRetriever and added the class name to the Count
Implementation advanced property. I have also registered the service in my
component.

When I do a user search I get the following message: "Error while listing
users. Error is : Exception occurred while trying to invoke service method
countUsers".

On the console, I get the following stack trace:
Caused by: java.lang.NullPointerException
        at
org.wso2.carbon.identity.user.store.count.util.UserStoreCountUtils.getCounterInstanceForDomain(UserStoreCountUtils.java:136)

It looks like it can't find, or can't load the class required to implement
the count. The class is in the same jar file as the user store.

Many thanks

Jeff
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to