Link to home
Start Free TrialLog in
Avatar of milan_novkovic
milan_novkovicFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Appllet crashes IE with Java1 RTE. IE with Java2 works fine

Some Java2 RTEs look dodgy as well.
Any Ideas.

Cheers,
Milan
SOLUTION
Avatar of petmagdy
petmagdy
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of milan_novkovic

ASKER

Normaly, in the past, if I was using Java2 class of method I would get exception but IE would not crash.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
It is happening on Java1 RTE machines. Program is very complex and has multiple threads.
It start but as I start clicking aroudn it crashes the browser.
If I start IE from command prompt there are no messages.
There are no messages in event viewer either.
I traced my problem to:

while(...)
   ...
   try {
      ....
      if (...) {
         continue;
      }
    }
    catch   ....

When I took "if" and "continue" out of "try" browser stopped crashing.
I know I am superficial Java guy and should go for books but I would rather give you points for an explanation.

Avatar of Mick Barry
can u post the rest of the loop
The rest is non-eventful (no java2 classes or methods). As code belongs to one of my
programmers and I just helped with the debugging I'll post it later when he gets in.
Our client corrects me now and says that he is using 1.4.2_6