Skip to content

java.util.NoSuchElementException: None.get #45

@corey-pitzo

Description

@corey-pitzo

IntelliJ Build: 2019.3.2 Ultimate Edition
Build Number: 193.6015.39

DataWeave Plugin Versions Tried: 35,33,21,36-20200122.212947 (latest dev build)

When running any dataweave test for the BAT CLI I'm receiving this error:

Exception in thread "main" java.util.NoSuchElementException: None.get
at scala.None$.get(Option.scala:366)
at scala.None$.get(Option.scala:364)
at org.mule.weave.v2.runtime.ExecutableWeaveHelper$.buildWriter(ExecutableWeaveHelper.scala:49)
at org.mule.weave.v2.runtime.utils.DefaultCustomRunner$.runMapping(DefaultCustomRunner.scala:268)
at org.mule.weave.v2.runtime.utils.DefaultCustomRunner$.run(DefaultCustomRunner.scala:177)
at org.mule.weave.v2.runtime.utils.DefaultCustomRunner$.run(DefaultCustomRunner.scala:38)
at org.mule.weave.v2.runtime.utils.WeaveRunner$.executeRunner(WeaveRunner.scala:40)
at org.mule.weave.v2.runtime.utils.WeaveRunner$.main(WeaveRunner.scala:24)
at org.mule.weave.v2.runtime.utils.WeaveRunner$.delayedEndpoint$org$mule$weave$v2$runtime$utils$WeaveRunner$1(WeaveRunner.scala:5)
at org.mule.weave.v2.runtime.utils.WeaveRunner$delayedInit$body.apply(WeaveRunner.scala:3)
at scala.Function0.apply$mcV$sp(Function0.scala:39)
at scala.Function0.apply$mcV$sp$(Function0.scala:39)
at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:17)
at scala.App.$anonfun$main$1$adapted(App.scala:80)
at scala.collection.immutable.List.foreach(List.scala:392)
at scala.App.main(App.scala:80)
at scala.App.main$(App.scala:78)
at org.mule.weave.v2.runtime.utils.WeaveRunner$.main(WeaveRunner.scala:3)
at org.mule.weave.v2.runtime.utils.WeaveRunner.main(WeaveRunner.scala)

Process finished with exit code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions