Note: This applies to DocuShare 5.x, 6.x and 6.6.1.
Error Code: 0 Couldn't get a stream to file:
Issue
Error Code: 0 Couldn't get a stream to file:
Important: It is very important to LOOK at the Stack Trace Message to determine the issue that caused the problem.
1. If the Stack Trace Information displayed will be similar to the error below.
Couldn't get a stream to remote file: C:\Xerox\Docushare\tmp\Amber5020209194592519062.tmp; nested exception is:
java.rmi.ServerError: Error occurred in server thread; nested exception is: java.lang.StackOverflowError
Solution
Refer to the Unable To Download or Upload a file in DocuShare solution link listed at the bottom of the page.
2. If the Stack Trace Information displayed will be similar to the error below.
D:/Xerox/Docushare/documents/b361\File-873\Version-5337\application-msword\Document-873_Version-5337_application-msword_0;nested exception is: java.io.FileNotFoundException: D:\Xerox\Docushare\documents\b361\File-873\Version-5337\application-msword\Document-873_Version-5337_application-msword_0
(The system cannot find the path specified)
Then refer to the solution below.
Solution
From the Server,
Note: Depending on your install the documents may not reside on the same server as DocuShare. When searching for the missing file you will need to verify where the --\Xerox\DocuShare\documents directory is located and search for the file on that server.
a. Click the Start button, select Search, and then select For Files or Folders. The Search Results window displays
b. In the All or part of the file name field type the document handle Document-XX of the missing file.
Where XX is replaced by the document handle number.
Note: The error message displayed by DocuShare when trying to access the missing file will have the document handle listed. In the example above DocuShare is looking for Document-873.
c. If this Document does not exist, then this is not a DocuShare issue. The document has somehow been deleted from your documents directory manually. (Possibly from doing a restore where the database and the documents were not restored from the same time period)
Note: For instructions on restoring the document in DocuShare please contact technical support
d. If the document does exist in the documents directory you will need to make note of which bxx directory the document is located in, as well as which folder DocuShare is looking for it in. In the example above DocuShare is looking for Document-873 in the following location Xerox\Docushare\documents\b361.
Warning: Do not manually move any files in the DocuShare structure.
e. Contact Technical Support for further instruction on resolving this issue.
Note: This issue could be a bucket mismatch issue if the DocuShare server was an upgraded one that uses the 64 bucket structure and was restored to a new DocuShare server that is using the 512 bucket structure. If this is the case Technical support can provide additional instructions on resolving the issue.
Solution Updated: September 10th, 2014
Solution ID: 273