Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » First editor loading : null pointer exception
First editor loading : null pointer exception [message #1625603] Fri, 20 February 2015 14:03 Go to next message
Pascal Will is currently offline Pascal WillFriend
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 Go to previous messageGo to next message
Pierre-Charles David is currently offline Pierre-Charles DavidFriend
Messages: 703
Registered: July 2009
Senior Member
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
Re: First editor loading : null pointer exception [message #1694599 is a reply to message #1631159] Wed, 06 May 2015 14:23 Go to previous messageGo to next message
Pascal Will is currently offline Pascal WillFriend
Messages: 5
Registered: July 2009
Junior Member
Hi Pierre,

Thanks for your answer and for the link. I will follow him.

Sorry but I can't upgrade my Sirius version for now. And sorry for my late answer.

Best regards.

Pascal.

[Updated on: Wed, 06 May 2015 14:33]

Report message to a moderator

Re: First editor loading : null pointer exception [message #1694600 is a reply to message #1631159] Wed, 06 May 2015 14:24 Go to previous message
Pascal Will is currently offline Pascal WillFriend
Messages: 5
Registered: July 2009
Junior Member
(Post to be deleted)

[Updated on: Wed, 06 May 2015 14:34]

Report message to a moderator

Previous Topic:Predicate expression in Conditional Edge Style Description
Next Topic:Change node icon programmatically
Goto Forum:
  


Current Time: Fri Apr 19 23:17:42 GMT 2024

Powered by FUDForum. Page generated in 0.03374 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top