Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 262338

Summary: NullPointerException when submitting an update to a bug.
Product: z_Archived Reporter: David Green <greensopinion>
Component: MylynAssignee: Robert Elves <robert.elves>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: eclipse, steffen.pingel
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip none

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 ***