Hi all, I am uisng Java EWS Managed API 1.1.3 with Exchange 2007 SP 1 and I am trying to delete a recurring meeting by binding to the master id as follows:
Appointment meeting = Appointment.bind(service, new ItemId(masterIDstr));
I get the following null pointer exception:
I double checked that the masterIDstr is valid. Any ideas?
- Edited by PythonCoder5 Friday, February 17, 2012 9:31 PM
I also had a similar issue. http://social.technet.microsoft.com/Forums/en-US/exchangesvrdevelopment/thread/484bb22d-1c40-4a5d-ad8e-564fdf8f568e/.
But this is solved in the release 1.1.3. Now everything works fine for me.
Are you getting this exception in a stand alone application or is it happening in a web application?
From the code, it seems to me that Thread.currentThread().getContextClassLoader().getResource("microsoft/exchange/webservices/data/Strings.properties") is returning null.
You could actually verify that Strings.properties file is present in the EWSAPI-1.1.5.jar in the package "microsoft/exchange/webservices/data".
Just an FYI - I found the Strings.properties is in the root folder of the extracted EWS toolkit.
I added the properties file to the microsoft.exchange.webservices.data package and the NullPointerException went away
- Edited by Cary Bran Saturday, June 09, 2012 1:33 AM