Community
Participate
Working Groups
Build Identifier: M20090917-0800 Invoking the Plug-in Spy via ALT+SHIFT+F1 in the "Test Editor" of the org.eclipse.hyades.test.ui-plug-in ends with a NullPointerException. Reproducible: Always Steps to Reproduce: 1.Test Editor is in focus 2.Pressing ALT+SHIFT+F1 for calling the plug-in spy. 3.NullPointerException appears.
Created attachment 155765 [details] Stacktrace of the NullPointerException
Stack trace does not contain TPTP API.
(In reply to comment #2) > Stack trace does not contain TPTP API. Hi, I am getting the same error. Any idea what could be the cause or when is this planned to be solved?. Thanks and Regards, Saurav
The cause is likely that there is no active page set in the current form editor at the time the spy page is created. In that case the page is left as null, but we still try and work with it. The solution is probably to have a null check to avoid creating contents with a null page. There are no plans to work on this in 3.6.
Created attachment 222144 [details] fix v01
Fixed in master. Thanks Tomasz http://git.eclipse.org/c/pde/eclipse.pde.ui.git/commit/?id=9ef4503f0768199d5b3e12ec91488a044a0a3ddc
Verified in I20121016-2240.