VisualDataWeb / WebVOWL

Visualizing ontologies on the Web
http://vowl.visualdataweb.org/webvowl.html
MIT License
741 stars 214 forks source link

Failed to load ontology Ontology #174

Open celiakessi opened 4 years ago

celiakessi commented 4 years ago

hi, so i'am working on a project in eclipse using Unbbayes.gui.mebn.ontology.protege , while i'am trying to load my ubf file , this window appear win this message in console , java.lang.IllegalArgumentException: Failed to load ontology /****/ Ontology(http://www.semanticweb.org/msi/ontologies/2020/7/fuitemodif.owlhttp://www.semanticweb.org/msi/ontologies/2020/7/fuitemodif.owl [Axioms: 442] [Logical axioms: 390]) at unbbayes.io.mebn.owlapi.OWLAPICompatiblePROWL2IO.loadMEBNFromOntology(OWLAPICompatiblePROWL2IO.java:414) at unbbayes.io.mebn.owlapi.OWLAPICompatiblePROWLIO.loadMebn(OWLAPICompatiblePROWLIO.java:303) at unbbayes.io.mebn.protege.Protege41CompatiblePROWL2IO.loadMebn(Protege41CompatiblePROWL2IO.java:120) at unbbayes.io.mebn.UbfIO2.loadMebn(UbfIO2.java:228) at unbbayes.io.mebn.UbfIO.load(UbfIO.java:715) at unbbayes.gui.mebn.MEBNNetworkWindow.openFile(MEBNNetworkWindow.java:425) at unbbayes.controller.MainController.loadNet(MainController.java:235) at unbbayes.gui.UnBBayesFrame$OpenFileUsingModulesActionListener.actionPerformed(UnBBayesFrame.java:2341) 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.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.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.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(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) Caused by: unbbayes.io.mebn.exceptions.IOMebnException: This MTheory does not contain such generative input node.: Input = http://www.semanticweb.org/msi/ontologies/2020/7/fuitemodif.owl#IX5 at unbbayes.io.mebn.owlapi.OWLAPICompatiblePROWL2IO.loadGenerativeInputNode(OWLAPICompatiblePROWL2IO.java:1445) at unbbayes.io.mebn.owlapi.OWLAPICompatiblePROWL2IO.loadMEBNFromOntology(OWLAPICompatiblePROWL2IO.java:386) ... 45 more java.io.IOException: Failed to load ontology Ontology(http://www.semanticweb.org/msi/ontologies/2020/7/fuitemodif.owlhttp://www.semanticweb.org/msi/ontologies/2020/7/fuitemodif.owl [Axioms: 442] [Logical axioms: 390]) : File contains invalid pr-owl format at unbbayes.io.mebn.UbfIO2.loadMebn(UbfIO2.java:232) at unbbayes.io.mebn.UbfIO.load(UbfIO.java:715) at unbbayes.gui.mebn.MEBNNetworkWindow.openFile(MEBNNetworkWindow.java:425) at unbbayes.controller.MainController.loadNet(MainController.java:235) at unbbayes.gui.UnBBayesFrame$OpenFileUsingModulesActionListener.actionPerformed(UnBBayesFrame.java:2341) 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.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.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.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(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) [DEBUG] class unbbayes.gui.UnBBayesFrame$OpenFileUsingModulesActionListener: Could not load Bayesian Network [DEBUG] java.io.IOException /****/ errorr

i hope i'll hadd dsome help thenk you