Bug 179746 - Cannot refresh 2 bugs at the same time
Cannot refresh 2 bugs at the same time
Product: Fedora
Classification: Fedora
Component: eclipse-bugzilla (Show other bugs)
All Linux
high Severity medium
: ---
: ---
Assigned To: Igor Foox
Depends On:
  Show dependency treegraph
Reported: 2006-02-02 11:57 EST by Igor Foox
Modified: 2007-11-30 17:11 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-07 16:05:26 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
TestCase (2.79 KB, text/plain)
2006-02-02 14:43 EST, Igor Foox
no flags Details

  None (edit)
Description Igor Foox 2006-02-02 11:57:15 EST
Description of problem:
The plugin cannot refresh 2 bugs at the same time from one bugzilla. Small 'x'
icons appear on the bugs and their information is not fetched.

Version-Release number of selected component (if applicable):

How reproducible:
Almost always. Sometimes doesn't happen in an unpredictable fasion.

Steps to Reproduce:
1.Make query with more than 1 result.
2.Select group of bugs, right click, hit Refresh.
3.While previous group still refreshin, select another group, right-click, hit
Actual results:
Red 'x' icons appear on all/some icons of the bugs that should be refreshed. No
info is fetched. Sometimes an error message pops up.

Expected results:
No erros, multiple bugs fetched simultaneously.

Additional info:

This seems to be happening in the HTTPConnection.ConnectingThread class in the
getStream() method.
Comment 1 Igor Foox 2006-02-02 12:04:27 EST
Not reproducable with IBM jvm.
Comment 2 Igor Foox 2006-02-02 14:43:57 EST
Created attachment 124070 [details]

This might be more than one bug in a relaed area of code, but here's one path
through the code that breaks it.
Comment 3 Igor Foox 2006-02-02 14:46:47 EST
Versions of related packages:
Comment 4 Igor Foox 2006-02-02 14:49:20 EST
Tom, could you take a look? Maybe you would be able to figure out where the
problem is occuring here.
Comment 5 Igor Foox 2006-02-02 15:17:45 EST
I can't reproduce this with the lateset gcc from rawhide (4.1.0-0.18), so it may
be something that's fixed there.
Comment 6 Tom Tromey 2006-02-03 16:06:22 EST
With 4.0 I see:

opsy. gij ConnectingThread
Opened connection to http://bugzilla.kernel.org/xml.cgi?id=2897
Opened connection to http://bugzilla.kernel.org/xml.cgi?id=2898
Exception in thread "Thread-2" java.lang.NullPointerException
   at gnu.java.net.LineInputStream.LineInputStream(java.io.InputStream,
java.lang.String) (/home/tromey/gnu/4.0/install/lib/libgcj.so.6.0.0)
   at gnu.java.net.LineInputStream.LineInputStream(java.io.InputStream)
   at gnu.java.net.protocol.http.Request.dispatch()
   at gnu.java.net.protocol.http.HTTPURLConnection.connect()
   at ConnectingThread.run() (Unknown Source)
   at .GC_start_routine (/home/tromey/gnu/4.0/install/lib/libgcj.so.6.0.0)
   at .__clone (/lib/libc-2.3.5.so)
Connected to http://bugzilla.kernel.org/xml.cgi?id=2897

This sounds vaguely familiar, I think it is a known http protocol
handler bug that was fixed for 4.1.  I can't reproduce with my 4.1 gcj.

Unless you need this fixed in 4.0.x, I am going to stop looking at it now.
We could close it as fixed/rawhide, what do you think?
Comment 7 Igor Foox 2006-02-07 16:05:26 EST
It's not very high-priority, so I'll close this as fixed/rawhide. If you happen
to have to have a lot of free time on your hands it'd be nice to be fix this ;-).

Note You need to log in before you can comment on or make changes to this bug.