Description
For example,
ExprNodeConstantDesc constant = new ExprNodeConstantDesc(TypeInfoFactory.timestampTypeInfo, new Timestamp(100)); String serialized = Utilities.serializeExpression(constant); ExprNodeConstantDesc deserilized = (ExprNodeConstantDesc) Utilities.deserializeExpression(serialized, new Configuration());
logs error message
java.lang.InstantiationException: java.sql.Timestamp Continuing ... java.lang.RuntimeException: failed to evaluate: <unbound>=Class.new(); Continuing ...
and makes NPE in final.