--
Frank Schnicke
Project Manager
Dept. Embedded Software Engineering
Fraunhofer IESE
Fraunhofer-Platz 1 | 67663 Kaiserslautern
+49 631 6800-2259
frank.schnicke@xxxxxxxxxxxxxxxxxx
www.iese.fraunhofer.de
Dear Mr. Schnicke,
I am using the basyx sdk as part of my bachelor thesis project and have been getting
to know it through the Introductory Examples that you have thankfully uploaded to https://wiki.eclipse.org/BaSyx_/_Introductory_Examples.
I have encountered a small problem while running Example 2 (https://wiki.eclipse.org/BaSyx_/_Introductory_Examples_/_Java_/_Example_2)
on my machine and wonder if you have an idea of what the reason could be.
While the temperature value is successfully retrieved with (
connectedOven.getModelPropertyValue("/properties/temperature");),
the following error/exception occurs after the invoke Operation in
connectedOven.invokeOperation("/operations/activateOven"):
04:10:06.252 [http-nio-4001-exec-7] DEBUG org.eclipse.basyx.vab.protocol.http.server.VABHTTPInterface - Exception in HTTP-POST. Response-code: 422
org.eclipse.basyx.vab.exception.provider.ResourceAlreadyExistsException: Could not create property.
In debug mode I can see that the getModelPropertyValue has successfully worked:
04:15:22.955 [main] INFO demonstration.Scenario2Connected - Current temperature: 20.0
Thank you for your time.
Looking forward to hearing from you,
Ahmed Osman