smallredville
Programmer
Hi All,
Through this post I would like to ask if anyone has any idea on the followings exceptions:
Exception in MainController.dumpVersionToDisk() :: dataID : 8911181 :: LLValue unknown field name: FileAttributescom.opentext.api.LLUnknownFieldException: LLValue unknown field name: FileAttributes
at com.opentext.api.LLNameTable.get(Unknown Source)
at com.opentext.api.LLAssoc.get(Unknown Source)
at com.opentext.api.LLValue.toValue(Unknown Source)
at com.opentext.api.LLFileUtils.streamWriter(Unknown Source)
at com.opentext.api.LLConnect.receiveFileDownload(Unknown Source)
at com.opentext.api.LLConnect.executeTraditional(Unknown Source)
at com.opentext.api.LLConnect.execute(Unknown Source)
at com.opentext.api.LAPI_DOCUMENTS.FetchVersion(Unknown Source)
at MainController.dumpVersionToDisk(MainController.java:3608)
at MainController.handleFiling_F(MainController.java:2486)
at MainController.startProcessing(MainController.java:1117)
at RequestTableHandler.selectRequest_R(RequestTableHandler.java:117)
at PDFApp.main(PDFApp.java:32)
+++ Start of session errors +++
Status Code: 0
Api Error:
Error Message:
Status Message:
+++ End of session errors +++
I got the above exception when trying to FetchVersion() documents from Livelink system.
The following is my method which calls the FetchVersion():
public static boolean dumpVersionToDisk(int volumeID, int dataID, int versionNum, String objectFullpath) {
try {
LAPI_DOCUMENTS doc;
//create a new GlobalVariables.session and get into livelink
doc =
new LAPI_DOCUMENTS(GlobalVariables.session);
//FetchVersion() used here !!!
if (doc.FetchVersion(volumeID, dataID, versionNum, objectFullpath) != 0) {
LivelinkHandler.writeSessionErrors(GlobalVariables.session);
return false;
}//end if
}//end try
catch (Exception e) {
LogHandler.writeProcessLog("Exception in MainController.dumpVersionToDisk() :: dataID : " + dataID +
" :: " + e.getMessage());
LogHandler.insertLOG(e);
LivelinkHandler.writeSessionErrors(GlobalVariables.session);
}//end catch
//everything fine - return true
return true;
}//end dumpVersionToDisk()
I hope someone who knows about, don't mind to share with me.
Many thanks in advance,
smallredville
Through this post I would like to ask if anyone has any idea on the followings exceptions:
Exception in MainController.dumpVersionToDisk() :: dataID : 8911181 :: LLValue unknown field name: FileAttributescom.opentext.api.LLUnknownFieldException: LLValue unknown field name: FileAttributes
at com.opentext.api.LLNameTable.get(Unknown Source)
at com.opentext.api.LLAssoc.get(Unknown Source)
at com.opentext.api.LLValue.toValue(Unknown Source)
at com.opentext.api.LLFileUtils.streamWriter(Unknown Source)
at com.opentext.api.LLConnect.receiveFileDownload(Unknown Source)
at com.opentext.api.LLConnect.executeTraditional(Unknown Source)
at com.opentext.api.LLConnect.execute(Unknown Source)
at com.opentext.api.LAPI_DOCUMENTS.FetchVersion(Unknown Source)
at MainController.dumpVersionToDisk(MainController.java:3608)
at MainController.handleFiling_F(MainController.java:2486)
at MainController.startProcessing(MainController.java:1117)
at RequestTableHandler.selectRequest_R(RequestTableHandler.java:117)
at PDFApp.main(PDFApp.java:32)
+++ Start of session errors +++
Status Code: 0
Api Error:
Error Message:
Status Message:
+++ End of session errors +++
I got the above exception when trying to FetchVersion() documents from Livelink system.
The following is my method which calls the FetchVersion():
public static boolean dumpVersionToDisk(int volumeID, int dataID, int versionNum, String objectFullpath) {
try {
LAPI_DOCUMENTS doc;
//create a new GlobalVariables.session and get into livelink
doc =
new LAPI_DOCUMENTS(GlobalVariables.session);
//FetchVersion() used here !!!
if (doc.FetchVersion(volumeID, dataID, versionNum, objectFullpath) != 0) {
LivelinkHandler.writeSessionErrors(GlobalVariables.session);
return false;
}//end if
}//end try
catch (Exception e) {
LogHandler.writeProcessLog("Exception in MainController.dumpVersionToDisk() :: dataID : " + dataID +
" :: " + e.getMessage());
LogHandler.insertLOG(e);
LivelinkHandler.writeSessionErrors(GlobalVariables.session);
}//end catch
//everything fine - return true
return true;
}//end dumpVersionToDisk()
I hope someone who knows about, don't mind to share with me.
Many thanks in advance,
smallredville