Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Not able to make connection via API for CCM server to fetch catalogs ?

 As using to get rootserver =new JazzRootServicesHelper(serverURL, oslcDomain); getting exception 

please help it was working fine few days back recently stop working giving error 


Exception in thread "main" java.lang.AbstractMethodError: javax.ws.rs.core.UriBuilder.uri(Ljava/lang/String;)Ljavax/ws/rs/core/UriBuilder;
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:119)
at org.eclipse.lyo.client.oslc.jazz.JazzRootServicesHelper.<init>(JazzRootServicesHelper.java:78)
at com.tta.att.connection.AbstractConnection.login(AbstractConnection.java:77)
at com.tta.att.connection.CMConnection.<init>(CMConnection.java:37)
at com.att.tta.itriagebatch.serviceimpl.UpdateTDPComment.initializeConnection(UpdateTDPComment.java:157)
at com.att.tta.itriagebatch.serviceimpl.UpdateTDPComment.init(UpdateTDPComment.java:66)
at com.att.tta.itriagebatch.jobrunner.UpdatePredictionAsComment.main(UpdatePredictionAsComment.java:51)
6:54:03 PM - Preformatted mode set to: false

java.lang.NullPointerException
at com.tta.att.connection.AbstractConnection.getResource(AbstractConnection.java:150)
at com.att.tta.itriagebatch.serviceimpl.UpdateTDPComment.updateCommentToTDP(UpdateTDPComment.java:166)
at com.att.tta.itriagebatch.serviceimpl.UpdateTDPComment.init(UpdateTDPComment.java:83)
at com.att.tta.itriagebatch.jobrunner.UpdatePredictionAsComment.main(UpdatePredictionAsComment.java:51)


0 votes



One answer

Permanent link

 Consider looking at the OSLC Examples. https://github.com/OSLC/lyo-samples/tree/master/oslc4j-client-samples/src/main/java/org/eclipse/lyo/oslc4j/client/samples otherwise nobody will be able to answer such a question.

0 votes

Your answer

Register or log in to post your answer.

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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 522

Question asked: Aug 27 '19, 4:50 p.m.

Question was seen: 3,069 times

Last updated: Sep 18 '19, 2:36 a.m.

Confirmation Cancel Confirm