Re: exceptions: JESS,Protege,Applet : Help me please
Hello
I apologize, maybe I was not precise enough in my first message: the version of protege that I use is protege3.1.1 the JessTab12 and Jess70p2.
when I run my applet in HTML,the applet is loaded but with an empty combobox and I get the following exceptions
Jess reported an error in routine import
while executing (import java.lang.Boolean).
Message: Error during execution.
Program text: ( import java.lang.Boolean ) at line 88.
at jess.Funcall.execute(Unknown Source)
at jess.Jesp.a(Unknown Source)
at jess.Jesp.parseExpression(Unknown Source)
at jess.Jesp.promptAndParseOneExpression(Unknown Source)
at jess.Jesp.parse(Unknown Source)
at jess.Batch.batch(Unknown Source)
at jess.Batch.batch(Unknown Source)
at jess.Batch.batch(Unknown Source)
at jess.Rete.batch(Unknown Source)
at jess.Rete.goto(Unknown Source)
at jess.Rete.<init>(Unknown Source)
at jess.Rete.<init>(Unknown Source)
at jess.Rete.<init>(Unknown Source)
at app.init(app.java:29)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.security.AccessControlException: access denied (java.lang.reflect.ReflectPermission suppressAccessChecks)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.reflect.AccessibleObject.setAccessible(Unknown Source)
at jess.bg.<init>(Unknown Source)
at jess.ap.<init>(Unknown Source)
at jess.am.a(Unknown Source)
at jess.am.a(Unknown Source)
at jess.dd.new(Unknown Source)
at jess.Rete.importClass(Unknown Source)
at jess.di.call(Unknown Source)
at jess.ab.a(Unknown Source)
... 16 more
JGoodies Looks: Can't read the System property netbeans.buildnumber.
JGoodies Looks: Can't read the System property Plastic.tabStyle.
JGoodies Looks: Can't read the System property Plastic.highContrastFocus.
JGoodies Looks: Can't read the System property Plastic.defaultTheme.
4 mai 2008 19:18:29 edu.stanford.smi.protege.plugin.PluginUtilities findPluginsDirectory
WARNING: Application directory not specified
4 mai 2008 19:18:30 edu.stanford.smi.protege.resource.BundleHelper <init>
WARNING: missing bundle: protege_text
JessTab: Note that the PAL engine is not currently installed in Protege.
(The JessTab PAL-integration functions are not available.)
4 mai 2008 19:18:31 edu.stanford.smi.protege.util.URIUtilities createURIFromFileString
SEVERE: java.security.AccessControlException: access denied (java.util.PropertyPermission user.dir read)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
at java.lang.System.getProperty(Unknown Source)
at java.io.Win32FileSystem.getUserPath(Unknown Source)
at java.io.Win32FileSystem.resolve(Unknown Source)
at java.io.File.getAbsolutePath(Unknown Source)
at java.io.File.getAbsoluteFile(Unknown Source)
at java.io.File.toURI(Unknown Source)
at edu.stanford.smi.protege.util.URIUtilities.createURIFromFileString(Unknown Source)
at edu.stanford.smi.protege.util.URIUtilities.createURI(Unknown Source)
at edu.stanford.smi.protege.model.Project.<init>(Unknown Source)
at JessTab.ProtegeLoadProject.call(JessTabFunctions.java:2985)
at jess.ab.a(Unknown Source)
at jess.Funcall.execute(Unknown Source)
at jess.Jesp.a(Unknown Source)
at jess.Jesp.parseExpression(Unknown Source)
at jess.Jesp.promptAndParseOneExpression(Unknown Source)
at jess.Jesp.parse(Unknown Source)
at jess.Rete.eval(Unknown Source)
at jess.Rete.executeCommand(Unknown Source)
at app.init(app.java:31)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Jess reported an error in routine mapclass
while executing (mapclass person).
Message: Protege class not found: person.
Program text: ( mapclass person ) at line 4.
at JessTab.JessTabFunctions.valueToCls(JessTabFunctions.java:543)
at JessTab.ProtegeMapClass.call(JessTabFunctions.java:1523)
at jess.ab.a(Unknown Source)
at jess.Funcall.execute(Unknown Source)
at jess.Jesp.a(Unknown Source)
at jess.Jesp.parseExpression(Unknown Source)
at jess.Jesp.promptAndParseOneExpression(Unknown Source)
at jess.Jesp.parse(Unknown Source)
at jess.Batch.batch(Unknown Source)
at jess.Batch.batch(Unknown Source)
at jess.Batch.batch(Unknown Source)
at jess.Rete.batch(Unknown Source)
at app.init(app.java:32)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
JGoodies Looks: Can't read the System property ClearLook.mode.
JGoodies Looks: Can't read the System property ClearLook.policy.
thank you in advance