We have below overridden functions in java
MailboxUtils.GetMailboxWithUIMap = function(p0, p1, p2, callback) {
DWREngine._execute(MailboxUtils._path, 'MailboxUtils', 'GetMailboxWithUIMap', p0, p1, p2, callback);
}
MailboxUtils.GetMailboxWithUIMap = function(p0, p1, callback) {
DWREngine._execute(MailboxUtils._path, 'MailboxUtils', 'GetMailboxWithUIMap', p0, p1, callback);
}
For some strange reason when tomcat server is started and the program executes, it calls the function with 4 arguments ie function(p0, p1, p2, callback)
even though we have passed in only 3 arguments. Then if we restart tomcat server, the system starts behaving normally and starts calling the right function ie function(p0, p1, callback)
. This seems to be very random and the only way to fix it is to restart Tomcat many times until the problem gets resolved.
Has anyone seen this kind of problem before? ANy way we can fix this?