11-03-2011 01:54 PM
Hello,
We currently use the Hyland Services API in our Java application to store and retrieve documents. We currently store PDF, Excel and XML files. We have a new requirement for storing image files, and for ease of use would like to be able to import these to OnBase via the API. However, when trying to store an image (GIF or TIF), I'm getting an exception thrown (see below).
We just upgraded our test environment to version 11 SP1. I am able to import an image to the document type using the OnBase Web Client sucessfully, so I believe the document type configuration is valid. I have ensured that the fileTypeID is the ID for "Image File Format" (2).
The "List`1 filePaths" part of the error has me stumped, because the document bytes are passed in, not a file path. Has anyone encountered this error, or know what my issue may be?
Thanks,
Chris Montgomery
Event Type: Error
Event Source: Hyland Application Server
Event Category: None
Event ID: 0
Date: 11/3/2011
Time: 12:46:17 PM
User: N/A
Computer: BOSONBASET
Description:
1) Exception Information
*********************************************
Exception Type: System.Runtime.InteropServices.SEHException
ErrorCode: -2147467259
Message: External component has thrown an exception.
Data: System.Collections.ListDictionaryInternal
TargetSite: DMCOREX.OBXPropertyBag ProcessArchivalTokenEx(System.Object)
HelpLink: NULL
Source: Hyland.Public.Services
StackTrace Information
*********************************************
at DMCOREX.IOBXStorageProvider.ProcessArchivalTokenEx(Object varArchivalToken)
at Hyland.Public.Services.Module.archiveEx(IOBXSession session, ArchivalToken token, List`1 filePaths)
at Hyland.Public.Services.Module.ArchiveDocumentEx(ArchivalToken token, List`1 filePaths)
at Hyland.Public.Services.Core.storeDocument()
11-03-2011 01:58 PM
Unfortunately you probably won't get a ton of support on Hyland Services anymore. Are you able to switch to Unity?
11-03-2011 02:07 PM
We have one of our administrators in training right now, and he is going to find out more about our options.
11-04-2011 04:33 AM
Chris, Is there anything else in the Diagnostics Console? perhaps there are more errors that could lead to a more definitive diagnosis on what is happening.
As for options, I will say that Unity does not provide a Java interface as of yet. This would mean that you would have to write a translation layer (wrapper API) for Unity and call into that via web service calls from Java. I do believe that Hyland is working on Java for Unity but it is not released and still in the works.
11-04-2011 07:24 AM
We had this in the event viewer, if this is helpful:
Event Type: Error
Event Source: Hyland Application Server
Event Category: None
Event ID: 0
Date: 11/3/2011
Time: 12:46:17 PM
User: N/A
Computer: BOSONBASET
Description:
1) Exception Information
*********************************************
Exception Type: System.Runtime.InteropServices.SEHException
ErrorCode: -2147467259
Message: External component has thrown an exception.
Data: System.Collections.ListDictionaryInternal
TargetSite: DMCOREX.OBXPropertyBag ProcessArchivalTokenEx(System.Object)
HelpLink: NULL
Source: Hyland.Public.Services
StackTrace Information
*********************************************
at DMCOREX.IOBXStorageProvider.ProcessArchivalTokenEx(Object varArchivalToken)
at Hyland.Public.Services.Module.archiveEx(IOBXSession session, ArchivalToken token, List`1 filePaths)
at Hyland.Public.Services.Module.ArchiveDocumentEx(ArchivalToken token, List`1 filePaths)
at Hyland.Public.Services.Core.storeDocument()
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.