Bug #7679

Compiling ontologies from UI causes null display and fails

Added by Miro Eklund about 1 month ago. Updated about 1 month ago.

Status:ResolvedStart date:
Priority:4Due date:
Assignee:Miro Eklund% Done:

100%

Category:-Spent time:-
Target version:-
Release notes:
Story points-
Velocity based estimate-

Description

Ontology definition files could not be compiled from the UI as a worker thread handled the job with a null display.
Changing the code to take into account a null display fixes the issues.

Simultaneously, the error message provided mentioned dependency issues, where in reality the issues were related to the ontology definition file.
The error message should be updated as well.

Associated revisions

Revision 0070425a
Added by Miro Eklund about 1 month ago

Fixed CompilePGraphsAction that gave a NullPointerException

A worker thread with a null displayed tried to compile the pgraph for
ontology definition files. Ensuring that a default display is used in
such cases fixed the issues.

An error message mentioned missing dependencies if the ontology file
containers syntax errors. Thie message now mentioned problems in the
ontology file instead.

refs #7679

Change-Id: Icd483835462ec3cd27c16ca751eaee3d7b3dbdd2

History

#1 Updated by Miro Eklund about 1 month ago

  • Status changed from New to Resolved

#2 Updated by Miro Eklund about 1 month ago

  • % Done changed from 0 to 100

Also available in: Atom PDF