Quantcast
Viewing all articles
Browse latest Browse all 1826

RID.getRID("/documents/path") is returning null pointer exception

Hi Experts,

 

I am trying to get RID of a resource present in KM

 

I am using below code in Webdynpro java.

 

RID file = RID.getRID("/documents/test4.html");

 

 

To define KM dependency we have created a External library  project with tc~km~frwk.jar . Then we have added it under dependency for our Webdynpro project.

 

But we are getting below Error.txt error. (Please check the attachment for details)

 

java.lang.NullPointerException: while trying to invoke the method java.util.Map.get(java.lang.Object) of an object loaded from static field com.sapportals.wcm.util.uri.RID.ridCache

 

Can anyone please guide me on this.

 

Note: Mentioned document is present under KM "documents" folder. This issue is happening for any resource present in KM .

 

 

 

Thanks & Regards,

Sambaran Chakraborty


Viewing all articles
Browse latest Browse all 1826

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>