[bv-dev] java.io.NotSerializableException: com.sun.el.ExpressionFactoryImpl

James Todd james.w.todd at gmail.com
Wed Apr 1 00:11:06 EDT 2020


Hi -

  I am running Jakarta Bean Validation 6.1.2 under Apache Flink and running
into the included "Caused by: java.io.NotSerializableException:
com.sun.el.ExpressionFactoryImpl" error.

  Here are the gradle deps:

      compile 'org.hibernate.validator:hibernate-validator:6.1.2.Final'
      compile 'org.glassfish:jakarta.el:3.0.3'

  Thoughts?

  thx,

- james






org.apache.flink.api.common.InvalidProgramException:
com.sun.el.ExpressionFactoryImpl at 7ca33c24 is not serializable. The object
probably contains or references non serializable fields.
at org.apache.flink.api.java.ClosureCleaner.clean(ClosureCleaner.java:151)
at org.apache.flink.api.java.ClosureCleaner.clean(ClosureCleaner.java:126)
at org.apache.flink.api.java.ClosureCleaner.clean(ClosureCleaner.java:126)
at org.apache.flink.api.java.ClosureCleaner.clean(ClosureCleaner.java:126)
at org.apache.flink.api.java.ClosureCleaner.clean(ClosureCleaner.java:126)
at org.apache.flink.api.java.ClosureCleaner.clean(ClosureCleaner.java:71)
at
org.apache.flink.streaming.api.environment.StreamExecutionEnvironment.clean(StreamExecutionEnvironment.java:1821)
at
org.apache.flink.streaming.api.datastream.DataStream.clean(DataStream.java:188)
at
org.apache.flink.streaming.api.datastream.DataStream.map(DataStream.java:590)
at com.lacuna.data.mds.EventProcessor.main(EventProcessor.java:49)
Caused by: java.io.NotSerializableException:
com.sun.el.ExpressionFactoryImpl
at
java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1185)
at
java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:349)
WARNING: An illegal reflective access operation has occurred
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/beanvalidation-dev/attachments/20200331/f05130ca/attachment.html 


More information about the beanvalidation-dev mailing list