Calculated value script not working on older desktop clients
Hello, I have a calculated value script that works on desktop clients with java 8 but does not work java 7. It also works in browser no problem. When the script does not work, this exception is raised (from logs):
CRJAZ8184E The following items could not be indexed: [URI: URL_TO_WI, Type: com.ibm.team.workitem.WorkItem, Name: NAME_OF_WI] .
at com.ibm.team.fulltext.common.internal.index.IndexManagerImpl.index(IndexManagerImpl.java:264)
at com.ibm.team.fulltext.client.internal.ClientFullTextImpl.index(ClientFullTextImpl.java:56)
at com.ibm.team.fulltext.client.internal.ArtifactHistoryProvider$IndexSubmissionJob.runProtected(ArtifactHistoryProvider.java:144)
at com.ibm.team.foundation.client.util.FoundationJob.run(FoundationJob.java:68)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.io.FileNotFoundException: C:\WORKSPACE.metadata.plugins\com.ibm.team.fulltext.client\fulltext_index\com.ibm.team.workitem.WorkItem\_7ga.prx (The system cannot find the file specified)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:253)
at org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:218)
at org.apache.lucene.index.SegmentCoreReaders.<init>(SegmentCoreReaders.java:96)
at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:116)
at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:94)
at org.apache.lucene.index.DirectoryReader.<init>(DirectoryReader.java:105)
at org.apache.lucene.index.ReadOnlyDirectoryReader.<init>(ReadOnlyDirectoryReader.java:27)
at org.apache.lucene.index.DirectoryReader$1.doBody(DirectoryReader.java:78)
at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:709)
at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:72)
at org.apache.lucene.index.IndexReader.open(IndexReader.java:273)
at org.apache.lucene.search.IndexSearcher.<init>(IndexSearcher.java:110)
at com.ibm.team.fulltext.common.internal.index.IndexManagerImpl.write(IndexManagerImpl.java:388)
at com.ibm.team.fulltext.common.internal.index.IndexManagerImpl.index(IndexManagerImpl.java:262)
... 4 more
Any idea how to fix it? Thank you.