Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 173125

Summary: Exported API Recorder probe does not open in ProbeKit.
Product: z_Archived Reporter: Paul Slauenwhite <paulslau>
Component: TPTPAssignee: Paul Slauenwhite <paulslau>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P1 Keywords: plan
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Exported probe. none

Description Paul Slauenwhite CLA 2007-02-06 12:54:59 EST
Exported API Recorder probe does not open in ProbeKit.

When exporting the Java Applications API Recorder probe (File >> Export >> Test >> API Recording Probe) using TPTP-4.3.1-200702051346, the exported probe does not open in ProbeKit.  The following exception is thrown in the ProbeKit UI:

java.lang.NullPointerException
	at org.eclipse.hyades.probekit.editor.internal.presentation.GeneralTab.createLabels(GeneralTab.java:158)
	at org.eclipse.hyades.probekit.editor.internal.presentation.GeneralTab.createControl(GeneralTab.java:137)
	at org.eclipse.hyades.probekit.editor.internal.presentation.GeneralTab.<init>(GeneralTab.java:99)
	at org.eclipse.hyades.probekit.editor.internal.presentation.ProbekitEditor.createGeneralPage(ProbekitEditor.java:803)
	at org.eclipse.hyades.probekit.editor.internal.presentation.ProbekitEditor.createPages(ProbekitEditor.java:768)
	at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:276)
	at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596)
	at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
	at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
	at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:214)
	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2595)
	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2528)
	at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2520)
	at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2505)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2500)
	at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:288)
	at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:280)
	at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:184)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:615)
	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
	at org.eclipse.core.launcher.Main.run(Main.java:977)
	at org.eclipse.core.launcher.Main.main(Main.java:952)
Comment 1 Paul Slauenwhite CLA 2007-02-06 12:55:18 EST
Created attachment 58364 [details]
Exported probe.
Comment 2 Paul Slauenwhite CLA 2007-03-01 18:15:57 EST
The following files checked-in to CVS (HEAD):

org.eclipse.tptp.test.tools.api.internal.ui.test.generation.wizards.ExportAPIRecordingProbeWizard.java
org.eclipse.tptp.test.tools.api.internal.ui.util.APIRecordingUtilities.java
org.eclipse.tptp.test.tools.api.internal.ui.test.generation.wizards.ExportAPIRecordingProbeWizardPageOne.java
Comment 3 Paul Slauenwhite CLA 2007-03-12 14:13:50 EDT
Updated/corrected sizings.
Comment 4 Paul Slauenwhite CLA 2007-06-02 14:51:42 EDT
Reporter: Please verify and close in preparation for shutting down the TPTP 4.4 release.  Thanks.
Comment 5 Paul Slauenwhite CLA 2007-06-27 15:39:06 EDT
Verified in TPTP-4.4.0-200706140100C.