| Summary: | null pointer exception that comes from notification | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] EEF | Reporter: | Patrick Tessier <Patrick.Tessier> | ||||
| Component: | General | Assignee: | Patrick Tessier <Patrick.Tessier> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | critical | ||||||
| Priority: | P3 | CC: | Patrick.Tessier, sbouchet | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | 288259 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Patrick Tessier
Moving bug to emft.eef as per bug 288269 Hi,
using the last codegen from cvs HEAD, all the text widget ( text, textarea ) have a test before setting the text :
[template public setterSignatureImplementation(elementEditor : ElementEditor) overrides setterSignatureImplementation ? (elementEditor.representationName('Text'))]
[elementEditor.setterSignature()/] {
if (newValue != null) {
[elementEditor.name.toJavaIdentifier()/].setText(newValue);
} else {
[elementEditor.name.toJavaIdentifier()/].setText(""); //$NON-NLS-1$
}
}
[/template]
please use the last codegen from HEAD.
Created attachment 147314 [details]
mylyn/context/zip
modified classes
a test is added in order to test if the new value is null |