If I don't do the flatmapelements method it perfor...
# getting-started
m
If I don't do the flatmapelements method it performs as the java code. Only the flatmapelements produce errors.
a
Show us the stacktrace of the exception
@marlin The java version that only splits the string works?
m
Yes
a
You could try the following:
.via(SerializableFunction : { word: String -> word.split(" ") })
what is the type of
lines
?
m
PCollection<String!>!
a
is it possible that
lines
contains `null`s?
m
no...
a
does it happen during the creation of
FlatMapElements
or when it is actually applied to
lines
?