[armedbear-devel] integrating abcl into Protege
Alan Ruttenberg
alanruttenberg at gmail.com
Wed Mar 10 20:14:27 UTC 2010
Protege is an ontology development tool. I'm interested in using abcl
to develop plugins and TIm Redmond was kind enough to have a stab at
doing a first pass integration, but ran into trouble. I wonder if his
report makes rings a bell?
-Alan
---------- Forwarded message ----------
From: Timothy Redmond <tredmond at stanford.edu>
Date: Wed, Mar 10, 2010 at 2:12 PM
Subject: [POSSIBLE VIRUS:###] Re: further on common lisp integration
To: Alan Ruttenberg <alanruttenberg at gmail.com>
There is something of a difficulty in using this library. It is doing
some funky stuff with urls and class loaders and this doesn't work with
Protege. Probably could be made to work by making some changes to the
abcl sources. In particular it seems to detect that it is loading
through the class loader if the prefix begins with jar which is not a
correct assumption in general.
But here is a start if you want to debug a bit more.
-Timothy
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:114)
at java.util.zip.ZipFile.<init>(ZipFile.java:75)
at org.armedbear.lisp.ZipCache.getZip(ZipCache.java:54)
at org.armedbear.lisp.Lisp.readFunctionBytes(Lisp.java:1305)
at org.armedbear.lisp.AutoloadedFunctionProxy$2.execute(AutoloadedFunctionProxy.java:307)
at org.armedbear.lisp.LispThread.execute(LispThread.java:562)
at org.armedbear.lisp.Lisp.evalCall(Lisp.java:494)
at org.armedbear.lisp.Lisp.eval(Lisp.java:459)
at org.armedbear.lisp.Lisp.processTagBody(Lisp.java:767)
at org.armedbear.lisp.dotimes.execute(dotimes.java:105)
at org.armedbear.lisp.Lisp.eval(Lisp.java:449)
at org.armedbear.lisp.Load.faslLoadStream(Load.java:628)
at org.armedbear.lisp.Load.access$100(Load.java:70)
at org.armedbear.lisp.Load$1.execute(Load.java:485)
at org.armedbear.lisp.LispThread.execute(LispThread.java:579)
at org.armedbear.lisp.Lisp.evalCall(Lisp.java:501)
at org.armedbear.lisp.Lisp.eval(Lisp.java:459)
at org.armedbear.lisp.Load.loadStream(Load.java:593)
at org.armedbear.lisp.Load.loadFileFromStream(Load.java:556)
at org.armedbear.lisp.Load.loadFileFromStream(Load.java:499)
at org.armedbear.lisp.Load.loadSystemFile(Load.java:415)
at org.armedbear.lisp.Load$4.execute(Load.java:774)
at org.armedbear.lisp.LispThread.execute(LispThread.java:562)
at org.armedbear.lisp.Lisp.evalCall(Lisp.java:494)
at org.armedbear.lisp.Lisp.eval(Lisp.java:459)
at org.armedbear.lisp.Load.loadStream(Load.java:593)
at org.armedbear.lisp.Load.loadFileFromStream(Load.java:556)
at org.armedbear.lisp.Load.loadFileFromStream(Load.java:499)
at org.armedbear.lisp.Load.loadSystemFile(Load.java:415)
at org.armedbear.lisp.Interpreter.initializeLisp(Interpreter.java:158)
at org.armedbear.lisp.Interpreter.createInstance(Interpreter.java:69)
at org.sciencecommons.protege.lisp.LispContext.<init>(LispContext.java:14)
at org.sciencecommons.protege.lisp.LispContext.getInstance(LispContext.java:20)
at org.sciencecommons.protege.lisp.Activator.start(Activator.java:13)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:639)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:902)
at org.protege.editor.core.BundleManager.startPlugins(BundleManager.java:110)
at org.protege.editor.core.BundleManager.loadPlugins(BundleManager.java:41)
at org.protege.editor.core.ProtegeApplication.loadPlugins(ProtegeApplication.java:277)
at org.protege.editor.core.ProtegeApplication.initApplication(ProtegeApplication.java:171)
at org.protege.editor.core.ProtegeApplication.start(ProtegeApplication.java:113)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:639)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Thread.java:619)
java.lang.Error
at org.armedbear.lisp.Primitives$70.execute(Primitives.java:1462)
at org.armedbear.lisp.Primitive.execute(Primitive.java:108)
at org.armedbear.lisp.Symbol.execute(Symbol.java:770)
at org.armedbear.lisp.Lisp.error(Lisp.java:354)
at org.armedbear.lisp.Lisp.readFunctionBytes(Lisp.java:1329)
at org.armedbear.lisp.AutoloadedFunctionProxy$2.execute(AutoloadedFunctionProxy.java:307)
at org.armedbear.lisp.LispThread.execute(LispThread.java:562)
at org.armedbear.lisp.Lisp.evalCall(Lisp.java:494)
at org.armedbear.lisp.Lisp.eval(Lisp.java:459)
at org.armedbear.lisp.Lisp.processTagBody(Lisp.java:767)
at org.armedbear.lisp.dotimes.execute(dotimes.java:105)
at org.armedbear.lisp.Lisp.eval(Lisp.java:449)
at org.armedbear.lisp.Load.faslLoadStream(Load.java:628)
at org.armedbear.lisp.Load.access$100(Load.java:70)
at org.armedbear.lisp.Load$1.execute(Load.java:485)
at org.armedbear.lisp.LispThread.execute(LispThread.java:579)
at org.armedbear.lisp.Lisp.evalCall(Lisp.java:501)
at org.armedbear.lisp.Lisp.eval(Lisp.java:459)
at org.armedbear.lisp.Load.loadStream(Load.java:593)
at org.armedbear.lisp.Load.loadFileFromStream(Load.java:556)
at org.armedbear.lisp.Load.loadFileFromStream(Load.java:499)
at org.armedbear.lisp.Load.loadSystemFile(Load.java:415)
at org.armedbear.lisp.Load$4.execute(Load.java:774)
at org.armedbear.lisp.LispThread.execute(LispThread.java:562)
at org.armedbear.lisp.Lisp.evalCall(Lisp.java:494)
at org.armedbear.lisp.Lisp.eval(Lisp.java:459)
at org.armedbear.lisp.Load.loadStream(Load.java:593)
at org.armedbear.lisp.Load.loadFileFromStream(Load.java:556)
at org.armedbear.lisp.Load.loadFileFromStream(Load.java:499)
at org.armedbear.lisp.Load.loadSystemFile(Load.java:415)
at org.armedbear.lisp.Interpreter.initializeLisp(Interpreter.java:158)
at org.armedbear.lisp.Interpreter.createInstance(Interpreter.java:69)
at org.sciencecommons.protege.lisp.LispContext.<init>(LispContext.java:14)
at org.sciencecommons.protege.lisp.LispContext.getInstance(LispContext.java:20)
at org.sciencecommons.protege.lisp.Activator.start(Activator.java:13)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:639)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:902)
at org.protege.editor.core.BundleManager.startPlugins(BundleManager.java:110)
at org.protege.editor.core.BundleManager.loadPlugins(BundleManager.java:41)
at org.protege.editor.core.ProtegeApplication.loadPlugins(ProtegeApplication.java:277)
at org.protege.editor.core.ProtegeApplication.initApplication(ProtegeApplication.java:171)
at org.protege.editor.core.ProtegeApplication.start(ProtegeApplication.java:113)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:639)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Thread.java:619)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plugin.zip
Type: application/zip
Size: 5430838 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/armedbear-devel/attachments/20100310/8a13223e/attachment.zip>
More information about the armedbear-devel
mailing list