Issue #327

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

Added by Christophe Demeulemeester about 1 month ago. Updated about 1 month ago.

Status:NewStart date:08 December 2017
Priority:MediumDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

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 about 1 month ago

  • Description updated (diff)

#2 Updated by Christophe Demeulemeester about 1 month ago

  • Description updated (diff)

Also available in: Atom PDF