Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sapphire-dev] Exception

Just checked in a fix.

 

- Konstantin

 

 

From: Ling Hao [mailto:ling.hao@xxxxxxxxxx]
Sent: Monday, November 01, 2010 5:02 PM
To: Konstantin Komissarchik
Subject: Exception

 

I was playing with the lists and found this exception. Is this a known issue? If not, I'll take a look before the other bug.

 

1. sapphire-gallery.xml -> List property editor

2. add a reference

3. edit the reference and clear the content and get the following exception.

 

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

at java.util.ArrayList.RangeCheck(ArrayList.java:547)

at java.util.ArrayList.get(ArrayList.java:322)

at org.eclipse.sapphire.modeling.xml.XmlPath.getSegment(XmlPath.java:97)

at org.eclipse.sapphire.modeling.xml.XmlElement.removeChildNode(XmlElement.java:797)

at org.eclipse.sapphire.modeling.xml.XmlElement.removeChildNode(XmlElement.java:788)

at org.eclipse.sapphire.modeling.xml.XmlElement.setChildNodeText(XmlElement.java:771)

at org.eclipse.sapphire.modeling.xml.StandardXmlValueBindingImpl.write(StandardXmlValueBindingImpl.java:161)


Back to the top