Should fix cosmetic NPE in log. I suspect real error is further up (in SSE).
diff --git a/bundles/org.eclipse.wst.jsdt.web.ui/src/org/eclipse/wst/jsdt/web/ui/actions/SimpleJSDTActionProxy.java b/bundles/org.eclipse.wst.jsdt.web.ui/src/org/eclipse/wst/jsdt/web/ui/actions/SimpleJSDTActionProxy.java
index 0ca4ba3..1a652e8 100644
--- a/bundles/org.eclipse.wst.jsdt.web.ui/src/org/eclipse/wst/jsdt/web/ui/actions/SimpleJSDTActionProxy.java
+++ b/bundles/org.eclipse.wst.jsdt.web.ui/src/org/eclipse/wst/jsdt/web/ui/actions/SimpleJSDTActionProxy.java
@@ -75,6 +75,7 @@
Class[] types = new Class[] { IWorkbenchSite.class };
Constructor cons = target.getConstructor(types);
Object[] args = new Object[] { targetWorkbenchPart.getSite() };
+
actionHandlerTarget = cons.newInstance(args);
handlerTargetAction = action;
return actionHandlerTarget;
@@ -144,6 +145,8 @@
public void selectionChanged(IAction action, ISelection selection) {
currentSelection = selection;
+ if(targetWorkbenchPart==null) return;
+
try {
Object handler = getActionHandler(action);
SimpleJSDTActionProxy.executeMethod(handler, "selectionChanged", getSelectionChangeArgTypes(), getSelectionChangeArgs(action, selection));