• OKMHotFolder Error

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #47659  by mfreem2
 
trying to use OKMHotFolder 1.0 to upload a test txt file, get the following error (6.3.6CE):
Code: Select all
2019-03-18 12:34:25 [INFO] Created: C:\Users\M\Desktop\openkm\text.txt.txt
2019-03-18 12:34:25 [INFO] ProcessorHelper (upload): Starting...
2019-03-18 12:34:25 [INFO] ProcessorHelper (upload): localFile = C:\Users\M\Desktop\openkm\text.txt.txt
2019-03-18 12:34:25 [INFO] ProcessorHelper (upload): destPath = /okm:personal/M
2019-03-18 12:34:25 [ERROR] ProcessorHelper (upload)
2019-03-18 12:34:25 [ERROR] com.openkm.sdk4csharp.exception.OKMRestException: RepositoryImpl (hasNode)
Length cannot be less than zero.
Parameter name: length

System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
   at System.String.Substring(Int32 startIndex, Int32 length)
   at com.openkm.sdk4csharp.impl.RepositoryImpl.hasNode(String nodeId)
   at com.openkm.sdk4csharp.impl.RepositoryImpl.hasNode(String nodeId)
   at com.openkm.sdk4csharp.OKMWebservice20.hasNode(String nodeId)
   at com.openkm.helpers.ProcessorHelper.upload(String localFile)
2019-03-18 12:34:44 [INFO] ProcessorHelper (deleteFile): C:\Users\Melissa\Desktop\openkm\text.txt.txt
Not sure what this is telling me. The file does not upload

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.