Uncaught exception: Static initializer: java/lang/SecurityException

So i'm trying to compile some code of a small game for Doja.

The code compiles fine but when i load it in the emulator i get the following eror:

Uncaught exception java/lang/Error: Static initializer: java/lang/SecurityException.

Now i haven't seen that before. I looked into it and first i thought there must be some static initializer block in some class but there isn't.

Now i'm kinda stumped. What else can be the problem?

[461 byte] By [eversora] at [2007-10-3 7:44:23]
# 1
Try loading one class at a time until you find the one that fails. Then post the source for that class here.
cotton.ma at 2007-7-15 2:45:37 > top of Java-index,Java Essentials,Java Programming...
# 2

A security exception is usually thrown when you try to use some function of the API that you're not allowed to use.

For example, if the user has not given your application permission to connect to the internet, but you try to do so.

Sometimes this error can be resolved by turning on the appropriate option in the ADF file.

Cheers,

Sam

mobiledevlab.coma at 2007-7-15 2:45:37 > top of Java-index,Java Essentials,Java Programming...
# 3
Didn't expect another reply.I don't even recall exactly how i solved it. I believe it had something to do with Doja 1.5 and 2.5 differences.But thanks for the reply
eversora at 2007-7-15 2:45:37 > top of Java-index,Java Essentials,Java Programming...
# 4
FYI, I think this place probably isnt the best forum for DoJa questions (since DoJa isnt made by Sun)The forums I use are the DoJa Developer Network: https://www.doja-developer.net/phpbbforums/and the Mobile Developer Lab: http://mobiledevlab.com
mobiledevlab.coma at 2007-7-15 2:45:37 > top of Java-index,Java Essentials,Java Programming...