Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Custom Workflow

I trying customize new Work Item and new Workflow for this Work Item. When click in the Work Item (Advanced)\Workflow, this error appear:

java.lang.NullPointerException

The Log view appear:

Problems occurred when invoking code from plug-in: "org.eclipse.jface".

Stack Trace
java.lang.NullPointerException
at com.ibm.team.workitem.ide.ui.internal.aspecteditor.workflow.WorkflowEditorPart$7.selectionChanged(WorkflowEditorPart.java:241)
at com.ibm.team.workitem.ide.ui.internal.editor.DecoratedControl.fireSelectionChanged(DecoratedControl.java:201)
at com.ibm.team.workitem.ide.ui.internal.editor.DecoratedControl.fireSelectionChanged(DecoratedControl.java:193)
at com.ibm.team.workitem.ide.ui.internal.editor.DecoratedCombo.setValue(DecoratedCombo.java:115)
at com.ibm.team.workitem.ide.ui.internal.aspecteditor.workflow.WorkflowEditorPart.flushDetails(WorkflowEditorPart.java:469)
at com.ibm.team.workitem.ide.ui.internal.aspecteditor.workflow.WorkflowEditorPart.setInput(WorkflowEditorPart.java:488)
at com.ibm.team.ui.editor.TeamFormSectionPart.setFormInput(TeamFormSectionPart.java:126)
at org.eclipse.ui.forms.ManagedForm.setInput(ManagedForm.java:239)
at com.ibm.team.workitem.ide.ui.internal.aspecteditor.workflow.WorkflowAspectEditor.inputChanged(WorkflowAspectEditor.java:218)
at com.ibm.team.workitem.ide.ui.internal.aspecteditor.AbstractWorkItemAspectEditor$2.selectionChanged(AbstractWorkItemAspectEditor.java:131)
at com.ibm.team.workitem.ide.ui.internal.editor.DecoratedControl.fireSelectionChanged(DecoratedControl.java:201)
at com.ibm.team.workitem.ide.ui.internal.editor.DecoratedControl.fireSelectionChanged(DecoratedControl.java:193)
at com.ibm.team.workitem.ide.ui.internal.editor.DecoratedCombo.setValue(DecoratedCombo.java:115)
at com.ibm.team.workitem.ide.ui.internal.aspecteditor.AbstractWorkItemAspectEditor.updateCombo(AbstractWorkItemAspectEditor.java:220)
at com.ibm.team.workitem.ide.ui.internal.aspecteditor.AbstractWorkItemAspectEditor.createControl(AbstractWorkItemAspectEditor.java:209)
at com.ibm.team.process.internal.ide.ui.editors.form.ProcessAspectDetailsPart.handleAspectSelected(ProcessAspectDetailsPart.java:306)
at com.ibm.team.process.internal.ide.ui.editors.form.ProcessAspectDetailsPart.access$1(ProcessAspectDetailsPart.java:231)
at com.ibm.team.process.internal.ide.ui.editors.form.ProcessAspectDetailsPart$SelectionListener.selectionChanged(ProcessAspectDetailsPart.java:83)
at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:880)
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.Viewer.fireSelectionChanged(Viewer.java:160)
at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2062)
at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1138)
at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1168)
at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:227)
at org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.java:221)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:388)
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:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
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:193)
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:386)
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:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

Session data:

eclipse.buildId=unknown
java.fullversion=J2RE 1.6.0 IBM J9 2.4 Windows XP x86-32 jvmwi3260sr4ifx-20090506_34991 (JIT enabled, AOT enabled)
J9VM - 20090506_034991_lHdSMr
JIT - r9_20090213_2028
GC - 20090213_AA
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product com.ibm.team.concert.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product com.ibm.team.concert.product



could someone help me, pls?


Tks,

Walter Farias

0 votes



4 answers

Permanent link
Hi
Is this reproducible?
If yes, could you please create a defect on jazz.net filed against Work Items/Process Editors and attach the process specification source of the project area where this happens.

Thanks

Marcel
Jazz Work Item team

0 votes


Permanent link
Any word on this. I've got the same problem.

Kind regards,

Jacob.

0 votes


Permanent link
I have the same trouble. It was there in RTC 2 RC2 and Now with 2.0

0 votes


Permanent link
Hi all
Please see defect 87162: Problem with Custom Workflow https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/87162 for a workaround. It is fixed in the upcoming 2.0.0.1 release (actually in 2.0.0.1 M1 of July 17).

Regards

Marcel
Jazz Work Item team

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jul 03 '09, 4:32 p.m.

Question was seen: 6,068 times

Last updated: Jul 03 '09, 4:32 p.m.

Confirmation Cancel Confirm