Quantcast
Channel: Aspose.Email Product Family
Viewing all articles
Browse latest Browse all 1367

java.lang.NullPointerException adding calendar events to the PST

$
0
0

Hi,

When the event looks like the below one:


BEGIN:VEVENT

DTSTAMP:20150617T230527Z

UID:

SUMMARY:

STATUS:CANCELLED

DESCRIPTION:

END:VEVENT


The Appointment.load cause to the exception:

java.lang.NullPointerException

at com.aspose.email.Appointment.a(Unknown Source)

at com.aspose.email.Appointment.b(Unknown Source)

at com.aspose.email.Appointment.load(Unknown Source)


I don't think that NullPointerException in this case is a suitable exception (if at all in such case need to thrown an exception).


Please advise.

Thanks


Viewing all articles
Browse latest Browse all 1367