Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.util.NoSuchElementException: None.get #45

Open
corey-pitzo opened this issue Jan 29, 2020 · 0 comments
Open

java.util.NoSuchElementException: None.get #45

corey-pitzo opened this issue Jan 29, 2020 · 0 comments

Comments

@corey-pitzo
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant