Skip to main content



      Home
Home » Eclipse Projects » Mylyn » Own Connector raises NullPointerException
icon9.gif  Own Connector raises NullPointerException [message #468148] Tue, 04 August 2009 07:45 Go to next message
Eclipse UserFriend
Hello,

I'm writing my own connector for HP Quality Center... but I have a NPE when opening the task editor (see below) when I set the needsSubmitButton flag to true in the AbstractTaskEditorPage...

In the following line, the toolkit is null Sad
submitButton = toolkit.createButton(composite, Messages.TaskEditorActionPart_Submit + " ", SWT.NONE);


Any idea??

Best Regards,

Tom

StackTrace:
java.lang.NullPointerException
	at org.eclipse.mylyn.tasks.ui.editors.AbstractTaskEditorPage$18.createButton(AbstractTaskEditorPage.java:909)
	at org.eclipse.mylyn.internal.tasks.ui.editors.ToolBarButtonContribution.createControl(ToolBarButtonContribution.java:51)
	at org.eclipse.jface.action.ControlContribution.fill(ControlContribution.java:97)
	at org.eclipse.jface.action.ToolBarManager.update(ToolBarManager.java:353)
	at org.eclipse.mylyn.tasks.ui.editors.TaskEditor.updateHeaderToolBar(TaskEditor.java:998)
	at org.eclipse.mylyn.tasks.ui.editors.TaskEditor.addPages(TaskEditor.java:413)
	at org.eclipse.ui.forms.editor.FormEditor.createPages(FormEditor.java:138)
	at org.eclipse.ui.forms.editor.SharedHeaderFormEditor.createPages(SharedHeaderFormEditor.java:98)
	at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:357)
	at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:662)
	at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:462)
	at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
	at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
	at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
	at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
	at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
	at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
	at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
	at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
	at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608)
	at org.eclipse.ui.internal.PartStack.add(PartStack.java:499)
	at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
	at org.eclipse.ui.internal.PartStack.add(PartStack.java:485)
	at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
	at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
	at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:225)
	at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:213)
	at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:778)
	at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:677)
	at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:638)
	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2854)
	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2762)
	at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2754)
	at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2705)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2701)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2685)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)
	at org.eclipse.mylyn.tasks.ui.TasksUiUtil.openEditor(TasksUiUtil.java:192)
	at org.eclipse.mylyn.tasks.ui.TasksUiUtil.openTask(TasksUiUtil.java:314)
	at org.eclipse.mylyn.internal.tasks.ui.util.TasksUiInternal.refreshAndOpenTaskListElement(TasksUiInternal.java:269)
	at org.eclipse.mylyn.internal.tasks.ui.actions.OpenTaskListElementAction.runWithEvent(OpenTaskListElementAction.java:56)
	at org.eclipse.mylyn.internal.tasks.ui.actions.OpenTaskListElementAction.run(OpenTaskListElementAction.java:47)
	at org.eclipse.mylyn.internal.tasks.ui.views.TaskListView$19.open(TaskListView.java:1268)
	at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:842)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.runtime.Platform.run(Platform.java:888)
	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
	at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:840)
	at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1101)
	at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1205)
	at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:264)
	at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:258)
	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:298)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
Re: Own Connector raises NullPointerException [message #468270 is a reply to message #468148] Tue, 04 August 2009 14:43 Go to previous messageGo to next message
Eclipse UserFriend
Thomas SZADEL wrote:
> Hello,
>
> I'm writing my own connector for HP Quality Center...

About time! What version of QC do you support? How does it work (COM?)?
And most important, where can I get it?

Cheers
PHilippe
Re: Own Connector raises NullPointerException [message #468445 is a reply to message #468270] Wed, 05 August 2009 10:40 Go to previous messageGo to next message
Eclipse UserFriend
On 2009-08-04 14:43:04 -0400, Philippe Marschall <kustos@gmx.net> said:

> Thomas SZADEL wrote:
>> Hello,
>>
>> I'm writing my own connector for HP Quality Center...
>
> About time! What version of QC do you support? How does it work (COM?)?
> And most important, where can I get it?

Doesn't HP claim to provide a connector as part of QC 10? Could have
sworn I saw that in their release literature. I never found the
download though.

Mark
Re: Own Connector raises NullPointerException [message #468474 is a reply to message #468445] Wed, 05 August 2009 11:45 Go to previous messageGo to next message
Eclipse UserFriend
Mark Phippard wrote:
> On 2009-08-04 14:43:04 -0400, Philippe Marschall <kustos@gmx.net> said:
>
>> Thomas SZADEL wrote:
>>> Hello,
>>>
>>> I'm writing my own connector for HP Quality Center...
>>
>> About time! What version of QC do you support? How does it work (COM?)?
>> And most important, where can I get it?
>
> Doesn't HP claim to provide a connector as part of QC 10? Could have
> sworn I saw that in their release literature. I never found the
> download though.

I've heard a similar rumor but never found anything concrete.

Cheers
Philippe
Re: Own Connector raises NullPointerException [message #468503 is a reply to message #468474] Wed, 05 August 2009 13:04 Go to previous messageGo to next message
Eclipse UserFriend
On 2009-08-05 11:45:31 -0400, Philippe Marschall
<philippe.marschall@netcetera.ch> said:

> Mark Phippard wrote:
>> On 2009-08-04 14:43:04 -0400, Philippe Marschall <kustos@gmx.net> said:
>>
>>> Thomas SZADEL wrote:
>>>> Hello,
>>>>
>>>> I'm writing my own connector for HP Quality Center...
>>>
>>> About time! What version of QC do you support? How does it work (COM?)?
>>> And most important, where can I get it?
>>
>> Doesn't HP claim to provide a connector as part of QC 10? Could have
>> sworn I saw that in their release literature. I never found the
>> download though.
>
> I've heard a similar rumor but never found anything concrete.

Yes, I can find no evidence that such a thing exists.

Mark
Re: Own Connector raises NullPointerException [message #478164 is a reply to message #468270] Thu, 06 August 2009 04:41 Go to previous messageGo to next message
Eclipse UserFriend
Philippe Marschall wrote on Tue, 04 August 2009

About time! What version of QC do you support? How does it work (COM?)?
And most important, where can I get it?


This is an alpha version (I started it last week)... thus, you cannot download any version... Embarrassed but I'm working on it (will be released under EPL license on sourceforge... asap)

I'm working with QC 9.2 with Com4j ; I suppose that if you rebuild the com4j lib with another version of QC, it should work...

Tom
Re: Own Connector raises NullPointerException [message #478706 is a reply to message #478164] Thu, 06 August 2009 09:12 Go to previous messageGo to next message
Eclipse UserFriend
On 2009-08-06 04:41:50 -0400, Thomas SZADEL
<thomas.szadel@atosorigin.com> said:

> Philippe Marschall wrote on Tue, 04 August 2009
>> About time! What version of QC do you support? How does it work (COM?)?
>> And most important, where can I get it?
>
>
> This is an alpha version (I started it last week)... thus, you cannot
> download any version... :blush: but I'm working on it (will be
> released under EPL license on sourceforge... asap)
>
> I'm working with QC 9.2 with Com4j ; I suppose that if you rebuild the
> com4j lib with another version of QC, it should work...

If you run into problems we have a lot of Apache 2 licensed QC Java code here.

http://ccf.open.collab.net/

It uses Jacob to access the otaclient COM library. The code works with
QC 9.0, 9.2 and 10 and fully exercises QC defects.

Mark
Re: Own Connector raises NullPointerException [message #478765 is a reply to message #468148] Thu, 06 August 2009 14:36 Go to previous messageGo to next message
Eclipse UserFriend
I would guess that your page factory does not return PRIORITY_TASK in
getPriority(). Still, this should not be happening. Can you file a new bug:
http://eclipse.org/mylyn/support?

Steffen


Thomas SZADEL wrote:

> Hello,
>
> I'm writing my own connector for HP Quality Center... but I have a NPE
> when opening the task editor (see below) when I set the needsSubmitButton
> flag to true in the AbstractTaskEditorPage...
>
> In the following line, the toolkit is null :(
>
> submitButton = toolkit.createButton(composite,
> Messages.TaskEditorActionPart_Submit + " ", SWT.NONE);
>
>
> Any idea??
>
> Best Regards,
>
> Tom
>
> StackTrace:
> java.lang.NullPointerException
> at
>
org.eclipse.mylyn.tasks.ui.editors.AbstractTaskEditorPage$18 .createButton(AbstractTaskEditorPage.java:909)
> at
>
org.eclipse.mylyn.internal.tasks.ui.editors.ToolBarButtonCon tribution.createControl(ToolBarButtonContribution.java:51)
> at
>
org.eclipse.jface.action.ControlContribution.fill(ControlCon tribution.java:97)
> at org.eclipse.jface.action.ToolBarManager.update(ToolBarManage r.java:353)
> at
>
org.eclipse.mylyn.tasks.ui.editors.TaskEditor.updateHeaderTo olBar(TaskEditor.java:998)
> at
>
org.eclipse.mylyn.tasks.ui.editors.TaskEditor.addPages(TaskE ditor.java:413)
> at org.eclipse.ui.forms.editor.FormEditor.createPages(FormEdito r.java:138)
> at
>
org.eclipse.ui.forms.editor.SharedHeaderFormEditor.createPag es(SharedHeaderFormEditor.java:98)
> at
>
org.eclipse.ui.part.MultiPageEditorPart.createPartControl(Mu ltiPageEditorPart.java:357)
> at
>
org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:662)
> at
>
org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:462)
> at
>
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:595)
> at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:31 3) at
>
org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:180)
> at
>
org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:270)
> at
>
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
> at
>
org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:473)
> at
>
org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1256)
> at org.eclipse.ui.internal.PartStack.setSelection(PartStack.jav a:1209) at
> org.eclipse.ui.internal.PartStack.showPart(PartStack.java:16 08) at
> org.eclipse.ui.internal.PartStack.add(PartStack.java:499) at
> org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103 ) at
> org.eclipse.ui.internal.PartStack.add(PartStack.java:485) at
> org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112 ) at
>
org.eclipse.ui.internal.EditorSashContainer.addEditor(Editor SashContainer.java:63)
> at
>
org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorA reaHelper.java:225)
> at
>
org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAre aHelper.java:213)
> at
>
org.eclipse.ui.internal.EditorManager.createEditorTab(Editor Manager.java:778)
> at
>
org.eclipse.ui.internal.EditorManager.openEditorFromDescript or(EditorManager.java:677)
> at
> org.eclipse.ui.internal.EditorManager.openEditor(EditorManag er.java:638)
> at
>
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2854)
> at
>
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2762)
> at
> org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPag e.java:2754)
> at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.j ava:2705)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
> at
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2701)
> at
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2685)
> at
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2668)
> at org.eclipse.mylyn.tasks.ui.TasksUiUtil.openEditor(TasksUiUti l.java:192)
> at org.eclipse.mylyn.tasks.ui.TasksUiUtil.openTask(TasksUiUtil. java:314)
> at
>
org.eclipse.mylyn.internal.tasks.ui.util.TasksUiInternal.ref reshAndOpenTaskListElement(TasksUiInternal.java:269)
> at
>
org.eclipse.mylyn.internal.tasks.ui.actions.OpenTaskListElem entAction.runWithEvent(OpenTaskListElementAction.java:56)
> at
>
org.eclipse.mylyn.internal.tasks.ui.actions.OpenTaskListElem entAction.run(OpenTaskListElementAction.java:47)
> at
>
org.eclipse.mylyn.internal.tasks.ui.views.TaskListView$19.op en(TaskListView.java:1268)
> at
>
org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredV iewer.java:842)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at
> org.eclipse.core.runtime.Platform.run(Platform.java:888) at
> org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48) at
> org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:17 5) at
>
org.eclipse.jface.viewers.StructuredViewer.fireOpen(Structur edViewer.java:840)
> at
>
org.eclipse.jface.viewers.StructuredViewer.handleOpen(Struct uredViewer.java:1101)
> at
>
org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(Stru cturedViewer.java:1205)
> at
> org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrate gy.java:264)
> at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.ja va:258) at
> org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:298)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84) at
> org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003) at
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880) at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473) at
> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405) at
> org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369) at
> org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21) at
> org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500) at
>
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
> at
>
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149) at
>
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
> at
>
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
> at
>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
> at
>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
> at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
> at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597) at
> org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559) at
> org.eclipse.equinox.launcher.Main.basicRun(Main.java:514) at
> org.eclipse.equinox.launcher.Main.run(Main.java:1311)

--
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com
Re: Own Connector raises NullPointerException [message #478769 is a reply to message #478164] Thu, 06 August 2009 14:45 Go to previous messageGo to next message
Eclipse UserFriend
Thomas, please consider commenting on this bug once your connector is
publicly available:

148841: [connector] HP Quality Center (Mercury TestDirector)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=148841

Steffen


Thomas SZADEL wrote:

> Philippe Marschall wrote on Tue, 04 August 2009
>> About time! What version of QC do you support? How does it work (COM?)?
>> And most important, where can I get it?
>
>
> This is an alpha version (I started it last week)... thus, you cannot
> download any version... :blush: but I'm working on it (will be released
> under EPL license on sourceforge... asap)
>
> I'm working with QC 9.2 with Com4j ; I suppose that if you rebuild the
> com4j lib with another version of QC, it should work...
>
> Tom

--
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com
Re: Own Connector raises NullPointerException [message #478835 is a reply to message #478765] Fri, 07 August 2009 03:58 Go to previous message
Eclipse UserFriend
Steffen Pingel wrote on Thu, 06 August 2009 14:36
I would guess that your page factory does not return PRIORITY_TASK in
getPriority(). Still, this should not be happening. Can you file a new bug:


Effectively, you right... I didn't override getPriority()... now it works Very Happy
Thanks!

A bug has been posted here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=285969

Re: Own Connector raises NullPointerException [message #598524 is a reply to message #468270] Wed, 05 August 2009 10:40 Go to previous message
Eclipse UserFriend
On 2009-08-04 14:43:04 -0400, Philippe Marschall <kustos@gmx.net> said:

> Thomas SZADEL wrote:
>> Hello,
>>
>> I'm writing my own connector for HP Quality Center...
>
> About time! What version of QC do you support? How does it work (COM?)?
> And most important, where can I get it?

Doesn't HP claim to provide a connector as part of QC 10? Could have
sworn I saw that in their release literature. I never found the
download though.

Mark
Re: Own Connector raises NullPointerException [message #598531 is a reply to message #468445] Wed, 05 August 2009 11:45 Go to previous message
Eclipse UserFriend
Mark Phippard wrote:
> On 2009-08-04 14:43:04 -0400, Philippe Marschall <kustos@gmx.net> said:
>
>> Thomas SZADEL wrote:
>>> Hello,
>>>
>>> I'm writing my own connector for HP Quality Center...
>>
>> About time! What version of QC do you support? How does it work (COM?)?
>> And most important, where can I get it?
>
> Doesn't HP claim to provide a connector as part of QC 10? Could have
> sworn I saw that in their release literature. I never found the
> download though.

I've heard a similar rumor but never found anything concrete.

Cheers
Philippe
Re: Own Connector raises NullPointerException [message #598539 is a reply to message #468474] Wed, 05 August 2009 13:04 Go to previous message
Eclipse UserFriend
On 2009-08-05 11:45:31 -0400, Philippe Marschall
<philippe.marschall@netcetera.ch> said:

> Mark Phippard wrote:
>> On 2009-08-04 14:43:04 -0400, Philippe Marschall <kustos@gmx.net> said:
>>
>>> Thomas SZADEL wrote:
>>>> Hello,
>>>>
>>>> I'm writing my own connector for HP Quality Center...
>>>
>>> About time! What version of QC do you support? How does it work (COM?)?
>>> And most important, where can I get it?
>>
>> Doesn't HP claim to provide a connector as part of QC 10? Could have
>> sworn I saw that in their release literature. I never found the
>> download though.
>
> I've heard a similar rumor but never found anything concrete.

Yes, I can find no evidence that such a thing exists.

Mark
Re: Own Connector raises NullPointerException [message #598548 is a reply to message #468270] Thu, 06 August 2009 04:41 Go to previous message
Eclipse UserFriend
Philippe Marschall wrote on Tue, 04 August 2009
> About time! What version of QC do you support? How does it work (COM?)?
> And most important, where can I get it?


This is an alpha version (I started it last week)... thus, you cannot download any version... :blush: but I'm working on it (will be released under EPL license on sourceforge... asap)

I'm working with QC 9.2 with Com4j ; I suppose that if you rebuild the com4j lib with another version of QC, it should work...

Tom
Re: Own Connector raises NullPointerException [message #598556 is a reply to message #478164] Thu, 06 August 2009 09:12 Go to previous message
Eclipse UserFriend
On 2009-08-06 04:41:50 -0400, Thomas SZADEL
<thomas.szadel@atosorigin.com> said:

> Philippe Marschall wrote on Tue, 04 August 2009
>> About time! What version of QC do you support? How does it work (COM?)?
>> And most important, where can I get it?
>
>
> This is an alpha version (I started it last week)... thus, you cannot
> download any version... :blush: but I'm working on it (will be
> released under EPL license on sourceforge... asap)
>
> I'm working with QC 9.2 with Com4j ; I suppose that if you rebuild the
> com4j lib with another version of QC, it should work...

If you run into problems we have a lot of Apache 2 licensed QC Java code here.

http://ccf.open.collab.net/

It uses Jacob to access the otaclient COM library. The code works with
QC 9.0, 9.2 and 10 and fully exercises QC defects.

Mark
Re: Own Connector raises NullPointerException [message #598587 is a reply to message #478164] Thu, 06 August 2009 14:45 Go to previous message
Eclipse UserFriend
Thomas, please consider commenting on this bug once your connector is
publicly available:

148841: [connector] HP Quality Center (Mercury TestDirector)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=148841

Steffen


Thomas SZADEL wrote:

> Philippe Marschall wrote on Tue, 04 August 2009
>> About time! What version of QC do you support? How does it work (COM?)?
>> And most important, where can I get it?
>
>
> This is an alpha version (I started it last week)... thus, you cannot
> download any version... :blush: but I'm working on it (will be released
> under EPL license on sourceforge... asap)
>
> I'm working with QC 9.2 with Com4j ; I suppose that if you rebuild the
> com4j lib with another version of QC, it should work...
>
> Tom

--
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com
Re: Own Connector raises NullPointerException [message #598612 is a reply to message #478765] Fri, 07 August 2009 03:58 Go to previous message
Eclipse UserFriend
Steffen Pingel wrote on Thu, 06 August 2009 14:36
> I would guess that your page factory does not return PRIORITY_TASK in
> getPriority(). Still, this should not be happening. Can you file a new bug:


Effectively, you right... I didn't override getPriority()... now it works :d
Thanks!

A bug has been posted here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=285969
Previous Topic:Web Templates Connector & SourceForge
Next Topic:Task repository link provider failed: "null"
Goto Forum:
  


Current Time: Fri Jun 13 12:53:25 EDT 2025

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

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

Back to the top