[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SecurityException and objectsOfClass question
Hello,
I have two questions relating the ozone 0.3.2. I couldnt work with the 0.4
cause I have the same problems like Marek. I'm working on Windows98 using JDK
1.3 RC2.
If I open a dialog frame on my parent frame and just pass a panel that
references some OzoneRemote objects, I always got a security exception:
java.lang.SecurityException
at org.ozoneDB.core.OzoneSecurityManager.checkTopLevelWindow(OzoneSecuri
tyManager.java:135)
at java.awt.Window.setWarningString(Unknown Source)
at java.awt.Window.<init>(Unknown Source)
at java.awt.Frame.<init>(Unknown Source)
at java.awt.Frame.<init>(Unknown Source)
at javax.swing.SwingUtilities$1.<init>(Unknown Source)
at javax.swing.SwingUtilities.getSharedOwnerFrame(Unknown Source)
at javax.swing.JDialog.<init>(Unknown Source)
at javax.swing.JDialog.<init>(Unknown Source)
The other problem is, that "objectsOfClass()" ALWAYS returns null. I tried the
following:
OzoneProxy[] proxy
= this.db.objectsOfClass( className );
(db is a LocalDataBase)
Has someone an idea?
Regards
Stefan Heller
--
mendelson-e-commerce GmbH
Brandenburgische Str. 38, D-10707 Berlin, Germany
phone: +49 30 89 09 10 22 fax: +49 30 89 09 10 19
http://www.mendelson.de/
Home of m-e-c eagle - Opensource B2B integration tool based on XML/XSL