28. marts 2003 - 10:06Der er
9 kommentarer og 1 løsning
Fejl?
Hvad betyder nedenstående meddelelse som jeg får når jeg "kører" min applet i Sun Studio??
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.jdbc.rowset) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:270) at java.security.AccessController.checkPermission(AccessController.java:401) at java.lang.SecurityManager.checkPermission(SecurityManager.java:542) at java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1513) at sun.applet.AppletSecurity.checkPackageAccess(AppletSecurity.java:200) at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:109) at java.lang.ClassLoader.loadClass(ClassLoader.java:262) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:509) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:146) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:112) at java.lang.ClassLoader.loadClass(ClassLoader.java:262) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322) at MyApplet.initComponents(MyApplet.java:29) at MyApplet.init(MyApplet.java:19) at sun.applet.AppletPanel.run(AppletPanel.java:341) at java.lang.Thread.run(Thread.java:536)
Error: Null driver specified. java.sql.SQLException: Invalid State at sun.jdbc.rowset.JdbcRowSet.checkState(JdbcRowSet.java:183) at sun.jdbc.rowset.JdbcRowSet.getMetaData(JdbcRowSet.java:1227) at org.netbeans.lib.sql.models.ComboBoxModel.refreshComboBox(ComboBoxModel.java:382) at org.netbeans.lib.sql.models.ComboBoxModel.init(ComboBoxModel.java:364) at org.netbeans.lib.sql.models.ComboBoxModel.<init>(ComboBoxModel.java:154) at org.netbeans.lib.sql.models.ComboBoxModel.<init>(ComboBoxModel.java:84) at MyApplet.initComponents(MyApplet.java:47) at MyApplet.init(MyApplet.java:19) at sun.applet.AppletPanel.run(AppletPanel.java:341) at java.lang.Thread.run(Thread.java:536) java.sql.SQLException: Invalid State at sun.jdbc.rowset.JdbcRowSet.checkState(JdbcRowSet.java:183) at sun.jdbc.rowset.JdbcRowSet.getMetaData(JdbcRowSet.java:1227) at org.netbeans.lib.sql.models.ComboBoxModel.refreshComboBox(ComboBoxModel.java:382) at org.netbeans.lib.sql.models.ComboBoxModel.init(ComboBoxModel.java:364) at org.netbeans.lib.sql.models.ComboBoxModel.<init>(ComboBoxModel.java:154) at org.netbeans.lib.sql.models.ComboBoxModel.<init>(ComboBoxModel.java:84) at MyApplet.initComponents(MyApplet.java:56) at MyApplet.init(MyApplet.java:19) at sun.applet.AppletPanel.run(AppletPanel.java:341) at java.lang.Thread.run(Thread.java:536)
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.