It's all about the answers!

Ask a question

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


abhimanyu vishwakarma (111) | asked Aug 27 '19, 4:50 p.m.
edited Sep 18 '19, 2:35 a.m. by Ralph Schoon (63.1k33645)

 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)


One answer



permanent link
Ralph Schoon (63.1k33645) | answered Sep 18 '19, 2:36 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 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.

Your answer


Register or 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.