I have created a model with Papyrus in Eclipse 3.7. Now I want to switch to Eclipse 4.2. I have imported the project, however when opening the Di-file I get a nullPointerException. I cannot even open the UML model. I only get a white and empty space.
You have just I asked. I have a really common bug, what is it? Try
asking a doctor why your program doesn't feel well.
Regards
Ed Willink
On 03/07/2012 08:52, Tex Iano wrote:
> Hi,
>
> I have created a model with Papyrus in Eclipse 3.7. Now I want to
> switch to Eclipse 4.2. I have imported the project, however when
> opening the Di-file I get a nullPointerException. I cannot even open
> the UML model. I only get a white and empty space.
>
> Any ideas?
>
> Tex
Well, I do not want to focus on the NullPointerException. Obviously it is simply not possible to open an old Papyrus model with Eclipse Juno. Just importing the project does not work. I thought that there is a migration strategy, such as changing UML/3.0.0 to UML/4.0.0 or maybe there is an import button anywhere.
Actually, it should be possible. So, the error detail *is* important The migration from UML 2.3 to 2.4 is (or should be) done automatically when opening the model for the first time.
I have a similar problem. I have imported my project with the model (UML StateMachine Diagram) created with Eclipse 3.7 in Eclipse 4.2. When I open the Di-file I get the error message "org.eclipse.uml2.uml.internal.impl.LiteralStringImpl cannot be cast to org.eclipse.uml2.uml.OpaqueExpression".
I didn't find the problem. Can anyone help me?
I also had a NullPointerException and an error message before saying that my model was corrupted. Then I removed all 'mutated vowels' (ä, ö, ü...) from the model, and the problems was solved.