Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368109 - unable to create new task on bugzilla repository.
Summary: unable to create new task on bugzilla repository.
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 3.7   Edit
Assignee: Frank Becker CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 369788 373351 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-01-08 15:25 EST by Richard A. Sitze CLA
Modified: 2012-03-10 06:30 EST (History)
4 users (show)

See Also:


Attachments
workflow description file used (725 bytes, text/plain)
2012-01-08 17:01 EST, Richard A. Sitze CLA
no flags Details
mylyn/context/zip (6.56 KB, application/octet-stream)
2012-03-02 14:41 EST, Frank Becker CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard A. Sitze CLA 2012-01-08 15:25:28 EST
What steps will reproduce the problem?
1. On my system, in "Task List,"
2. right-click, "New", "Task"
3. Select repository, "Finish"

-- Error Details --
Date: Sun Jan 08 14:19:20 CST 2012
Message: Error creating new task
Severity: Error
Product: Eclipse 1.4.1.20110909-0613 (org.eclipse.epp.package.jee.product)
Plugin: org.eclipse.mylyn.tasks.ui
Session Data:
eclipse.buildId=M20110909-1335
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

Exception Stack Trace:
java.lang.NullPointerException
	at org.eclipse.mylyn.internal.bugzilla.core.RepositoryConfiguration.addValidOperationsBefore4(RepositoryConfiguration.java:810)
	at org.eclipse.mylyn.internal.bugzilla.core.RepositoryConfiguration.addValidOperations(RepositoryConfiguration.java:672)
	at org.eclipse.mylyn.internal.bugzilla.core.BugzillaTaskDataHandler.initializeNewTaskDataAttributes(BugzillaTaskDataHandler.java:541)
	at org.eclipse.mylyn.internal.bugzilla.core.BugzillaTaskDataHandler.initializeTaskData(BugzillaTaskDataHandler.java:474)
	at org.eclipse.mylyn.internal.tasks.ui.util.TasksUiInternal.createTaskData(TasksUiInternal.java:826)
	at org.eclipse.mylyn.tasks.ui.wizards.NewTaskWizard$1.run(NewTaskWizard.java:102)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Comment 1 Richard A. Sitze CLA 2012-01-08 15:30:45 EST
seems related to checking the "use xmlrpc.cgi" checkbox on the repository "additional settings".
I can create a task when this is not checked.

Using bugzilla 4.0.3.
Comment 2 Richard A. Sitze CLA 2012-01-08 17:01:03 EST
Created attachment 209180 [details]
workflow description file used
Comment 3 Richard A. Sitze CLA 2012-01-08 17:01:16 EST
also occurs with a custom workflow file.
Comment 4 Steffen Pingel CLA 2012-01-31 00:53:59 EST
*** Bug 369788 has been marked as a duplicate of this bug. ***
Comment 5 Sam Hasler CLA 2012-01-31 04:59:40 EST
I'm also using a custom workflow file, so that might be the cause of the stacktrace in bug 369788.
Comment 6 Frank Becker CLA 2012-03-02 14:41:45 EST
I can not reproduce this with the latest version.

We have done some changes in this area, can you please retry to reproduce this with the latest build.
Comment 7 Frank Becker CLA 2012-03-02 14:41:48 EST
Created attachment 212000 [details]
mylyn/context/zip
Comment 8 Richard A. Sitze CLA 2012-03-02 19:28:56 EST
Works just fine now with Indigo SR2.
Comment 9 Steffen Pingel CLA 2012-03-03 05:46:41 EST
Thanks for verifying. I'll mark this as resolved but please reopen in case you run into this error again.
Comment 10 Peter Moolenaar CLA 2012-03-10 06:30:57 EST
*** Bug 373351 has been marked as a duplicate of this bug. ***