Ошибка Documentum: [DM_SESSION_E_RPC_ERROR] - PullRequest
0 голосов
/ 02 мая 2018

Я пытаюсь получить содержимое всех документов (текущей версии) из источника documentum, используя следующий код

IDfSysObject document = (IDfSysObject) session.getObject(new DfId(eachFileMetadata.get(some document id).toString()));
ByteArrayInputStream docContent = document.getContent();

Я получаю следующую ошибку:

       DfIOException:: THREAD: Thread-585; MSG: [DM_SESSION_E_RPC_ERROR]error:  "Server communication failure"; ERRORCODE: 100; NEXT: null
    at com.documentum.fc.client.DfIOException.newCommunicationFailureException(DfIOException.java:16)
    at com.documentum.fc.client.impl.connection.netwise.AbstractNetwiseRpcClient.receiveMessage(AbstractNetwiseRpcClient.java:193)
    at com.documentum.fc.client.impl.connection.docbase.netwise.NetwiseDocbaseRpcClient.getBlock(NetwiseDocbaseRpcClient.java:1042)
    at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.getBlock(DocbaseConnection.java:1475)
    at com.documentum.fc.client.impl.connection.docbase.RawPuller.getBlock(RawPuller.java:52)
    at com.documentum.fc.client.content.impl.BlockPuller.nextBlock(BlockPuller.java:49)
    at com.documentum.fc.client.content.impl.PullerInputStream.getNextBuffer(PullerInputStream.java:73)
    at com.documentum.fc.client.content.impl.PullerInputStream.ensureBufferHasData(PullerInputStream.java:63)
    at com.documentum.fc.client.content.impl.PullerInputStream.read(PullerInputStream.java:88)
    at java.io.FilterInputStream.read(FilterInputStream.java:133)
    at java.io.FilterInputStream.read(FilterInputStream.java:133)
    at java.io.FilterInputStream.read(FilterInputStream.java:107)
    at com.documentum.fc.impl.util.io.StreamUtility.copyContents(StreamUtility.java:50)
    at com.documentum.fc.impl.util.io.StreamUtility.copyContents(StreamUtility.java:30)
    at com.documentum.fc.client.DfSysObject.getContentEx3(DfSysObject.java:1952)
    at com.documentum.fc.client.DfSysObject.getContentEx2(DfSysObject.java:1942)
    at com.documentum.fc.client.DfSysObject.getContent(DfSysObject.java:1932)
    at com.documentum.fc.client.DfDocument___PROXY.getContent(DfDocument___PROXY.java)

вышеупомянутая ошибка произошла, когда я пытаюсь получить содержание документа, может кто-нибудь, пожалуйста, помогите мне ??

...