Issue #327

Some transitions' name aren't displayed in the model explorer and produce NPE in the console...

Added by Christophe Demeulemeester 9 months ago. Updated 6 months ago.

Status:ResolvedStart date:08 December 2017
Priority:MediumDue date:
Assignee:Christophe Malgouyres% Done:

50%

Category:-
Target version:Modelio 3.7.1

Description

Some transitions' name aren’t displayed in the model explorer and produce NPE in the console:

java.lang.NullPointerException
    at org.modelio.uml.ui.browser.contrib.labelprovider.UmlLabelProvider$BrowserLabelService.visitTransition(UmlLabelProvider.java:1621)
    at org.modelio.metamodel.impl.uml.behavior.stateMachineModel.TransitionImpl.accept(TransitionImpl.java:218)
    at org.modelio.metamodel.impl.uml.infrastructure.UmlModelElementImpl.accept(UmlModelElementImpl.java:375)
    ...

Steps to reproduce:

  1. Import the attached project.
  2. Check the model in the explorer –> Some Transitions’s name aren’t displayed.
  3. Move an element in the diagram –> NPE in the console!

TransitionLabel.zip (947 KB) Christophe Demeulemeester, 08 December 2017 17:36

History

#1 Updated by Christophe Demeulemeester 9 months ago

  • Description updated (diff)

#2 Updated by Christophe Demeulemeester 9 months ago

  • Description updated (diff)

#3 Updated by Christophe Demeulemeester 6 months ago

  • Status changed from New to Resolved
  • Assignee set to Christophe Malgouyres
  • Target version set to Modelio 3.7.1
  • % Done changed from 0 to 50

Also available in: Atom PDF