Craig, The platform exception comes from deep down the CUCM JTAPI stack. I have to admit that I have not see this particular cause (invalidEnumHandle) and would have to further look at it.
Meanwhile, to keep you going, can you save the logs and try restarting the CTI manager in the CUCM and see if this gets resolved.
Thanks,
Rajesh
Hi all,
We have an app running on CUAE 2.4.3 with a patched JTAPI provider (the change to add JtapiCallId). It was working fine, then we started getting these errors:
2009:02:10::11:12:45.921: Info: JTapiServer @ IpcConnection@127.0.0.1:1392: received message: Register{ CtiManager = (s) xxx.xxx.xxx.xxx, CtiManager = (s) xxx.xxx.xxx.xxx, Username = (s) u, Password = (s) *****, DeviceName = (s) SEP001F9E26D52B, DeviceType = (i) MonitoredDevice, ThirdParty = (i) 1, DynamicRegistration = (i) 0 }
2009:02:10::11:12:45.921: Info: ProviderWrapper( [xxx.xxx.xxx.xxx, xxx.xxx.xxx.xxx], u, ***** ): addListener added device mon-dev( SEP001F9E26D52B )
2009:02:10::11:12:45.921: Info: ProviderWrapper( [xxx.xxx.xxx.xxx, xxx.xxx.xxx.xxx], u, ***** ): looking for provider xxx.xxx.xxx.xxx,xxx.xxx.xxx.xxx;login=u;passwd=*****
2009:02:10::11:13:02.093: Error: JTapiServer @ IpcConnection@127.0.0.1:1392: sending message: Error{ FailReason = (i) GeneralFailure, MessageType = (i) Register, Message = (s) java.lang.Exception: addListener could not open provider xxx.xxx.xxx.xxx,xxx.xxx.xxx.xxx;login=u;passwd=*****: com.cisco.jtapi.PlatformExceptionImpl: Unable to create provider -- Error invalid EnumHandle, Args = (f) { CtiManager = (s) xxx.xxx.xxx.xxx, CtiManager = (s) xxx.xxx.xxx.xxx, Username = (s) u, Password = (s) *****, DeviceName = (s) SEP001F9E26D52B, DeviceType = (i) MonitoredDevice, ThirdParty = (i) 1, DynamicRegistration = (i) 0 } }
java.lang.Exception: addListener could not open provider xxx.xxx.xxx.xxx,xxx.xxx.xxx.xxx;login=u;passwd=*****: com.cisco.jtapi.PlatformExceptionImpl: Unable to create provider -- Error invalid EnumHandle
at metreos.service.jtapi.ProviderWrapper.addListener(Unknown Source)
at metreos.service.jtapi.Device.open(Unknown Source)
at metreos.service.jtapi.DeviceMap.add(Unknown Source)
at metreos.service.jtapi.JTapiServer.registerDevice(Unknown Source)
at metreos.service.jtapi.JTapiServer.doReceived(Unknown Source)
at metreos.service.jtapi.JTapiServer.received(Unknown Source)
at metreos.service.jtapi.JTapiServer.received(Unknown Source)
at metreos.core.ipc.flatmaps.FlatmapIpcListenerAdapter.received(Unknown Source)
at metreos.core.ipc.flatmaps.FlatmapIpcListenerAdapter.received(Unknown Source)
at metreos.core.net.ipc.IpcConnection.fireReceived(Unknown Source)
at metreos.core.net.ipc.IpcConnection.run(Unknown Source)
Caused by: com.cisco.jtapi.PlatformExceptionImpl: Unable to create provider -- Error invalid EnumHandle
at com.cisco.jtapi.CiscoJtapiPeerImpl.getProvider(CTQF)
at metreos.service.jtapi.ProviderFactory.getProvider(Unknown Source)
at metreos.service.jtapi.ProviderWrapper.openProvider(Unknown Source)
... 11 more
Restarting the JTAPI service didn't help. All devices are Enabled Stopped. I see the Java process running, so I don't think it's the old "where's Java?" path problem.
This is running against CUCM 6.1.2.1127-1.
Thanks for any help,
Craig