Bug #7679

Compiling ontologies from UI causes null display and fails

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

Status:ClosedStart date:2018-02-13
Priority:4Due date:2018-02-27
Assignee:Miro Eklund% Done:


Category:-Spent time:-
Target version:2018-03
Release notes:Fixed NPE from modelled ontology compilation action.
Tags: 1.32.0
Story points-
Velocity based estimate-
ReleaseSimantics 1.32.0Release relationshipAuto


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 4 months 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


#1 Updated by Miro Eklund 4 months ago

  • Status changed from New to Resolved

#2 Updated by Miro Eklund 4 months ago

  • % Done changed from 0 to 100

#3 Updated by Tuukka Lehtonen 2 months ago

  • Tags set to 1.32.0
  • Due date set to 2018-02-27
  • Target version set to 2018-03
  • Start date set to 2018-02-13
  • Release set to 57

#4 Updated by Tuukka Lehtonen about 1 month ago

  • Status changed from Resolved to Closed
  • Release notes set to Fixed NPE from modelled ontology compilation action.

Also available in: Atom PDF