I don't know if it matches your problem exactly, but there seems to be an IE7/JRE interation bug that gives this error when running applets - see the Java Bug Database : 6694620 - a suggested workaround is described at the end of the comments.

In theory, there is no difference between theory and practice, but not in practice...
Anon.