It's all about the answers!

Ask a question

How to use this abstract interface IContributorService ?


Ali tech (211610) | asked Jul 01 '10, 5:46 a.m.
How to use this abstract interface IContributorService ?

when I code like this:
IContributorService contributorService = (IContributorService) teamRepository.getClientLibrary(IContributorService.class);


IContributorHandle contributor_creator = contributorService.fetchContributorByUserId("wang");


I got a NullPointerException, that is contributorService is null;

How to use the abstract interface IContributorService?

Be the first one to answer this question!


Register or to post your answer.