Null pointer exception

Priya123
Tera Contributor

: java.lang.NullPointerException: com.glide.glideobject.GlideDateTime.addSeconds(GlideDateTime.java:1640) 

any idea.. not coming up always. sometimes error sometimes Fine. 

2 REPLIES 2

Priya123
Tera Contributor

com.glide.db.impex.transformer.TransformCoercionException: Unable to format using format string yyyy-MM-dd HH:mm:ss for field approval_set  ---> also this exception 

Anand Kumar P
Giga Patron
Giga Patron

Hi @Priya123 ,

java.lang.NullPointerException, indicates that your Java code encountered a NullPointerException. In this specific case, the error occurred in the addSeconds method of the GlideDateTime you're trying to access or perform an operation on an object that is null.

Ensure that the approval_set field contains valid date and time values. It should be in a format that matches the "yyyy-MM-dd HH:mm:ss" format string.

Please mark it as helpful and solution proposed if its serves your purpose.

Thanks,

Anand.