Intermittently CTI ScreenPop disappears for an inbound call
SummaryIntermittently CTI ScreenPop was not appearing while placing an inbound call via CISCO ACD system in PRPC 6.3 SP2. The Softphone UI was showing a blinking red button on line 1 representing the alerting event however the ScreenPop window was not displayed. Inbound call times-out and gets re-routed back to ACD server. PegaCALL client was a Java Applet running on Windows XP, IE 7 and Java 1.5.
Error MessagesError message in CTI Applet log file: [9 9 2014 10:35:27.919] <ERROR> [SocketHandler.readMessage] The number of bytes on the socket connection was not enough to read the complete message. Bytes Excepted  bytes read 
Steps to ReproducePlace an inbound call and sometimes the ScreenPop will not render.
Root CauseThe root cause of this problem was due to network latency.
ResolutionHFix-10003 was provided to address the reported issue. As part of HFix-10003, Applet would be modified to use DataInputStream.readFully() instead of DataInputStream.read(). Using the readFully API makes sure the whole message was read even when the messages were sent in multiple packets or during network latency.