Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 262338 - NullPointerException when submitting an update to a bug.
Summary: NullPointerException when submitting an update to a bug.
Status: RESOLVED DUPLICATE of bug 255417
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Robert Elves CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-25 22:45 EST by David Green CLA
Modified: 2009-01-26 15:51 EST (History)
2 users (show)

See Also:


Attachments
mylyn/context/zip (1.46 KB, application/octet-stream)
2009-01-26 15:35 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 David Green CLA 2009-01-25 22:45:51 EST
Steps that caused the problem:

# Opened bug 262301
# Filled in the new comment section
# Updated status to Resolve As Fixed
# Pressed submit
# error occurred

bc.. 
-- Error Details --
Date: Sun Jan 25 19:40:31 PST 2009
Message: Unexpected error during task submission
Severity: Error
Plugin: org.eclipse.mylyn.tasks.core
Session Data:
eclipse.buildId=M20080911-1700
java.version=1.5.0_16
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US
Framework arguments:  -keyring /Users/dgreen/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws carbon -arch x86 -keyring /Users/dgreen/.eclipse_keyring -showlocation


Exception Stack Trace:
java.lang.NullPointerException
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.releaseConnection(MultiThreadedHttpConnectionManager.java:1423)
at org.apache.commons.httpclient.HttpMethodBase.ensureConnectionRelease(HttpMethodBase.java:2430)
at org.apache.commons.httpclient.HttpMethodBase.releaseConnection(HttpMethodBase.java:1186)
at org.eclipse.mylyn.internal.bugzilla.core.BugzillaClient.postTaskData(BugzillaClient.java:1026)
at org.eclipse.mylyn.internal.bugzilla.core.BugzillaTaskDataHandler.postTaskData(BugzillaTaskDataHandler.java:365)
at org.eclipse.mylyn.internal.tasks.core.sync.SubmitTaskJob.run(SubmitTaskJob.java:78)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Comment 1 David Green CLA 2009-01-26 11:54:12 EST
I forgot to mention: I checked 'Attach Context' before pressing submit
Comment 2 Frank Becker CLA 2009-01-26 15:34:44 EST
Is this the same as in bug# 255417 ?

I can not reproduce this.
Comment 3 Frank Becker CLA 2009-01-26 15:35:56 EST
Created attachment 123806 [details]
mylyn/context/zip
Comment 4 Steffen Pingel CLA 2009-01-26 15:51:36 EST
Thanks Frank, I believe it's a race condition between releasing the connection in the client and the cleanup thread that closes idle connections.

*** This bug has been marked as a duplicate of bug 255417 ***