You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
message:"Not able to retrieve calendars." as :string,
status:"500" as :string,
code:"CALENDARS-S-T-0004" as :string,
origin: "database" as :string,
causeMessage: "" as :string
}]]></dw:set-payload>
</dw:transform-message>
" is not legal for a JDOM comment: Comments cannot contain double hyphens (--). -- migrating :enricher
ERROR 2022-06-09 09:18:23,206 [main] com.mulesoft.tools.migration.engine.MigrationJob: Failed to apply task, rolling back and continuing with the next one.
com.mulesoft.tools.migration.exception.MigrationTaskException: Task execution exception. Task execution exception (The data "
<dw:transform-message xmlns:dw="http://www.mulesoft.org/schema/mule/ee/dw" doc:name="CALENDARS-S-T-0004">
dw:set-payload<![CDATA[%dw 1.0
%output application/java
{
message:"Not able to retrieve calendars." as :string,
status:"500" as :string,
code:"CALENDARS-S-T-0004" as :string,
origin: "database" as :string,
causeMessage: "" as :string
}]]></dw:set-payload>
</dw:transform-message>
" is not legal for a JDOM comment: Comments cannot contain double hyphens (--).) migrating node:
{
message:"Not able to retrieve calendars." as :string,
status:"500" as :string,
code:"CALENDARS-S-T-0004" as :string,
origin: "database" as :string,
causeMessage: "" as :string
}]]></dw:set-payload>
</dw:transform-message>
at com.mulesoft.tools.migration.task.AbstractMigrationTask.execute(AbstractMigrationTask.java:96) ~[mule-migration-tool-api-1.3.0.jar:?]
at com.mulesoft.tools.migration.engine.MigrationJob.execute(MigrationJob.java:102) [mule-migration-tool-engine-1.3.0.jar:1.3.0]
at com.mulesoft.tools.migration.MigrationRunner.run(MigrationRunner.java:82) [mule-migration-assistant-runner-1.3.0.jar:1.3.0]
at com.mulesoft.tools.migration.MigrationRunner.main(MigrationRunner.java:67) [mule-migration-assistant-runner-1.3.0.jar:1.3.0]
Caused by: com.mulesoft.tools.migration.exception.MigrationStepException: Task execution exception (The data "
<dw:transform-message xmlns:dw="http://www.mulesoft.org/schema/mule/ee/dw" doc:name="CALENDARS-S-T-0004">
dw:set-payload<![CDATA[%dw 1.0
%output application/java
{
message:"Not able to retrieve calendars." as :string,
status:"500" as :string,
code:"CALENDARS-S-T-0004" as :string,
origin: "database" as :string,
causeMessage: "" as :string
}]]></dw:set-payload>
</dw:transform-message>
" is not legal for a JDOM comment: Comments cannot contain double hyphens (--).) migrating node:
{
message:"Not able to retrieve calendars." as :string,
status:"500" as :string,
code:"CALENDARS-S-T-0004" as :string,
origin: "database" as :string,
causeMessage: "" as :string
}]]></dw:set-payload>
</dw:transform-message>
at com.mulesoft.tools.migration.task.AbstractMigrationTask.lambda$fetchAndProcessNodes$8(AbstractMigrationTask.java:122) ~[mule-migration-tool-api-1.3.0.jar:?]
at com.mulesoft.tools.migration.task.AbstractMigrationTask$$Lambda$90/1956746660.accept(Unknown Source) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[?:1.8.0_51]
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_51]
at java.util.LinkedList$LLSpliterator.forEachRemaining(LinkedList.java:1235) ~[?:1.8.0_51]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512) ~[?:1.8.0_51]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) ~[?:1.8.0_51]
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) ~[?:1.8.0_51]
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) ~[?:1.8.0_51]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_51]
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) ~[?:1.8.0_51]
at com.mulesoft.tools.migration.task.AbstractMigrationTask.fetchAndProcessNodes(AbstractMigrationTask.java:116) ~[mule-migration-tool-api-1.3.0.jar:?]
at com.mulesoft.tools.migration.task.AbstractMigrationTask.lambda$execute$3(AbstractMigrationTask.java:75) ~[mule-migration-tool-api-1.3.0.jar:?]
at com.mulesoft.tools.migration.task.AbstractMigrationTask$$Lambda$62/564086167.accept(Unknown Source) ~[?:?]
at java.util.ArrayList.forEach(ArrayList.java:1249) ~[?:1.8.0_51]
at com.mulesoft.tools.migration.task.AbstractMigrationTask.execute(AbstractMigrationTask.java:73) ~[mule-migration-tool-api-1.3.0.jar:?]
... 3 more
Caused by: org.jdom2.IllegalDataException: The data "
<dw:transform-message xmlns:dw="http://www.mulesoft.org/schema/mule/ee/dw" doc:name="CALENDARS-S-T-0004">
dw:set-payload<![CDATA[%dw 1.0
%output application/java
{
message:"Not able to retrieve calendars." as :string,
status:"500" as :string,
code:"CALENDARS-S-T-0004" as :string,
origin: "database" as :string,
causeMessage: "" as :string
}]]></dw:set-payload>
</dw:transform-message>
" is not legal for a JDOM comment: Comments cannot contain double hyphens (--).
at org.jdom2.Comment.setText(Comment.java:124) ~[jdom2-2.0.6.jar:2.0.6]
at org.jdom2.Comment.(Comment.java:89) ~[jdom2-2.0.6.jar:2.0.6]
at com.mulesoft.tools.migration.report.DefaultMigrationReport.report(DefaultMigrationReport.java:159) ~[mule-migration-tool-engine-1.3.0.jar:1.3.0]
at com.mulesoft.tools.migration.report.DefaultMigrationReport.report(DefaultMigrationReport.java:121) ~[mule-migration-tool-engine-1.3.0.jar:1.3.0]
at com.mulesoft.tools.migration.library.mule.steps.core.Enricher.execute(Enricher.java:120) ~[mule-migration-tool-library-1.3.0.jar:?]
at com.mulesoft.tools.migration.library.mule.steps.core.Enricher.execute(Enricher.java:37) ~[mule-migration-tool-library-1.3.0.jar:?]
at com.mulesoft.tools.migration.step.ReportingStep.execute(ReportingStep.java:55) ~[mule-migration-tool-api-1.3.0.jar:?]
at com.mulesoft.tools.migration.step.ReportingStep.execute(ReportingStep.java:29) ~[mule-migration-tool-api-1.3.0.jar:?]
at com.mulesoft.tools.migration.task.AbstractMigrationTask.lambda$fetchAndProcessNodes$8(AbstractMigrationTask.java:119) ~[mule-migration-tool-api-1.3.0.jar:?]
at com.mulesoft.tools.migration.task.AbstractMigrationTask$$Lambda$90/1956746660.accept(Unknown Source) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[?:1.8.0_51]
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_51]
at java.util.LinkedList$LLSpliterator.forEachRemaining(LinkedList.java:1235) ~[?:1.8.0_51]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512) ~[?:1.8.0_51]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) ~[?:1.8.0_51]
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) ~[?:1.8.0_51]
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) ~[?:1.8.0_51]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_51]
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) ~[?:1.8.0_51]
at com.mulesoft.tools.migration.task.AbstractMigrationTask.fetchAndProcessNodes(AbstractMigrationTask.java:116) ~[mule-migration-tool-api-1.3.0.jar:?]
at com.mulesoft.tools.migration.task.AbstractMigrationTask.lambda$execute$3(AbstractMigrationTask.java:75) ~[mule-migration-tool-api-1.3.0.jar:?]
at com.mulesoft.tools.migration.task.AbstractMigrationTask$$Lambda$62/564086167.accept(Unknown Source) ~[?:?]
at java.util.ArrayList.forEach(ArrayList.java:1249) ~[?:1.8.0_51]
at com.mulesoft.tools.migration.task.AbstractMigrationTask.execute(AbstractMigrationTask.java:73) ~[mule-migration-tool-api-1.3.0.jar:?]
... 3 more
MIGRATION ASSISTANT RUN SUCCESSFULLY
Total time: 14,194 s
Reproducible Test Case
There are not double hyphens (--). but it is not only in this case the beheivour is the same with enricher
The text was updated successfully, but these errors were encountered:
Version used
MMA 1.3.0
Describe the bug
is not legal for a JDOM comment: Comments cannot contain double hyphens (--). -- migrating :enricher
Expected Behavior
Migrate enricher elemetns
Actual Behavior
Do nothing in cases of enricher
Relevant logs
Executing migrator 1.3.0...
WARN 2022-06-09 09:18:23,196 [main] com.mulesoft.tools.migration.step.ReportingStep: Exception org.jdom2.IllegalDataException: The data "
<dw:transform-message xmlns:dw="http://www.mulesoft.org/schema/mule/ee/dw" doc:name="CALENDARS-S-T-0004">
dw:set-payload<![CDATA[%dw 1.0
%output application/java
{
message:"Not able to retrieve calendars." as :string,
status:"500" as :string,
code:"CALENDARS-S-T-0004" as :string,
origin: "database" as :string,
causeMessage: "" as :string
}]]></dw:set-payload>
</dw:transform-message>
" is not legal for a JDOM comment: Comments cannot contain double hyphens (--). -- migrating :enricher
ERROR 2022-06-09 09:18:23,206 [main] com.mulesoft.tools.migration.engine.MigrationJob: Failed to apply task, rolling back and continuing with the next one.
com.mulesoft.tools.migration.exception.MigrationTaskException: Task execution exception. Task execution exception (The data "
<dw:transform-message xmlns:dw="http://www.mulesoft.org/schema/mule/ee/dw" doc:name="CALENDARS-S-T-0004">
dw:set-payload<![CDATA[%dw 1.0
%output application/java
{
message:"Not able to retrieve calendars." as :string,
status:"500" as :string,
code:"CALENDARS-S-T-0004" as :string,
origin: "database" as :string,
causeMessage: "" as :string
}]]></dw:set-payload>
</dw:transform-message>
" is not legal for a JDOM comment: Comments cannot contain double hyphens (--).) migrating node:
<dw:transform-message xmlns:dw="http://www.mulesoft.org/schema/mule/ee/dw" doc:name="CALENDARS-S-T-0004">
dw:set-payload<![CDATA[%dw 1.0
%output application/java
{
message:"Not able to retrieve calendars." as :string,
status:"500" as :string,
code:"CALENDARS-S-T-0004" as :string,
origin: "database" as :string,
causeMessage: "" as :string
}]]></dw:set-payload>
</dw:transform-message>
at com.mulesoft.tools.migration.task.AbstractMigrationTask.execute(AbstractMigrationTask.java:96) ~[mule-migration-tool-api-1.3.0.jar:?]
at com.mulesoft.tools.migration.engine.MigrationJob.execute(MigrationJob.java:102) [mule-migration-tool-engine-1.3.0.jar:1.3.0]
at com.mulesoft.tools.migration.MigrationRunner.run(MigrationRunner.java:82) [mule-migration-assistant-runner-1.3.0.jar:1.3.0]
at com.mulesoft.tools.migration.MigrationRunner.main(MigrationRunner.java:67) [mule-migration-assistant-runner-1.3.0.jar:1.3.0]
Caused by: com.mulesoft.tools.migration.exception.MigrationStepException: Task execution exception (The data "
<dw:transform-message xmlns:dw="http://www.mulesoft.org/schema/mule/ee/dw" doc:name="CALENDARS-S-T-0004">
dw:set-payload<![CDATA[%dw 1.0
%output application/java
{
message:"Not able to retrieve calendars." as :string,
status:"500" as :string,
code:"CALENDARS-S-T-0004" as :string,
origin: "database" as :string,
causeMessage: "" as :string
}]]></dw:set-payload>
</dw:transform-message>
" is not legal for a JDOM comment: Comments cannot contain double hyphens (--).) migrating node:
<dw:transform-message xmlns:dw="http://www.mulesoft.org/schema/mule/ee/dw" doc:name="CALENDARS-S-T-0004">
dw:set-payload<![CDATA[%dw 1.0
%output application/java
{
message:"Not able to retrieve calendars." as :string,
status:"500" as :string,
code:"CALENDARS-S-T-0004" as :string,
origin: "database" as :string,
causeMessage: "" as :string
}]]></dw:set-payload>
</dw:transform-message>
at com.mulesoft.tools.migration.task.AbstractMigrationTask.lambda$fetchAndProcessNodes$8(AbstractMigrationTask.java:122) ~[mule-migration-tool-api-1.3.0.jar:?]
at com.mulesoft.tools.migration.task.AbstractMigrationTask$$Lambda$90/1956746660.accept(Unknown Source) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[?:1.8.0_51]
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_51]
at java.util.LinkedList$LLSpliterator.forEachRemaining(LinkedList.java:1235) ~[?:1.8.0_51]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512) ~[?:1.8.0_51]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) ~[?:1.8.0_51]
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) ~[?:1.8.0_51]
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) ~[?:1.8.0_51]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_51]
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) ~[?:1.8.0_51]
at com.mulesoft.tools.migration.task.AbstractMigrationTask.fetchAndProcessNodes(AbstractMigrationTask.java:116) ~[mule-migration-tool-api-1.3.0.jar:?]
at com.mulesoft.tools.migration.task.AbstractMigrationTask.lambda$execute$3(AbstractMigrationTask.java:75) ~[mule-migration-tool-api-1.3.0.jar:?]
at com.mulesoft.tools.migration.task.AbstractMigrationTask$$Lambda$62/564086167.accept(Unknown Source) ~[?:?]
at java.util.ArrayList.forEach(ArrayList.java:1249) ~[?:1.8.0_51]
at com.mulesoft.tools.migration.task.AbstractMigrationTask.execute(AbstractMigrationTask.java:73) ~[mule-migration-tool-api-1.3.0.jar:?]
... 3 more
Caused by: org.jdom2.IllegalDataException: The data "
<dw:transform-message xmlns:dw="http://www.mulesoft.org/schema/mule/ee/dw" doc:name="CALENDARS-S-T-0004">
dw:set-payload<![CDATA[%dw 1.0
%output application/java
{
message:"Not able to retrieve calendars." as :string,
status:"500" as :string,
code:"CALENDARS-S-T-0004" as :string,
origin: "database" as :string,
causeMessage: "" as :string
}]]></dw:set-payload>
</dw:transform-message>
" is not legal for a JDOM comment: Comments cannot contain double hyphens (--).
at org.jdom2.Comment.setText(Comment.java:124) ~[jdom2-2.0.6.jar:2.0.6]
at org.jdom2.Comment.(Comment.java:89) ~[jdom2-2.0.6.jar:2.0.6]
at com.mulesoft.tools.migration.report.DefaultMigrationReport.report(DefaultMigrationReport.java:159) ~[mule-migration-tool-engine-1.3.0.jar:1.3.0]
at com.mulesoft.tools.migration.report.DefaultMigrationReport.report(DefaultMigrationReport.java:121) ~[mule-migration-tool-engine-1.3.0.jar:1.3.0]
at com.mulesoft.tools.migration.library.mule.steps.core.Enricher.execute(Enricher.java:120) ~[mule-migration-tool-library-1.3.0.jar:?]
at com.mulesoft.tools.migration.library.mule.steps.core.Enricher.execute(Enricher.java:37) ~[mule-migration-tool-library-1.3.0.jar:?]
at com.mulesoft.tools.migration.step.ReportingStep.execute(ReportingStep.java:55) ~[mule-migration-tool-api-1.3.0.jar:?]
at com.mulesoft.tools.migration.step.ReportingStep.execute(ReportingStep.java:29) ~[mule-migration-tool-api-1.3.0.jar:?]
at com.mulesoft.tools.migration.task.AbstractMigrationTask.lambda$fetchAndProcessNodes$8(AbstractMigrationTask.java:119) ~[mule-migration-tool-api-1.3.0.jar:?]
at com.mulesoft.tools.migration.task.AbstractMigrationTask$$Lambda$90/1956746660.accept(Unknown Source) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[?:1.8.0_51]
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_51]
at java.util.LinkedList$LLSpliterator.forEachRemaining(LinkedList.java:1235) ~[?:1.8.0_51]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512) ~[?:1.8.0_51]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) ~[?:1.8.0_51]
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) ~[?:1.8.0_51]
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) ~[?:1.8.0_51]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_51]
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) ~[?:1.8.0_51]
at com.mulesoft.tools.migration.task.AbstractMigrationTask.fetchAndProcessNodes(AbstractMigrationTask.java:116) ~[mule-migration-tool-api-1.3.0.jar:?]
at com.mulesoft.tools.migration.task.AbstractMigrationTask.lambda$execute$3(AbstractMigrationTask.java:75) ~[mule-migration-tool-api-1.3.0.jar:?]
at com.mulesoft.tools.migration.task.AbstractMigrationTask$$Lambda$62/564086167.accept(Unknown Source) ~[?:?]
at java.util.ArrayList.forEach(ArrayList.java:1249) ~[?:1.8.0_51]
at com.mulesoft.tools.migration.task.AbstractMigrationTask.execute(AbstractMigrationTask.java:73) ~[mule-migration-tool-api-1.3.0.jar:?]
... 3 more
MIGRATION ASSISTANT RUN SUCCESSFULLY
Total time: 14,194 s
Reproducible Test Case
There are not double hyphens (--). but it is not only in this case the beheivour is the same with enricher
The text was updated successfully, but these errors were encountered: