Null pointer exception
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2023 09:29 PM
: java.lang.NullPointerException: com.glide.glideobject.GlideDateTime.addSeconds(GlideDateTime.java:1640)
any idea.. not coming up always. sometimes error sometimes Fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2023 09:31 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2023 09:42 PM
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.