Pranaye Karnati
Pranaye Karnati
Doesn't work, still the error persists
I'm trying this way : mvn compile exec:java \ -Dexec.mainClass=com.example.Template \ -Dexec.args="--output=gs://practise-bucket/output \ --dataflowJobFile=gs://practise-bucket/templates/DataFlowEg \ --tempLocation=gs://practise-bucket/temp \ --runner=TemplatingDataflowPipelineRunner"
Yes. This is my code. Please help: ``` public class Template { static class stringToTableRow extends DoFn { @Override public void processElement(ProcessContext c) { Date dateObj = new Date(); DateFormat...
Yeah, Looks like that worked, didn't know it was required at both places. Thanks a lot Btw, stuck with a new error now "InvocationTargetException: java.lang.RuntimeException: Not called from a runtime...
Values are assigned to the value provider at runtime, isn't it? btw stack trace: ``` java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293) at java.lang.Thread.run(Thread.java:745) Caused...
This particular error is when I'm trying to create template for the first time and i can't find any unset value providers in my code as you can see in...