Internet Explorer giving Java error Instantiation Exception in frames only
Posted on 2009-04-23
I have a java application running on a JBOSS server, and a page on my website containing an iframe referencing this application.
While viewing in IE7/8, I get the following error message:
After clicking 'ok' and refreshing, the everything is fine.
Also, if you go straight to the application (not through the iframe on my website) no error comes up.
Neither Firefox or Opera have any problems.
I have read that this error is caused by lack of constructor, but I think it's more likely the file I'm using in the application is using depreciated values.
(I say this because I tried adding a constructor at the only point in the file where I thought it might have been lacking, and recompiling, but it gave errors. When recompiling as-is, the file just gives warnings re depreciated somethings.)
I'm not familiar with Java though, so I'd rather leave the file alone (if it is indeed the problem) and find another way to get the error away, if possible!
Thanks in advance!