Skip to content

Changes

Summary

  1. Fix NPE in HandlerServiceImpl if provided context is already disposed (details)
Commit 2c7794db39e20a0c5f442a0b76eb8db52d450636 by Ivan Furnadjiev
Fix NPE in HandlerServiceImpl if provided context is already disposed

HandlerServiceImpl#getContextStack may return null if the provided
context is already disposed. Return empty stack list in this case.

510621: [e4] NullPointerException in HandlerServiceImpl.executeHandler()
https://bugs.eclipse.org/bugs/show_bug.cgi?id=510621

Change-Id: If56c1d567a36090359d6dc2a3f4c7f7fd2074695
The file was modified bundles/org.eclipse.e4.core.commands/src-rap/org/eclipse/e4/core/commands/internal/HandlerServiceImpl.java