Agile SDK Unable To Create SDK Cache (Doc ID 1548460.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Agile Product Collaboration - Version 9.3.1.1 and later
Information in this document applies to any platform.
***Checked for relevance on 02-Feb-2015***

Symptoms

Unable to create Agile Session through SDK.

Can't run custom SDK program
Error: java.io.FileNotFoundException: /var/tmp/AgileSDK.cache/brm-ud-agileapp-17001_Agile_.cache (Permission denied)
   at java.io.RandomAccessFile.open(Native Method)
       at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
       at java.io.RandomAccessFile.<init>(RandomAccessFile.java:98)
       at com.agile.common.Cache.initFiles(Cache.java:299)
       at com.agile.common.Cache.<init>(Cache.java:68)
       at com.agile.api.NetworkClassLoader.<init>(NetworkClassLoader.java:64)
       at com.agile.api.AgileSessionFactory.initServerPropertiesFromURL(AgileSessionFactory.java:658)
       at com.agile.api.AgileSessionFactory.<init>(AgileSessionFactory.java:601)
       at com.agile.api.AgileSessionFactory.getInstance(AgileSessionFactory.java:513)
       at com.brocade.agile.WhereUsedReport.createAgileSession(WhereUsedReport.java:584)
       at com.brocade.agile.WhereUsedReport.main(WhereUsedReport.java:70)
java.lang.NullPointerException
       at com.agile.common.Cache.get(Cache.java:239)
       at com.agile.api.NetworkClassLoader.loadCachedClassData(NetworkClassLoader.java:352)
       at com.agile.api.NetworkClassLoader.loadClassData(NetworkClassLoader.java:312)
       at com.agile.api.NetworkClassLoader.findClass(NetworkClassLoader.java:78)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
       at com.agile.api.AgileSessionFactory.createSession(AgileSessionFactory.java:776)
       at com.brocade.agile.WhereUsedReport.createAgileSession(WhereUsedReport.java:587)
       at com.brocade.agile.WhereUsedReport.main(WhereUsedReport.java:70)

Error code : 60086
Error message : Call APIException.getRootCause() for details.
Root Cause exception : java.lang.NullPointerException

       at com.agile.api.AgileSessionFactory.createSession(AgileSessionFactory.java:798)
       at com.brocade.agile.WhereUsedReport.createAgileSession(WhereUsedReport.java:587)
       at com.brocade.agile.WhereUsedReport.main(WhereUsedReport.java:70)


FACTs:
Weblogic
Cluster on 2 nodes
1 working SDK already deploy


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms