Just
committed a fix. Check it out and let me know if you are still seeing
issues.
This
regression was caused by work on Bug 329104 and has to do with distinction
between implied and explicit element properties. I forgot to update the gallery
sample to reference the new ImpliedElementProperty object for its properties. I
fixed that and also fixed MasterDetailsContentNode to cast to
ImpliedElementProperty so that future cases of this are easier to
understand.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=329104
-
Konstantin
From:
sapphire-dev-bounces@xxxxxxxxxxx [mailto:sapphire-dev-bounces@xxxxxxxxxxx] On
Behalf Of Ling Hao
Sent: Wednesday, December 08, 2010 2:37
PM
To: sapphire-dev@xxxxxxxxxxx
Subject: [sapphire-dev]
sapphire-gallery.xml
In the
latest build, sapphire-gallery.xml can't be open:
java.lang.NullPointerException
at
org.eclipse.sapphire.ui.editor.views.masterdetails.MasterDetailsContentNode.init(MasterDetailsContentNode.java:123)
at
org.eclipse.sapphire.ui.SapphirePart.init(SapphirePart.java:144)
I blieve
the issue is line 112 in MasterDetailsContentNode, element() returns
null
this.modelElement =
getModelElement().read( this.modelElementProperty
).element();