| Summary: | "Widget is disposed" after removing form element that has a MessageManager handled decoration | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Manuel Mall <manuel.mall> |
| Component: | JFace | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | ivan |
| Version: | unspecified | ||
| Target Milestone: | 3.15 M1 | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://git.eclipse.org/r/c/rap/org.eclipse.rap/+/170494 https://git.eclipse.org/c/rap/org.eclipse.rap.git/commit/?id=2cb62d1d20ac39688c10f94a552db378fd77f88b |
||
| Whiteboard: | |||
|
Description
Manuel Mall
Manuel, is it possible to provide simple snippet to reproduce it (or modified Workbench demo)? That will take some time. As far as I can tell the problem is that the decorators hashmap in MessageManager keeps a cache of created decorators. There are no dispose listeners attached therefore the map relies on the pruneControlDecorators() method to clean itself up. It is isDisposed() check called from that loop that eventually hits that exception because of a CheckWidget() guard. New Gerrit change created: https://git.eclipse.org/r/c/rap/org.eclipse.rap/+/170494 I don't need a snippet anymore. Now I understand the problem. The fix is pending. Hi Ivan, thanks - let me know when nightly build is available and I am happy to test / verify. Gerrit change https://git.eclipse.org/r/c/rap/org.eclipse.rap/+/170494 was merged to [master]. Commit: http://git.eclipse.org/c/rap/org.eclipse.rap.git/commit/?id=2cb62d1d20ac39688c10f94a552db378fd77f88b (In reply to comment #5) > Hi Ivan, thanks - let me know when nightly build is available and I am happy to > test / verify. Next nightly build will have the fix in. Hi Ivan, just confirming that the nightly build which includes the fix works fine for us. Thanks (In reply to Manuel Mall from comment #8) > Hi Ivan, > > just confirming that the nightly build which includes the fix works fine for > us. > > Thanks Good to hear! |