First editor loading : null pointer exception [message #1625603] |
Fri, 20 February 2015 14:03 |
Pascal Will Messages: 5 Registered: July 2009 |
Junior Member |
|
|
Hi,
I work on an application that uses Sirius. This application has an Project tree based on CNF. Each project has an aird and a model file. When I reboot my application the editor opening throw an exception.
Exception scenario :
build 3 projects
- open in Sirius for the 3 projects-> no problem
- restart the application
-> and when the first project try learn the session an exception occurs,
-> the second -> no problem
-> third project -> no problem
Have you an idea of the origin of the problem ?
Best regards.
Pascal.
[Updated on: Mon, 23 February 2015 11:03] Report message to a moderator
|
|
|
Re: First editor loading : null pointer exception [message #1631159 is a reply to message #1625603] |
Mon, 23 February 2015 16:24 |
|
Le 20/02/2015 15:03, Pascal Will a écrit :
> Hi,
Hi.
> I work on an application to use Sirius. This application has an Project tree based on CNF. Each project has an aird and a model file. When I reboot my application the editor opening throw an exception.
>
> Exception scenario :
> build 3 projects
> - open in Sirius for the 3 projects-> no problem
>
> - reload the application
> open in Sirius
> -> the first project causes an exception,
> -> the second -> no problem
> -> third project -> no problem
>
> Have you an idea of the origin of the problem ?
The stack looks similar to the one in
https://bugs.eclipse.org/bugs/show_bug.cgi?id=447150, but we have not
yet gotten around to fix this one. One possible cause is that the
semantic element referenced by the first diagram is not available
anymore after the restart, or at least not at the URI saved in the .aird
model. This can happen if the element in question was removed or changed
in a way that modified its URI by an action external to Sirius.
Which version of Sirius are you using? The bug #447150 mentioned above
was reported on Sirius 1.0.1, but I believe we made some changes in how
we handle this kind of things since then. If you are not on a recent
2.0.x (the latest is 2.0.4), can you try with that and see if the
situation has improved?
--
Pierre-Charles David - Obeo
Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Pierre-Charles David - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03928 seconds