Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
Relevant part of stack trace:
java.lang.NullPointerException: null
at org.thechiselgroup.choosel.client.ui.dnd.SelectionPresenterDropCommandFactory.canDrop(SelectionPresenterDropCommandFactory.java:87)
at org.thechiselgroup.choosel.client.ui.dnd.ResourceSetAvatarDropController.canDrop(ResourceSetAvatarDropController.java:91)
at org.thechiselgroup.choosel.client.ui.dnd.DefaultResourceSetAvatarDragController.canDropOn(DefaultResourceSetAvatarDragController.java:207)
at org.thechiselgroup.choosel.client.ui.dnd.DefaultResourceSetAvatarDragController.getAvailableDropControllers(DefaultResourceSetAvatarDragController.java:276)
at org.thechiselgroup.choosel.client.ui.dnd.DefaultResourceSetAvatarDragController.calculateTemporaryDropTargets(DefaultResourceSetAvatarDragController.java:198)
at org.thechiselgroup.choosel.client.ui.dnd.DefaultResourceSetAvatarDragController.dragStart(DefaultResourceSetAvatarDragController.java:265)
at ...
Original comment by Lars.Grammel
on 27 Jul 2010 at 6:03
Debugging revealed that the add selection avatar and its drop controller from
the removed view are still present, although they should have been removed.
Inspecting DefaultView showed that the corresponding presenter did not get
disposed when the view gets disposed.
I added a test case and fixed DefaultView.dispose().
I verified that this fixes the problem.
Original comment by Lars.Grammel
on 27 Jul 2010 at 6:32
Original issue reported on code.google.com by
Lars.Grammel
on 27 Jul 2010 at 6:02