Someone threw an AccException with the HR: UNKNOWNVALUE com.aol.acc.AccException: IAccIm_GetConvertedText at com.aol.acc.AccIm.getConvertedText(AccIm.java:79) at AIMSession.OnImReceived(AIMSession.java:124)
this is from my source file:
public void OnImReceived(AccSession session, AccImSession imSession, AccParticipant participant, AccIm im) {
try {
String resp = "";
String user = participant.getName();
String msg = im.getConvertedText("text/plain");
msg = msg.trim();
resp = "something";
if (running && resp != "") {
im.setText(resp);
imSession.sendIm(im);
form.log("<" + handle + ":" + user + "> " + resp);
}
} catch (AccException e) {
System.out.println("Someone threw an AccException with the HR: "+e.errorCode);
e.printStackTrace();
}
}
line 124 from the error message is:
String msg = im.getConvertedText("text/plain");
Please help. The program signs online on ubuntu which is a good sign. I'm really not sure what is causing the error though.
