[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.tools.jdt] Properties view Exception while executing UpdateChildrenOf
|
Hi everyone,
I have an eclipse app and I am experiencing the exception I am posting below.
To reproduce this I try to update an element name in the Properties view, if the element has 2 children of the same type the exception is raised.
From my investigation the problem happens during the call to updateChildrenOf method, more precisly on this line 1309:
"updateEntry((IPropertySheetEntry) el, childItems[i]);"
The problem is that i represents the number of children correctly but childItems has less one element, method getChildItems does not seam to work for this particular case.
Does anyone experienced the same problem before?
Thanks in advance,
--
Ana Aires
Exception Trace:
java.lang.ArrayIndexOutOfBoundsException:
at org.eclipse.ui.views.properties.PropertySheetViewer.updateCh ildrenOf(PropertySheetViewer.java:1309)
at org.eclipse.ui.views.properties.PropertySheetViewer.updateCh ildrenOf(PropertySheetViewer.java:1312)
at org.eclipse.ui.views.properties.PropertySheetViewer.access$2 (PropertySheetViewer.java:1211)
at org.eclipse.ui.views.properties.PropertySheetViewer$3.childE ntriesChanged(PropertySheetViewer.java:322)
at org.eclipse.ui.views.properties.PropertySheetEntry.fireChild EntriesChanged(PropertySheetEntry.java:301)
at org.eclipse.ui.views.properties.PropertySheetEntry.refreshCh ildEntries(PropertySheetEntry.java:576)
at org.eclipse.ui.views.properties.PropertySheetEntry.setValues (PropertySheetEntry.java:760)
..