Author: Grid.Qian
Date: 2009-06-15 05:07:32 -0400 (Mon, 15 Jun 2009)
New Revision: 15945
Modified:
trunk/bpel/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/properties/CorrSetImplSection.java
Log:
JBIDE-4482: java.lang.NullPointerException at
org.eclipse.jface.viewers.ColumnViewer$2.getCellEditor(ColumnViewer.java:239) when click
the propertyid of a correlation
Modified:
trunk/bpel/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/properties/CorrSetImplSection.java
===================================================================
---
trunk/bpel/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/properties/CorrSetImplSection.java 2009-06-15
09:06:49 UTC (rev 15944)
+++
trunk/bpel/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/properties/CorrSetImplSection.java 2009-06-15
09:07:32 UTC (rev 15945)
@@ -100,7 +100,11 @@
// Update the UnusedPropertyFilter with the proper contents.
propertyFilter.setCandidates(((CorrelationSet)getInput()).getProperties(),
Collections.singletonList(element));
- return true;
+
+ // change true to false by Grid.Qian
+ // because the cell editor is null, if the column can be modified,
+ // when the system will active the cell editor, will get a null exception
+ return false;
}
public Object getValue(Object element, String property) {
return element;