Re: [Dev] [dev] Getting a Null Pointer Exception when enrolling a device in mdm

2015-04-06 Thread Thusitha Thilina Dayaratne
Hi Sameera, Have u already registered a DeviceManagementService service? Thanks /Thusitha On Mon, Apr 6, 2015 at 2:22 PM, Sameera Gunarathne wrote: > Hi, > > I am getting a Null Pointer Exception when enrolling a device using > following getDeviceManagementService() method. > > public stat

[Dev] [dev] Getting a Null Pointer Exception when enrolling a device in mdm

2015-04-06 Thread Sameera Gunarathne
Hi, I am getting a Null Pointer Exception when enrolling a device using following getDeviceManagementService() method. public static DeviceManagementService getDeviceManagementService() { try { DeviceManagementService deviceManagementService; PrivilegedCarbonCo