Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Problem creating workbench location - Argument cannot be null
Problem creating workbench location - Argument cannot be null [message #97401] Mon, 30 April 2007 19:38 Go to next message
Eclipse User
Originally posted by: gsimonds.loomissayles.com

I have installed the latest TPTP plugins using the update manager and
would like to use the JUnit Plugin Test features to test several of our
eclipse plugins in headless mode. I can't get very far as when I try to
create a workbench location I get the following error every time:

Unable to create this part due to an internal error. Reason for the
failure: Argument cannot be null.

Can anybody tell me why I am seeing this error? I am using Eclipse
3.2.2 and the latest TPTP from the update site. I also tried doing this
same thing using Eclipse 3.3M6 and got the same error.

Thanks for any help.
Re: Problem creating workbench location - Argument cannot be null [message #97431 is a reply to message #97401] Tue, 01 May 2007 10:26 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul Slauenwhite
Messages: 970
Registered: July 2009
Senior Member
Hi Geoff,
Can you attach the stack trace in the <workspace>/.metadata/.log file?

Paul
"Geoff" <gsimonds@loomissayles.com> wrote in message
news:f15gje$4ln$1@build.eclipse.org...
>I have installed the latest TPTP plugins using the update manager and would
>like to use the JUnit Plugin Test features to test several of our eclipse
>plugins in headless mode. I can't get very far as when I try to create a
>workbench location I get the following error every time:
>
> Unable to create this part due to an internal error. Reason for the
> failure: Argument cannot be null.
>
> Can anybody tell me why I am seeing this error? I am using Eclipse 3.2.2
> and the latest TPTP from the update site. I also tried doing this same
> thing using Eclipse 3.3M6 and got the same error.
>
> Thanks for any help.
Re: Problem creating workbench location - Argument cannot be null [message #97447 is a reply to message #97431] Tue, 01 May 2007 12:13 Go to previous messageGo to next message
Eclipse User
Originally posted by: gsimonds.loomissayles.com

Sure, here it is:

!ENTRY org.eclipse.ui 4 0 2007-05-01 08:11:39.369
!MESSAGE Unable to create editor ID
org.eclipse.hyades.test.ui.editor.LocationEditorPart: Argument cannot be
null
!STACK 0
java.lang.IllegalArgumentException: Argument cannot be null
at org.eclipse.swt.SWT.error(SWT.java:3358)
at org.eclipse.swt.SWT.error(SWT.java:3297)
at org.eclipse.swt.SWT.error(SWT.java:3268)
at org.eclipse.swt.widgets.Widget.error(Widget.java:435)
at org.eclipse.swt.widgets.Combo.setText(Combo.java:1645)
at
org.eclipse.hyades.test.tools.ui.plugin.internal.junit.edito r.WorkbenchPropertyGroupForm$8.createClient(WorkbenchPropert yGroupForm.java:484)
at
org.eclipse.hyades.test.ui.internal.editor.form.base.FormSec tion.createControl(FormSection.java:279)
at
org.eclipse.hyades.test.tools.ui.plugin.internal.junit.edito r.WorkbenchPropertyGroupForm.createProgramSection(WorkbenchP ropertyGroupForm.java:572)
at
org.eclipse.hyades.test.tools.ui.plugin.internal.junit.edito r.WorkbenchPropertyGroupForm.createEditorFormContents(Workbe nchPropertyGroupForm.java:144)
at
org.eclipse.hyades.test.ui.editor.form.util.EditorForm.creat eFormClient(EditorForm.java:140)
at
org.eclipse.hyades.test.ui.internal.editor.form.base.Section Form.createControl(SectionForm.java:81)
at
org.eclipse.hyades.test.ui.internal.editor.form.base.Scrolla bleSectionForm.createControl(ScrollableSectionForm.java:39)
at
org.eclipse.hyades.test.ui.editor.form.util.EditorForm.creat eControl(EditorForm.java:102)
at
org.eclipse.hyades.test.ui.internal.editor.extension.Configu rableObjectEditorExtension.addExtensionPage(ConfigurableObje ctEditorExtension.java:276)
at
org.eclipse.hyades.test.ui.internal.editor.extension.Locatio nEditorExtension.addExtensionPage(LocationEditorExtension.ja va:75)
at
org.eclipse.hyades.test.ui.internal.editor.extension.Configu rableObjectEditorExtension.createPropertyGroupPages(Configur ableObjectEditorExtension.java:180)
at
org.eclipse.hyades.test.ui.internal.editor.extension.Configu rableObjectEditorExtension.createPages(ConfigurableObjectEdi torExtension.java:126)
at
org.eclipse.hyades.ui.internal.editor.HyadesEditorPart.addPa ges(HyadesEditorPart.java:253)
at org.eclipse.ui.forms.editor.FormEditor.createPages(FormEdito r.java:142)
at
org.eclipse.ui.part.MultiPageEditorPart.createPartControl(Mu ltiPageEditorPart.java:276)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:596)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:372)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:566)
at
org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java:214)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2595)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2528)
at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPag e.java:2520)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.ja va:2505)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2500)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2477)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:290)
at org.eclipse.hyades.ui.internal.util.UIUtil.openEditor(UIUtil .java:248)
at
org.eclipse.hyades.test.ui.internal.navigator.action.OpenEdi torAction.run(OpenEditorAction.java:65)
at
org.eclipse.hyades.test.ui.internal.navigator.action.TestNav igatorActionGroup.runDefaultAction(TestNavigatorActionGroup. java:458)
at
org.eclipse.hyades.ui.internal.navigator.Navigator.open(Navi gator.java:731)
at
org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredV iewer.java:817)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:843)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:14 9)
at
org.eclipse.jface.viewers.StructuredViewer.fireOpen(Structur edViewer.java:815)
at
org.eclipse.jface.viewers.StructuredViewer.handleOpen(Struct uredViewer.java:1069)
at
org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(Stru cturedViewer.java:1168)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrate gy.java:249)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.ja va:243)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:283)
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.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.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(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)

Paul Slauenwhite wrote:
> Hi Geoff,
> Can you attach the stack trace in the <workspace>/.metadata/.log file?
>
> Paul
> "Geoff" <gsimonds@loomissayles.com> wrote in message
> news:f15gje$4ln$1@build.eclipse.org...
>> I have installed the latest TPTP plugins using the update manager and would
>> like to use the JUnit Plugin Test features to test several of our eclipse
>> plugins in headless mode. I can't get very far as when I try to create a
>> workbench location I get the following error every time:
>>
>> Unable to create this part due to an internal error. Reason for the
>> failure: Argument cannot be null.
>>
>> Can anybody tell me why I am seeing this error? I am using Eclipse 3.2.2
>> and the latest TPTP from the update site. I also tried doing this same
>> thing using Eclipse 3.3M6 and got the same error.
>>
>> Thanks for any help.
>
>
Re: Problem creating workbench location - Argument cannot be null [message #97528 is a reply to message #97447] Wed, 02 May 2007 11:35 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul Slauenwhite
Messages: 970
Registered: July 2009
Senior Member
Thanks Geoff for the stack trace. After looking at the code, it is not
apparent why you are receiving this exception. When you create the
Workbench Location using the wizard, do you select the local workbench or
another workbench?

This code has been refactored in 4.4 i3 under defect 182367. I cannot
reproduce this issue with the latest development build, so you can
work-around this issue by using the latest development build.

Paul
"Geoff" <gsimonds@loomissayles.com> wrote in message
news:f17asn$evi$1@build.eclipse.org...
> Sure, here it is:
>
> !ENTRY org.eclipse.ui 4 0 2007-05-01 08:11:39.369
> !MESSAGE Unable to create editor ID
> org.eclipse.hyades.test.ui.editor.LocationEditorPart: Argument cannot be
> null
> !STACK 0
> java.lang.IllegalArgumentException: Argument cannot be null
> at org.eclipse.swt.SWT.error(SWT.java:3358)
> at org.eclipse.swt.SWT.error(SWT.java:3297)
> at org.eclipse.swt.SWT.error(SWT.java:3268)
> at org.eclipse.swt.widgets.Widget.error(Widget.java:435)
> at org.eclipse.swt.widgets.Combo.setText(Combo.java:1645)
> at
> org.eclipse.hyades.test.tools.ui.plugin.internal.junit.edito r.WorkbenchPropertyGroupForm$8.createClient(WorkbenchPropert yGroupForm.java:484)
> at
> org.eclipse.hyades.test.ui.internal.editor.form.base.FormSec tion.createControl(FormSection.java:279)
> at
> org.eclipse.hyades.test.tools.ui.plugin.internal.junit.edito r.WorkbenchPropertyGroupForm.createProgramSection(WorkbenchP ropertyGroupForm.java:572)
> at
> org.eclipse.hyades.test.tools.ui.plugin.internal.junit.edito r.WorkbenchPropertyGroupForm.createEditorFormContents(Workbe nchPropertyGroupForm.java:144)
> at
> org.eclipse.hyades.test.ui.editor.form.util.EditorForm.creat eFormClient(EditorForm.java:140)
> at
> org.eclipse.hyades.test.ui.internal.editor.form.base.Section Form.createControl(SectionForm.java:81)
> at
> org.eclipse.hyades.test.ui.internal.editor.form.base.Scrolla bleSectionForm.createControl(ScrollableSectionForm.java:39)
> at
> org.eclipse.hyades.test.ui.editor.form.util.EditorForm.creat eControl(EditorForm.java:102)
> at
> org.eclipse.hyades.test.ui.internal.editor.extension.Configu rableObjectEditorExtension.addExtensionPage(ConfigurableObje ctEditorExtension.java:276)
> at
> org.eclipse.hyades.test.ui.internal.editor.extension.Locatio nEditorExtension.addExtensionPage(LocationEditorExtension.ja va:75)
> at
> org.eclipse.hyades.test.ui.internal.editor.extension.Configu rableObjectEditorExtension.createPropertyGroupPages(Configur ableObjectEditorExtension.java:180)
> at
> org.eclipse.hyades.test.ui.internal.editor.extension.Configu rableObjectEditorExtension.createPages(ConfigurableObjectEdi torExtension.java:126)
> at
> org.eclipse.hyades.ui.internal.editor.HyadesEditorPart.addPa ges(HyadesEditorPart.java:253)
> at org.eclipse.ui.forms.editor.FormEditor.createPages(FormEdito r.java:142)
> at
> org.eclipse.ui.part.MultiPageEditorPart.createPartControl(Mu ltiPageEditorPart.java:276)
> at
> org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:596)
> at
> org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:372)
> at
> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:566)
> at
> org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java:214)
> at
> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2595)
> at
> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2528)
> at
> org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPag e.java:2520)
> at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.ja va:2505)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
> at
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2500)
> at
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2477)
> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:290)
> at org.eclipse.hyades.ui.internal.util.UIUtil.openEditor(UIUtil .java:248)
> at
> org.eclipse.hyades.test.ui.internal.navigator.action.OpenEdi torAction.run(OpenEditorAction.java:65)
> at
> org.eclipse.hyades.test.ui.internal.navigator.action.TestNav igatorActionGroup.runDefaultAction(TestNavigatorActionGroup. java:458)
> at
> org.eclipse.hyades.ui.internal.navigator.Navigator.open(Navi gator.java:731)
> at
> org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredV iewer.java:817)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at org.eclipse.core.runtime.Platform.run(Platform.java:843)
> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:14 9)
> at
> org.eclipse.jface.viewers.StructuredViewer.fireOpen(Structur edViewer.java:815)
> at
> org.eclipse.jface.viewers.StructuredViewer.handleOpen(Struct uredViewer.java:1069)
> at
> org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(Stru cturedViewer.java:1168)
> at
> org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrate gy.java:249)
> at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.ja va:243)
> at
> org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:283)
> 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.ja va:3348)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1930)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:422)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.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(EclipseS tarter.java:400)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> 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)
>
> Paul Slauenwhite wrote:
>> Hi Geoff,
>> Can you attach the stack trace in the <workspace>/.metadata/.log
>> file?
>>
>> Paul
>> "Geoff" <gsimonds@loomissayles.com> wrote in message
>> news:f15gje$4ln$1@build.eclipse.org...
>>> I have installed the latest TPTP plugins using the update manager and
>>> would like to use the JUnit Plugin Test features to test several of our
>>> eclipse plugins in headless mode. I can't get very far as when I try to
>>> create a workbench location I get the following error every time:
>>>
>>> Unable to create this part due to an internal error. Reason for the
>>> failure: Argument cannot be null.
>>>
>>> Can anybody tell me why I am seeing this error? I am using Eclipse
>>> 3.2.2 and the latest TPTP from the update site. I also tried doing this
>>> same thing using Eclipse 3.3M6 and got the same error.
>>>
>>> Thanks for any help.
>>
Re: Problem creating workbench location - Argument cannot be null [message #97592 is a reply to message #97528] Wed, 02 May 2007 17:14 Go to previous messageGo to next message
Eclipse User
Originally posted by: gsimonds.loomissayles.com

Thanks for looking into this Paul. When creating the workbench
location, I select local workbench. I will try the latest development
build and see if I get the same error.

Paul Slauenwhite wrote:
> Thanks Geoff for the stack trace. After looking at the code, it is not
> apparent why you are receiving this exception. When you create the
> Workbench Location using the wizard, do you select the local workbench or
> another workbench?
>
> This code has been refactored in 4.4 i3 under defect 182367. I cannot
> reproduce this issue with the latest development build, so you can
> work-around this issue by using the latest development build.
>
> Paul
> "Geoff" <gsimonds@loomissayles.com> wrote in message
> news:f17asn$evi$1@build.eclipse.org...
>> Sure, here it is:
>>
>> !ENTRY org.eclipse.ui 4 0 2007-05-01 08:11:39.369
>> !MESSAGE Unable to create editor ID
>> org.eclipse.hyades.test.ui.editor.LocationEditorPart: Argument cannot be
>> null
>> !STACK 0
>> java.lang.IllegalArgumentException: Argument cannot be null
>> at org.eclipse.swt.SWT.error(SWT.java:3358)
>> at org.eclipse.swt.SWT.error(SWT.java:3297)
>> at org.eclipse.swt.SWT.error(SWT.java:3268)
>> at org.eclipse.swt.widgets.Widget.error(Widget.java:435)
>> at org.eclipse.swt.widgets.Combo.setText(Combo.java:1645)
>> at
>> org.eclipse.hyades.test.tools.ui.plugin.internal.junit.edito r.WorkbenchPropertyGroupForm$8.createClient(WorkbenchPropert yGroupForm.java:484)
>> at
>> org.eclipse.hyades.test.ui.internal.editor.form.base.FormSec tion.createControl(FormSection.java:279)
>> at
>> org.eclipse.hyades.test.tools.ui.plugin.internal.junit.edito r.WorkbenchPropertyGroupForm.createProgramSection(WorkbenchP ropertyGroupForm.java:572)
>> at
>> org.eclipse.hyades.test.tools.ui.plugin.internal.junit.edito r.WorkbenchPropertyGroupForm.createEditorFormContents(Workbe nchPropertyGroupForm.java:144)
>> at
>> org.eclipse.hyades.test.ui.editor.form.util.EditorForm.creat eFormClient(EditorForm.java:140)
>> at
>> org.eclipse.hyades.test.ui.internal.editor.form.base.Section Form.createControl(SectionForm.java:81)
>> at
>> org.eclipse.hyades.test.ui.internal.editor.form.base.Scrolla bleSectionForm.createControl(ScrollableSectionForm.java:39)
>> at
>> org.eclipse.hyades.test.ui.editor.form.util.EditorForm.creat eControl(EditorForm.java:102)
>> at
>> org.eclipse.hyades.test.ui.internal.editor.extension.Configu rableObjectEditorExtension.addExtensionPage(ConfigurableObje ctEditorExtension.java:276)
>> at
>> org.eclipse.hyades.test.ui.internal.editor.extension.Locatio nEditorExtension.addExtensionPage(LocationEditorExtension.ja va:75)
>> at
>> org.eclipse.hyades.test.ui.internal.editor.extension.Configu rableObjectEditorExtension.createPropertyGroupPages(Configur ableObjectEditorExtension.java:180)
>> at
>> org.eclipse.hyades.test.ui.internal.editor.extension.Configu rableObjectEditorExtension.createPages(ConfigurableObjectEdi torExtension.java:126)
>> at
>> org.eclipse.hyades.ui.internal.editor.HyadesEditorPart.addPa ges(HyadesEditorPart.java:253)
>> at org.eclipse.ui.forms.editor.FormEditor.createPages(FormEdito r.java:142)
>> at
>> org.eclipse.ui.part.MultiPageEditorPart.createPartControl(Mu ltiPageEditorPart.java:276)
>> at
>> org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:596)
>> at
>> org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:372)
>> at
>> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:566)
>> at
>> org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java:214)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2595)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2528)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPag e.java:2520)
>> at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.ja va:2505)
>> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2500)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2477)
>> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:290)
>> at org.eclipse.hyades.ui.internal.util.UIUtil.openEditor(UIUtil .java:248)
>> at
>> org.eclipse.hyades.test.ui.internal.navigator.action.OpenEdi torAction.run(OpenEditorAction.java:65)
>> at
>> org.eclipse.hyades.test.ui.internal.navigator.action.TestNav igatorActionGroup.runDefaultAction(TestNavigatorActionGroup. java:458)
>> at
>> org.eclipse.hyades.ui.internal.navigator.Navigator.open(Navi gator.java:731)
>> at
>> org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredV iewer.java:817)
>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>> at org.eclipse.core.runtime.Platform.run(Platform.java:843)
>> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
>> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:14 9)
>> at
>> org.eclipse.jface.viewers.StructuredViewer.fireOpen(Structur edViewer.java:815)
>> at
>> org.eclipse.jface.viewers.StructuredViewer.handleOpen(Struct uredViewer.java:1069)
>> at
>> org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(Stru cturedViewer.java:1168)
>> at
>> org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrate gy.java:249)
>> at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.ja va:243)
>> at
>> org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:283)
>> 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.ja va:3348)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
>> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1930)
>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
>> at
>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:422)
>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
>> at
>> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.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(EclipseS tarter.java:400)
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>> at java.lang.reflect.Method.invoke(Unknown Source)
>> 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)
>>
>> Paul Slauenwhite wrote:
>>> Hi Geoff,
>>> Can you attach the stack trace in the <workspace>/.metadata/.log
>>> file?
>>>
>>> Paul
>>> "Geoff" <gsimonds@loomissayles.com> wrote in message
>>> news:f15gje$4ln$1@build.eclipse.org...
>>>> I have installed the latest TPTP plugins using the update manager and
>>>> would like to use the JUnit Plugin Test features to test several of our
>>>> eclipse plugins in headless mode. I can't get very far as when I try to
>>>> create a workbench location I get the following error every time:
>>>>
>>>> Unable to create this part due to an internal error. Reason for the
>>>> failure: Argument cannot be null.
>>>>
>>>> Can anybody tell me why I am seeing this error? I am using Eclipse
>>>> 3.2.2 and the latest TPTP from the update site. I also tried doing this
>>>> same thing using Eclipse 3.3M6 and got the same error.
>>>>
>>>> Thanks for any help.
>
Re: Problem creating workbench location - Argument cannot be null [message #97652 is a reply to message #97592] Thu, 03 May 2007 10:53 Go to previous message
Paul Slauenwhite is currently offline Paul Slauenwhite
Messages: 970
Registered: July 2009
Senior Member
Thanks Geoff for your patience. I just tested with the
TPTP-4.4.0-200705021157 development build and I cannot reproduce this
problem using both Java and Plug-in projects. However, if you use the
development build, JUnit plug-in tests cannot be executed. This problem is
caused by defect https://bugs.eclipse.org/bugs/show_bug.cgi?id=182367. The
JUnit Plug-in test runner is not packaged with the Agent Controller (see
dependant defect https://bugs.eclipse.org/bugs/show_bug.cgi?id=183449). The
TPTP Release Engineering Team expect to have this completed by May 5/07 (see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=183449#c5).

To work-around this issue, use the
http://www.eclipse.org/tptp/home/downloads/?buildId=TPTP-4.4 .0-200703270100D
stable build or wait until the Monday development build.

Sorry for the confusion.

Paul
"Geoff" <gsimonds@loomissayles.com> wrote in message
news:f1agsr$40a$1@build.eclipse.org...
> Thanks for looking into this Paul. When creating the workbench location,
> I select local workbench. I will try the latest development build and see
> if I get the same error.
>
> Paul Slauenwhite wrote:
>> Thanks Geoff for the stack trace. After looking at the code, it is not
>> apparent why you are receiving this exception. When you create the
>> Workbench Location using the wizard, do you select the local workbench or
>> another workbench?
>>
>> This code has been refactored in 4.4 i3 under defect 182367. I cannot
>> reproduce this issue with the latest development build, so you can
>> work-around this issue by using the latest development build.
>>
>> Paul
>> "Geoff" <gsimonds@loomissayles.com> wrote in message
>> news:f17asn$evi$1@build.eclipse.org...
>>> Sure, here it is:
>>>
>>> !ENTRY org.eclipse.ui 4 0 2007-05-01 08:11:39.369
>>> !MESSAGE Unable to create editor ID
>>> org.eclipse.hyades.test.ui.editor.LocationEditorPart: Argument cannot be
>>> null
>>> !STACK 0
>>> java.lang.IllegalArgumentException: Argument cannot be null
>>> at org.eclipse.swt.SWT.error(SWT.java:3358)
>>> at org.eclipse.swt.SWT.error(SWT.java:3297)
>>> at org.eclipse.swt.SWT.error(SWT.java:3268)
>>> at org.eclipse.swt.widgets.Widget.error(Widget.java:435)
>>> at org.eclipse.swt.widgets.Combo.setText(Combo.java:1645)
>>> at
>>> org.eclipse.hyades.test.tools.ui.plugin.internal.junit.edito r.WorkbenchPropertyGroupForm$8.createClient(WorkbenchPropert yGroupForm.java:484)
>>> at
>>> org.eclipse.hyades.test.ui.internal.editor.form.base.FormSec tion.createControl(FormSection.java:279)
>>> at
>>> org.eclipse.hyades.test.tools.ui.plugin.internal.junit.edito r.WorkbenchPropertyGroupForm.createProgramSection(WorkbenchP ropertyGroupForm.java:572)
>>> at
>>> org.eclipse.hyades.test.tools.ui.plugin.internal.junit.edito r.WorkbenchPropertyGroupForm.createEditorFormContents(Workbe nchPropertyGroupForm.java:144)
>>> at
>>> org.eclipse.hyades.test.ui.editor.form.util.EditorForm.creat eFormClient(EditorForm.java:140)
>>> at
>>> org.eclipse.hyades.test.ui.internal.editor.form.base.Section Form.createControl(SectionForm.java:81)
>>> at
>>> org.eclipse.hyades.test.ui.internal.editor.form.base.Scrolla bleSectionForm.createControl(ScrollableSectionForm.java:39)
>>> at
>>> org.eclipse.hyades.test.ui.editor.form.util.EditorForm.creat eControl(EditorForm.java:102)
>>> at
>>> org.eclipse.hyades.test.ui.internal.editor.extension.Configu rableObjectEditorExtension.addExtensionPage(ConfigurableObje ctEditorExtension.java:276)
>>> at
>>> org.eclipse.hyades.test.ui.internal.editor.extension.Locatio nEditorExtension.addExtensionPage(LocationEditorExtension.ja va:75)
>>> at
>>> org.eclipse.hyades.test.ui.internal.editor.extension.Configu rableObjectEditorExtension.createPropertyGroupPages(Configur ableObjectEditorExtension.java:180)
>>> at
>>> org.eclipse.hyades.test.ui.internal.editor.extension.Configu rableObjectEditorExtension.createPages(ConfigurableObjectEdi torExtension.java:126)
>>> at
>>> org.eclipse.hyades.ui.internal.editor.HyadesEditorPart.addPa ges(HyadesEditorPart.java:253)
>>> at
>>> org.eclipse.ui.forms.editor.FormEditor.createPages(FormEdito r.java:142)
>>> at
>>> org.eclipse.ui.part.MultiPageEditorPart.createPartControl(Mu ltiPageEditorPart.java:276)
>>> at
>>> org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:596)
>>> at
>>> org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:372)
>>> at
>>> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:566)
>>> at
>>> org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java:214)
>>> at
>>> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2595)
>>> at
>>> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2528)
>>> at
>>> org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPag e.java:2520)
>>> at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.ja va:2505)
>>> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
>>> at
>>> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2500)
>>> at
>>> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2477)
>>> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:290)
>>> at
>>> org.eclipse.hyades.ui.internal.util.UIUtil.openEditor(UIUtil .java:248)
>>> at
>>> org.eclipse.hyades.test.ui.internal.navigator.action.OpenEdi torAction.run(OpenEditorAction.java:65)
>>> at
>>> org.eclipse.hyades.test.ui.internal.navigator.action.TestNav igatorActionGroup.runDefaultAction(TestNavigatorActionGroup. java:458)
>>> at
>>> org.eclipse.hyades.ui.internal.navigator.Navigator.open(Navi gator.java:731)
>>> at
>>> org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredV iewer.java:817)
>>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>>> at org.eclipse.core.runtime.Platform.run(Platform.java:843)
>>> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
>>> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:14 9)
>>> at
>>> org.eclipse.jface.viewers.StructuredViewer.fireOpen(Structur edViewer.java:815)
>>> at
>>> org.eclipse.jface.viewers.StructuredViewer.handleOpen(Struct uredViewer.java:1069)
>>> at
>>> org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(Stru cturedViewer.java:1168)
>>> at
>>> org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrate gy.java:249)
>>> at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.ja va:243)
>>> at
>>> org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:283)
>>> 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.ja va:3348)
>>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
>>> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1930)
>>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
>>> at
>>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:422)
>>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>>> at
>>> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
>>> at
>>> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.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(EclipseS tarter.java:400)
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> at java.lang.reflect.Method.invoke(Unknown Source)
>>> 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)
>>>
>>> Paul Slauenwhite wrote:
>>>> Hi Geoff,
>>>> Can you attach the stack trace in the <workspace>/.metadata/.log
>>>> file?
>>>>
>>>> Paul
>>>> "Geoff" <gsimonds@loomissayles.com> wrote in message
>>>> news:f15gje$4ln$1@build.eclipse.org...
>>>>> I have installed the latest TPTP plugins using the update manager and
>>>>> would like to use the JUnit Plugin Test features to test several of
>>>>> our eclipse plugins in headless mode. I can't get very far as when I
>>>>> try to create a workbench location I get the following error every
>>>>> time:
>>>>>
>>>>> Unable to create this part due to an internal error. Reason for the
>>>>> failure: Argument cannot be null.
>>>>>
>>>>> Can anybody tell me why I am seeing this error? I am using Eclipse
>>>>> 3.2.2 and the latest TPTP from the update site. I also tried doing
>>>>> this same thing using Eclipse 3.3M6 and got the same error.
>>>>>
>>>>> Thanks for any help.
>>
Previous Topic:the other way around -> relating TRCMethod to IMethod
Next Topic:TPTP JUnit Plugin Test Hangs
Goto Forum:
  


Current Time: Tue Sep 23 12:27:03 GMT 2014

Powered by FUDForum. Page generated in 0.01938 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software