java.lang.IllegalStateException: The ontology loader must be called from the Event Dispatch Thread

GitHub | johardi | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Unable to open OWL file by double-clicking it in Windows 10

    GitHub | 7 months ago | johardi
    java.lang.IllegalStateException: The ontology loader must be called from the Event Dispatch Thread

    Root Cause Analysis

    1. java.lang.IllegalStateException

      The ontology loader must be called from the Event Dispatch Thread

      at org.protege.editor.owl.model.io.OntologyLoader.loadOntology()
    2. Protege OWL Editor
      OWLEditorKit.handleLoadFrom
      1. org.protege.editor.owl.model.io.OntologyLoader.loadOntology(OntologyLoader.java:52)
      2. org.protege.editor.owl.model.OWLModelManagerImpl.loadOntologyFromPhysicalURI(OWLModelManagerImpl.java:277)
      3. org.protege.editor.owl.OWLEditorKit.handleLoadFrom(OWLEditorKit.java:189)
      3 frames
    3. Protege Editor Core
      ProtegeApplication.lambda$start$15
      1. org.protege.editor.core.ProtegeManager.createAndSetupNewEditorKit(ProtegeManager.java:171)
      2. org.protege.editor.core.ProtegeManager.createAndSetupNewEditorKit(ProtegeManager.java:193)
      3. org.protege.editor.core.ProtegeApplication.createAndSetupDefaultEditorKit(ProtegeApplication.java:506)
      4. org.protege.editor.core.ProtegeApplication.startApplication(ProtegeApplication.java:428)
      5. org.protege.editor.core.ProtegeApplication.reallyStart(ProtegeApplication.java:109)
      6. org.protege.editor.core.ProtegeApplication.lambda$start$15(ProtegeApplication.java:90)
      6 frames