Hello Community,
I am actually building a new workflow with an csv as input.
Unfortunately when debugging the workflow:
Error 500, OK.
Is anyone facing similar issues, or any ideas?
thx and kind regards
I was able to reproduce the same error on my 8.0.1 deployment. In 8.1 the same code seems to work fine, though, so apparently something is fixed/changed in that version. Don't have 8.0.1 HF1/HF2 builds to check what's the situation there.
If you plan to stick with 8.0.1 and not upgrade to 8.1 soon, I'd suggest first to check with the latest service pack build, and if it still crashes there, consider opening a support request to deliver a fix with the next 8.0.1 service pack builds.
How big is the CSV file (approximately)? Trying to load very large files could cause server errors.
I'd suggest to check vRO log files for more information about this error.
The CSV is 2KB
2020-04-20 05:28:09.375+0000 [http-nio-8280-exec-20] ERROR {} [[restServlet]] Servlet.service() for servlet [restServlet] in context with path [/vco] threw exception [Request processing failed; nested exception is java.lang.ClassCastException: java.lang.String cannot be cast to ch.dunes.model.fileattachment.MimeAttachment] with root cause java.lang.ClassCastException: java.lang.String cannot be cast to ch.dunes.model.fileattachment.MimeAttachment
...
2020-04-20 05:28:09.377+0000 [access.log] [http-nio-8280-exec-20] 127.0.0.1 - - "POST /vco/api/workflows/e8e1bd07-7766-4993-b960-706195329bab/executions HTTP/1.1" 500 3308 47
I don't reallly know....
Looks like some issue in the code that handles mime attachments. I'll try to deploy 8.0.1 in our lab and reproduce the error locally.
A couple of points to clarify:
vRealize Orchestrator 8.0.1 (15282010)
The Error occured immediately after clicking "RUN". The Gui not even switches to the schema.
the only scriptable item after input contains the following:
serverAdmins = new Array();
arrOrderForm = new Array();
desiredVmConfig = new Properties();
// Split orderForm into lines
//arrOrderForm = vmOrderForm.content.split(/\r\n|\n\r|\n|\r/g);
I was able to reproduce the same error on my 8.0.1 deployment. In 8.1 the same code seems to work fine, though, so apparently something is fixed/changed in that version. Don't have 8.0.1 HF1/HF2 builds to check what's the situation there.
If you plan to stick with 8.0.1 and not upgrade to 8.1 soon, I'd suggest first to check with the latest service pack build, and if it still crashes there, consider opening a support request to deliver a fix with the next 8.0.1 service pack builds.
Hey Ilian,
thank you so much for your support - I just built my new test environment based on vRO 8.1, which hopefully covers all my needs ;D
Best Regards,
Dex