| Summary: | [CSS] CTabRendering throws NPE on context dispose | ||
|---|---|---|---|
| Product: | [Eclipse Project] e4 | Reporter: | Paul Webster <pwebster> |
| Component: | UI | Assignee: | Bogdan Gheorghe <gheorghe> |
| Status: | RESOLVED WORKSFORME | QA Contact: | Bogdan Gheorghe <gheorghe> |
| Severity: | normal | ||
| Priority: | P3 | CC: | gheorghe, ob1.eclipse, tom.schindl |
| Version: | 1.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
On context disposal we call with injected values == null. I guess this is fixed because we are not facing any NPEs, right? So can we close this one? Well, I should add a null check and then close it. Closing this as we are no longer using injection to set this property. |
@Inject @Optional public void setCornerRadius(@Named("radius") Integer radius) { cornerSize = radius.intValue(); parent.redraw(); } These methods say they're optional (and can take null) but NPE. PW