Issue to get workflow XML summary

Hi KNIMErs,

I tried to export the workflow XML summary of several workflows but for some of them, I got the following error.

Workflow summary couldn't be generated by the executor: (was java.lang.NullPointerException) (through reference chain: org.knime.core.util.workflowsummary.WorkflowSummaryGenerator$WorkflowSummary["workflow"]->org.knime.core.util.workflowsummary.WorkflowSummaryGenerator$Workflow$1["node"])

Do you have any suggestions ?

For your information, I am using server version 4.11.3

Regards,
Joel

Hi @joel
this seems to be an old bug, which is fixed in more recent versions of KNIME. To be sure, I would need to see the full stack trace of the NPE.

We would definitely recommend an update to our more recent server products, then you also get all of the new features.

Would this be an option for you?

Hi @Iris,

Thanks for your reply.

We plan to upgrade the server to version 4.14.2 or higher (e.g. 4.15.1) this year.
In the meantime, I will track those issues and handle them manually.

Do you know if the XML schema changed in the new software version because I tried to use Analyse Workflow Summary component but I was not able to get data for the following fields:

  • WF Author
  • Creation Date
  • Last Edited
  • Last Uploaded
  • WF Description
  • WF Annotation

In fact, metadata XML element does not contain data

//WorkflowSummary/workflow/metadata

` and I replaced the XPath for the annotations to get them

//WorkflowSummary/workflow/annotation

by

//WorkflowSummary/workflow/annotations/annotation

Regards,
Joel

Hi Joel,

Thanks for reporting this issue.

I have also noticed the //WorkflowSummary/workflow/metadata XML element is missing from the Workflow Summary XML. But, in my case, this only happens when the description of the workflow has never been edited using the description view (see the screenshot below).

Nevertheless this is a bug and should be fixed.
I have create a development ticket (internal reference number AP-19622) to get it fixed.

Regards

3 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.