AnsweredAssumed Answered

Custom Java code error while calling methods from Clarity lib/Jar files

Question asked by danish on Jun 9, 2016
Latest reply on Jun 20, 2016 by Chris_Hackett

I am trying to run a custom Java program which references various jar files under lib folder in Clarity.While running the code I am getting below error:


        at com.niku.union.config.ConfigObject.getInstallDir(


This is the method in Jar which was called by above line.

[Nick: PPM product source code deleted - there is no permission to access or share this code]


So it looks FileResourceLocator.getInstance().getInstallDir(); returns NULL.To me it looks some configuration with my custom java code setup is not correct.Can anyone please tell me why I am getting this error ?