Community
Participate
Working Groups
1. Ctrl+F12 2. Click the 'New Task...' button. 3. Click 'Cancel'. 4. An NPE is logged. Caused by: java.lang.NullPointerException at org.eclipse.mylyn.internal.tasks.ui.actions.OpenTaskAction.run(OpenTaskAction.java:50) at org.eclipse.ui.actions.ActionDelegate.runWithEvent(ActionDelegate.java:70) at org.eclipse.ui.internal.handlers.ActionDelegateHandlerProxy.execute(ActionDelegateHandlerProxy.java:281) at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:68) at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56) ... 33 more
Thanks for the bug! We'll look into that.
The new task action does a reference to the created task so the best I could do was adding a null check.
Created attachment 203366 [details] mylyn/context/zip