|
|
|
Brice Sommacal
|
Hi everyone,
I was trying to import an ontology when P3.4.1 returns me this following error... Could you please explain to me what's happening there? It seems that Protégé try to parse a DefaultOWLDataRange to a model.cls... Thanks in advance fo any kind of hints you could share with me, Regards, Brice Sommacal Importing http://www.owl-ontologies.com/Ontology1245248546.owl from location: D: \ProjetsProtege\PDMLink\Ontology\PDMLink9.1OntologyGeneral.rdf-xml.owl Loading triples from: http://www.owl-ontologies.com/Ontology1245248546.owl Completed triple loading after 94 ms Postprocess: Process entities with incorrect Java type (9 entities) ... 0 ms Postprocess: Process metaclasses (3 metaclasses) ... 0 ms Postprocess: Process subclasses of rdf:List (1 classes) ... 0 ms Postprocess: Instances with multiple types (105 instances) ... SEVERE: Could not create class: FrameID(@UA12_da3443c9_20fe_40da_a8fe_6a5d25be7e4f) of Java type: DefaultOWLDataRange -- java.lang.ClassCastException: edu.stanford.smi.protegex. owl.model.impl.DefaultOWLDataRange cannot be cast to edu.stanford.smi.protege.mo del.Cls at edu.stanford.smi.protegex.owl.model.factory.OWLJavaFactory.createCls( Unknown Source) at edu.stanford.smi.protegex.owl.model.factory.OWLJavaFactory.createCls( Unknown Source) at edu.stanford.smi.protege.model.framestore.SimpleFrameStore.swizzleIns tance(Unknown Source) at edu.stanford.smi.protegex.owl.jena.parser.TriplePostProcessor.adjustT ypesOfInstance(Unknown Source) at edu.stanford.smi.protegex.owl.jena.parser.TriplePostProcessor.process InstancesWithMultipleTypes(Unknown Source) at edu.stanford.smi.protegex.owl.jena.parser.TriplePostProcessor.doPostP rocessing(Unknown Source) at edu.stanford.smi.protegex.owl.jena.parser.TripleProcessor.doPostProce ssing(Unknown Source) at edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.doFinalPos tProcessing(Unknown Source) at edu.stanford.smi.protegex.owl.model.util.ImportHelper.importOntologie s(Unknown Source) at edu.stanford.smi.protegex.owl.model.util.ImportHelper.importOntologie s(Unknown Source) at edu.stanford.smi.protegex.owl.ui.importstree.ImportsTreePanel.addImpo rt(Unknown Source) at edu.stanford.smi.protegex.owl.ui.importstree.ImportsTreePanel.access$ 100(Unknown Source) at edu.stanford.smi.protegex.owl.ui.importstree.ImportsTreePanel$2.actio nPerformed(Unknown Source) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour ce) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) 125 ms Postprocess: Add inferred superclasses ... 0 ms Postprocess: Process orphan classes (233 classes) ... Error at computing orphan classes. Error message: edu.stanford.smi.protegex.owl.model.impl.DefaultRDFList cannot be cast to edu.stanford.smi.protege.model.Cls -- java.lang.ClassCastExcep tion: edu.stanford.smi.protegex.owl.model.impl.DefaultRDFList cannot be cast to edu.stanford.smi.protege.model.Cls at edu.stanford.smi.protegex.owl.jena.parser.TriplePostProcessor$1.getR( Unknown Source) at edu.stanford.smi.protegex.owl.jena.parser.TriplePostProcessor$1.getR( Unknown Source) at org.protege.editor.owl.model.hierarchy.roots.TerminalElementFinder.bu ildEquivalenceMapping(TerminalElementFinder.java:125) at org.protege.editor.owl.model.hierarchy.roots.TerminalElementFinder.ap pendTerminalElements(TerminalElementFinder.java:100) at edu.stanford.smi.protegex.owl.jena.parser.TriplePostProcessor.process OrphanClses(Unknown Source) at edu.stanford.smi.protegex.owl.jena.parser.TriplePostProcessor.doPostP rocessing(Unknown Source) at edu.stanford.smi.protegex.owl.jena.parser.TripleProcessor.doPostProce ssing(Unknown Source) at edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.doFinalPos tProcessing(Unknown Source) at edu.stanford.smi.protegex.owl.model.util.ImportHelper.importOntologie s(Unknown Source) at edu.stanford.smi.protegex.owl.model.util.ImportHelper.importOntologie s(Unknown Source) at edu.stanford.smi.protegex.owl.ui.importstree.ImportsTreePanel.addImpo rt(Unknown Source) at edu.stanford.smi.protegex.owl.ui.importstree.ImportsTreePanel.access$ 100(Unknown Source) at edu.stanford.smi.protegex.owl.ui.importstree.ImportsTreePanel$2.actio nPerformed(Unknown Source) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour ce) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) 125 ms Postprocess: Generalized Concept Inclusion (0 axioms) ... 0 ms Postprocess: Abstract classes... 0 ms Postprocess: Domain and range of properties... 1454 ms Postprocess: Possibly typed entities (0 resources) ... 0 ms _______________________________________________ protege-owl mailing list [hidden email] https://mailman.stanford.edu/mailman/listinfo/protege-owl Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 |
||||||||||||||||
| Free Embeddable Forum Powered by Nabble | Help |