java.lang.IllegalArgumentException when getTeamRepository()
Hi There,
When I run a plain Java program to connect to a project repository, it works fine ITeamRepository teamRepository = TeamPlatform.getTeamRepositoryService().getTeamRepository( RTCServicesConst.REPOSITORYURI); But when it is invoked by at (pls see the bold exception) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at com.ibm.ws.webservices.engine.dispatchers.java.JavaDispatcher.invokeMethod(JavaDispatcher.java:178) at com.ibm.ws.webservices.engine.dispatchers.java.JavaDispatcher.invokeOperation(JavaDispatcher.java:141) at com.ibm.ws.webservices.engine.dispatchers.SoapRPCProcessor.processRequestResponse(SoapRPCProcessor.java:453) at com.ibm.ws.webservices.engine.dispatchers.SoapRPCProcessor.processMessage(SoapRPCProcessor.java:414) at com.ibm.ws.webservices.engine.dispatchers.BasicDispatcher.processMessage(BasicDispatcher.java:134) at com.ibm.ws.webservices.engine.dispatchers.java.SessionDispatcher.invoke(SessionDispatcher.java:204) ... 31 more at com.ibm.team.repository.common.internal.querypath.AbstractQueryPathModel$Implementation.getItemType(Unknown Source) at com.ibm.team.repository.common.query.IQuery$Factory.newInstance(Unknown Source) at com.ibm.team.repository.client.internal.ContributorManager.createAllContributorsQuery(ContributorManager.java:55) at com.ibm.team.repository.client.internal.ContributorManager.<clinit>(ContributorManager.java:43) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:194) ... 48 more 00000041 WebServicesSe E com.ibm.ws.webservices.engine.transport.http.WebServicesServlet doPost WSWS3227E: Error: Exception: WebServicesFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException faultString: java.lang.ExceptionInInitializerError faultActor: null faultDetail: java.lang.ExceptionInInitializerError at com.ibm.ws.webservices.engine.xmlsoap.builders.WebServicesFaultProcessor.createFault(WebServicesFaultProcessor.java:420) at com.ibm.ws.webservices.engine.xmlsoap.SOAPFault.getFault(SOAPFault.java:598) at com.ibm.ws.webservices.engine.SOAPPart.getFault(SOAPPart.java:1097) at com.ibm.ws.webservices.engine.SOAPPart.getFault(SOAPPart.java:754) at com.ibm.ws.webservices.engine.Message.getFault(Message.java:900) Please help to resolve this issue. Thanks in advance for all the help. Best Regards, Kamala |
Be the first one to answer this question!
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.