Hi,
I am using Documentum using CMIS which is working fine in all cases except for Check in. My code is in Dot net and when i am trying to checkin the document its giving me error without exact error
This is the error and stack trace i got
Error: org.cmis.ws.CmisException
Detail:
Failed to check in document
[java.lang.NullPointerException] null
Stack Trace:
Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at CMISServiceRefPOC.cmis.VersioningServicePort.checkIn(checkInRequest request)
at CMISServiceRefPOC.cmis.VersioningServicePortClient.cmis_VersioningServicePort_checkIn(checkInRequest request) in
\DocusphereSVN\trunk\DocuSphere Product\4.5\Proof of Concept Apps and Misc\CMISServiceRefPOC\CMISServiceRefPOC\Service References\cmis\Reference.vb:line 10741
at CMISServiceRefPOC.cmis.VersioningServicePortClient.checkIn(String repositoryId, String& objectId, Nullable`1 major, cmisPropertiesType properties, cmisContentStreamType contentStream, String checkinComment, String[] policies, cmisAccessControlListType addACEs, cmisAccessControlListType removeACEs, cmisExtensionType& extension) in
\DocusphereSVN\trunk\DocuSphere Product\4.5\Proof of Concept Apps and Misc\CMISServiceRefPOC\CMISServiceRefPOC\Service References\cmis\Reference.vb:line 10756
at CMISServiceRefPOC._Default.btnCheckIn_Click(Object sender, EventArgs e) in
\DocusphereSVN\trunk\DocuSphere Product\4.5\Proof of Concept Apps and Misc\CMISServiceRefPOC\CMISServiceRefPOC\Default.aspx.vb:line 623
My Code
Dim versioningSvc As cmis.VersioningServicePortClient = New cmis.VersioningServicePortClient("VersioningServicePortBinding")
ServiceUrl = txtURL.Text & "/VersioningService"
versioningSvc.Endpoint.Address = New ServiceModel.EndpointAddress(ServiceUrl)
versioningSvc.checkIn(lstRepository.repositoryId, objId,false, props,fileStream , Nothing, Nothing, Nothing, Nothing, Nothing)