Google Cloud Dataflow - Problem reading font data
Hi,
I am trying to run a java application on Google cloud dataflow, however I am getting an exception
Error message from worker: java.lang.Exception:Problem reading font data.
The exception only appears when I use the Dataflowrunner
, but when I use the directRunner
it works fine on my machine
The issue is basically with java.awt.Font
in the line
Font.createFonts(stream)
.first()
.deriveFont(fontSize * FONT_SIZE_MULTIPLIER)
I am assuming that the docker image that dataflow runner uses, is missing on of the configurations, but I am not quiet sure what is it
Would appreciate if anyone has any idea about this and wants to help
Thanks!