#1182 Java Exception

Windows
open-wont-fix
nobody
OBO-Edit (934)
5
2012-07-09
2012-07-09
Gerhard Mayer
No

Load Error, line 55 Unrecognized type unit_of
org.obo.dataadapter.DefaultOBOParser.endParse(DefaultOBOParser.java:1295)
org.obo.dataadapter.AbstractParseEngine.parse(AbstractParseEngine.java:74)
org.obo.dataadapter.OBOFileAdapter.doOperation(OBOFileAdapter.java:270)
org.bbop.dataadapter.DataAdapterOperationTask.execute(DataAdapterOperationTask.java:43)
org.bbop.util.AbstractTaskDelegate.run(AbstractTaskDelegate.java:60)
org.bbop.swing.BackgroundEventQueue$BackgroundEventThread.executeTask(BackgroundEventQueue.java:137)
org.bbop.swing.BackgroundEventQueue$BackgroundEventThread.run(BackgroundEventQueue.java:79)

Discussion

  • Gerhard Mayer
    Gerhard Mayer
    2012-07-09

    Error ocurs after using the menu point File - Load Ontologies ...

     
    Attachments
  • Heiko Dietze
    Heiko Dietze
    2012-07-09

    Thank you for providing the ontology. The error occurs during the load of the import 'http://unit-ontology.googlecode.com/svn/trunk/unit.obo'

    At the time of testing, there seems to be no definition for the 'unit_of' relationship in this ontology. The PATO import in the unit ontology does not have a declaration for this either.

    General comments:
    * WARNING: OBO-Edit will merge the imported ontologies in its memory model. If the user saves the ontology in OBO-Edit, this merged memory model is written to file.
    * If imports are still fine, try to use a permanent URL for the imports as best practice.

    Possible improvement for OBO-Edit:
    * Report the error as a result of in an import.
    * Refactor the OBO-Edit model to improve support for handling imports during write

    The later is currently not feasible (limited resources) and is not planned to done for any foreseeable future.

     
  • Heiko Dietze
    Heiko Dietze
    2012-07-09

    • status: open --> open-wont-fix