Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352760 - MARTE RtSpecification 'java.lang.UnsupportedOperationException'
Summary: MARTE RtSpecification 'java.lang.UnsupportedOperationException'
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Chokri Mraidha CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-21 10:18 EDT by Klaus Becker CLA
Modified: 2014-11-27 12:13 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Klaus Becker CLA 2011-07-21 10:18:32 EDT
Build Identifier: Build id: 20110615-0604

After applying a MARTE RtSpecification to a comment, an 'java.lang.UnsupportedOperationException' is thrown when opening the Stereotype in the Properties-Profile View.
I have the newest nightly built of Papyrus and the MARTE profile.

Stack Trace:
java.lang.UnsupportedOperationException
	at org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.impl.RtSpecificationImpl.basicGetContext(RtSpecificationImpl.java:518)
	at org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.impl.RtSpecificationImpl.getContext(RtSpecificationImpl.java:505)
	at org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.impl.RtSpecificationImpl.eGet(RtSpecificationImpl.java:563)
	at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1021)
	at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1013)
	at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1008)
	...

Reproducible: Always

Steps to Reproduce:
1. apply RtSpecification to a comment (from MARTE::MARTE_DesignModel::HLAM)
2. goto profile in Properties View
3. open RtSpecification
Comment 1 Chokri Mraidha CLA 2011-10-28 05:34:31 EDT
Bug fixed. Will be available in the next nighlty build.
Comment 2 Chokri Mraidha CLA 2011-10-28 10:21:49 EDT
Bug fixed.
Comment 3 Fernando Herrera CLA 2014-11-27 12:13:58 EST
(In reply to klausbecker81 from comment #0)
> Build Identifier: Build id: 20110615-0604
> 
> After applying a MARTE RtSpecification to a comment, an
> 'java.lang.UnsupportedOperationException' is thrown when opening the
> Stereotype in the Properties-Profile View.
> I have the newest nightly built of Papyrus and the MARTE profile.
> 
> Stack Trace:
> java.lang.UnsupportedOperationException
> 	at
> org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.impl.RtSpecificationImpl.
> basicGetContext(RtSpecificationImpl.java:518)
> 	at
> org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.impl.RtSpecificationImpl.
> getContext(RtSpecificationImpl.java:505)
> 	at
> org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.impl.RtSpecificationImpl.
> eGet(RtSpecificationImpl.java:563)
> 	at
> org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1021)
> 	at
> org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1013)
> 	at
> org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1008)
> 	...
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1. apply RtSpecification to a comment (from MARTE::MARTE_DesignModel::HLAM)
> 2. goto profile in Properties View
> 3. open RtSpecification

I am getting this bug again in 1.0.1