Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception when updating AADL property view #1685

lwrage opened this Issue Feb 12, 2019 · 1 comment


None yet
2 participants
Copy link

lwrage commented Feb 12, 2019

Open a non modal instance model in the instance editor, open the AADL Property View, and select the System Operation Mode No Modes in the instance editor. This results in a "Problem Occurred" dialog with detailsed message: An internal error occurred during: "Updating Property View".
Mode is not contained in a component type or implementation.
The underlying exception in the console is:

!ENTRY 4 2 2019-02-12 11:40:09.860
!MESSAGE An internal error occurred during: "Updating Property View".
!STACK 0 Mode is not contained in a component type or implementation
	at org.osate.aadl2.impl.ModeImpl.getPropertyValueInternal(
	at org.osate.aadl2.impl.NamedElementImpl.getPropertyValue(
	at org.osate.aadl2.NamedElement.getPropertyValue(
	at org.osate.xtext.aadl2.ui.propertyview.CachePropertyLookupJob.lambda$7(
	at org.eclipse.xtext.xbase.lib.IteratorExtensions.toInvertedMap(
	at org.eclipse.xtext.xbase.lib.IterableExtensions.toInvertedMap(
	at org.osate.xtext.aadl2.ui.propertyview.CachePropertyLookupJob.lambda$6(
	at org.eclipse.xtext.xbase.lib.internal.FunctionDelegate.apply(
	at org.osate.xtext.aadl2.ui.propertyview.CachePropertyLookupJob.lambda$11(
	at org.eclipse.xtext.xbase.lib.internal.FunctionDelegate.apply(
	at org.eclipse.xtext.xbase.lib.Conversions.unwrapArray(
	at org.osate.xtext.aadl2.ui.propertyview.CachePropertyLookupJob.lambda$0(
	at org.osate.xtext.aadl2.ui.propertyview.AadlPropertyView.lambda$27(
	at org.osate.xtext.aadl2.ui.propertyview.AadlPropertyView$
	at org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.runExclusive(
	at org.eclipse.emf.transaction.util.TransactionUtil.runExclusive(
	at org.osate.xtext.aadl2.ui.propertyview.AadlPropertyView.safeReadResource(
	at org.osate.xtext.aadl2.ui.propertyview.AadlPropertyView.safeRead(

@lwrage lwrage added this to the 2.4.1 milestone Feb 19, 2019

@lwrage lwrage added next and removed backlog labels Feb 19, 2019


This comment has been minimized.

Copy link

joeseibel commented Feb 22, 2019

This only occurs when there is a visible Property which is inherit and applies to all.

@wafflebot wafflebot bot added in progress and removed next labels Feb 22, 2019

@wafflebot wafflebot bot added review and removed in progress labels Feb 22, 2019

@lwrage lwrage closed this in #1702 Feb 22, 2019

@wafflebot wafflebot bot removed the review label Feb 22, 2019

@lwrage lwrage modified the milestones: 2.4.1, 2.4.0 Feb 22, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.