Cannot upload file using the Lyo Automation Adapter [message #1730907] |
Fri, 29 April 2016 16:00  |
Eclipse User |
|
|
|
Hi there,
I've downloaded the Eclipse Lyo client samples in order to use the automation with Rational Quality Manager.
When the adapter tries to upload the sample file (adapter.uploadAttachment(attachment, request)) the following exception is thrown:
INFORMATION: Output parameters:
ERROR [main] (OutPart.java:100) - The system could not find a writer for class [B and application/octet-stream; name=sample.png. Locate a DataSourceProvider for the JavaBeans Activation Framework (JAF).
Exception in thread "main" org.eclipse.lyo.client.oslc.samples.automation.AutomationException: org.apache.wink.client.ClientRuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: javax.ws.rs.WebApplicationException
at org.eclipse.lyo.client.oslc.samples.automation.RQMAutomationSample.handleAutomationRequest(RQMAutomationSample.java:221) ....
If the upload is skipped the adapter works without any problem and creates an AutomationResult in RQM.
I only did one customization in the AutomationRequest to get the Output Parameter which hold the RQM Execution variables. What can cause the above shown exception.
I'm using using JDK1.7 on Windows and Mac OS and both systems produces the same problem.
Regards
Matthias
|
|
|
|
Powered by
FUDForum. Page generated in 0.04509 seconds