When I'm trying to debug DataWeave scripts where output type is application/java, I get this error:
Exception in thread "Thread-1" com.mulesoft.weave.module.InvalidTargetException: Unable to create Java writer out of java.io.FileOutputStream@7f1387eb
at com.mulesoft.weave.module.JavaModule.writer(JavaModule.scala:21)
at com.mulesoft.weave.engine.Engine.implicitWriter(Engine.scala:258)
at com.mulesoft.weave.engine.Engine.execute(Engine.scala:127)
at com.mulesoft.weave.engine.Engine.execute(Engine.scala:108)
at com.mulesoft.weave.WeaveRunner$$anon$2$$anon$1.run(WeaveRunner.scala:80)
When I'm trying to debug DataWeave scripts where output type is application/java, I get this error:
Exception in thread "Thread-1" com.mulesoft.weave.module.InvalidTargetException: Unable to create Java writer out of java.io.FileOutputStream@7f1387eb at com.mulesoft.weave.module.JavaModule.writer(JavaModule.scala:21) at com.mulesoft.weave.engine.Engine.implicitWriter(Engine.scala:258) at com.mulesoft.weave.engine.Engine.execute(Engine.scala:127) at com.mulesoft.weave.engine.Engine.execute(Engine.scala:108) at com.mulesoft.weave.WeaveRunner$$anon$2$$anon$1.run(WeaveRunner.scala:80)