This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 182768 - [69cat] Issue TC closed when I/O error occured
Summary: [69cat] Issue TC closed when I/O error occured
Status: RESOLVED WONTFIX
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Bugzilla (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal with 2 votes (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-25 12:37 UTC by misterm
Modified: 2010-03-30 08:25 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (52.82 KB, application/octet-stream)
2010-03-25 13:02 UTC, misterm
Details
messages.log with flags turned on (59.21 KB, application/octet-stream)
2010-03-25 15:56 UTC, misterm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description misterm 2010-03-25 12:37:24 UTC
When opening a bug from the Exception reporter window, for instance, sometimes an I/O error occurred. In these situations, the upper links on the top component tab are not shown. It would be very helpful to have them there.
Comment 1 Tomas Stupka 2010-03-25 12:41:38 UTC
> upper links on the top component tab
not sure what links in what tab you refer to

describing the io exception and attaching the messages.log could be also usefull
Comment 2 misterm 2010-03-25 12:43:59 UTC
I/O error occurred while communicating with http://netbeans.org/bugzilla.

Socket exception: Connection reset
Comment 3 misterm 2010-03-25 12:44:50 UTC
messages.log contains no messages regarding this.
Comment 4 Tomas Stupka 2010-03-25 12:50:36 UTC
> upper links on the top component tab
not sure what links in what tab you refer to

are the "missing links" the only thing which is wrong with "the tab"? any chance to attach a screenshot?

> messages.log contains no messages regarding this.
thanks for analyzing the messages log, but i still would like to ask you to attach it to the issue. there still might be other useful information for us you aren't aware of. 

thanks
Comment 5 misterm 2010-03-25 12:54:09 UTC
The links:

Add to Tasklist | Refresh Issue | Reload Attributes | Show in Browser

that are shown when a bug is normally displayed.
Comment 6 Tomas Stupka 2010-03-25 12:57:15 UTC
so its the issue editor where the links are missing

i still need the messages.log file
Comment 7 Tomas Stupka 2010-03-25 12:58:05 UTC
A Step by Step Guide to filing a useful bug report for the NetBeans Community
http://wiki.netbeans.org/IssueReportingGuidelines
Comment 8 misterm 2010-03-25 13:02:20 UTC
Created attachment 95796 [details]
messages.log
Comment 9 misterm 2010-03-25 13:06:01 UTC
Attached messages.log. Now you can waste your time checking it has nothing that helps you there.

Acting like you are doing will just cause users not to collaborate. Please be less arrogant, especially when you are talking to someone who has been helping NB for years.
Comment 10 Michel Graciano 2010-03-25 13:07:13 UTC
(In reply to comment #5)
> The links:
> 
> Add to Tasklist | Refresh Issue | Reload Attributes | Show in Browser
> 
> that are shown when a bug is normally displayed.

Well, I think that what Michael means is when an exception is thrown when trying to open an issue inside the IDE, for example an IO exception, at least the links should be shown allowing to user for example reload the issue or open it in the browser. Personally I agree this is really useful.
Comment 11 Tomas Stupka 2010-03-25 13:56:14 UTC
> at least the links should be shown allowing to user for example reload the 
> issue or open it in the browser. Personally I agree this is really useful.
of course, i agree with that

> Attached messages.log. Now you can waste your time checking it has nothing > that helps you there
now, after i have seen the log file i agree that there is nothing about the error indeed. I have no problem to admit that. As a matter of fact, now i also know what build you use and that there are no other warnings or errors from other modules which might have their part in the problem and you might have overseen them. 

in the mean time i've tried to reproduce the problem by forcing an io.exception from where i though it might have happen but without success. The issue dialog was properly rendered anyway, so i would need more detailed log info from you. 
please run netbeans with the switches 
-J-Dorg.netbeans.modules.bugzilla.Bugzilla.level=-1
-J-Dorg.netbeans.modules.bugracking.BugtrackingManager.level=-1

and attach you log after you are able to reproduce the problem.

thanks again
Comment 12 Michel Graciano 2010-03-25 14:14:46 UTC
Well, it is an random problem since in the truth it happens when bz hangs or is out. To reproduce it you can just do these steps:
1. open Exception Reporter and click at Show My Issues. You can see the exceptions you sent previously;
2. Turn off your internet connection, for example removing your lan cable;
3. Click at any Issue (second column) and you will see an IO error.

Well, in this point you should be able to reproduce the problem since the issue tab is closed and you need to click in the link again. Indeed when you face this problem when clicking at bug link when an issue is just sent, sometimes the link go away since another bug was already sent and the page have just be replaced.
Comment 13 Tomas Stupka 2010-03-25 14:18:42 UTC
> 2. Turn off your internet connection, for example removing your lan cable;
i've tried that already with no effect
Comment 14 misterm 2010-03-25 15:35:38 UTC
Michel's steps to reproduce work for me. Strange they don't work for you, Tomas. I will attach the log produced with the flags on.
Comment 15 misterm 2010-03-25 15:56:51 UTC
Created attachment 95836 [details]
messages.log with flags turned on

Now it contains the exception and other information you need.
Comment 16 Tomas Stupka 2010-03-25 16:21:03 UTC
i've tried a few more times but still without success. 

now - what exactly did i do:
- steps 1.) - 3.)
- after the io error i've turned the connection on and clicked the same issue - it was opened and the links were visible.

did i get right or do i still miss something from your description?

and more - I've even changed my font settings to default and played with the topcomponent arrangement,  if that could have, for whatever reason, some effect 
.

could you attach a screenshot from your whole IDE so i could try with the same layout as you have?
Comment 17 misterm 2010-03-25 16:30:52 UTC
Ok, Tomas, from your description you were able to reproduce the issue; it seems you didn't understand what I meant though.

Current behaviour: when an I/O error occurs when clicking on the issue, a dialog is shown and once the users clicks on it, the tab for the issue is closed.

Expected behaviour: when the error occurs, the dialog is shown and after the user clicks on it the tab *keeps being shown* with the upper links available (Add to Tasklist | Refresh Issue | Reload Attributes | Show in Browser).

Justification/use case: I'm getting several slowness reports on my IDE. When I'm done doing my main work on the IDE and hit Build, for instance, I start submiting all of these, one by one. Once the Exception reporter brings the result for the submission, I click on the bug if it exists and start submitting a new one. So, I no longer have the link for the bug. That's why it's important that I can either try to load the issue again from the tab or open it in the browser.

I hope it is clear now.
Comment 18 Tomas Stupka 2010-03-25 20:07:08 UTC
ah! so it's not only that the links aren't shown in the issue top component, it's that the whole TC you miss. I think i've got it now.
Comment 19 Tomas Stupka 2010-03-29 19:40:05 UTC
>  So, I no longer have the link for the bug. 
the links for all issues reported by you are easily available via the "Show my issues" button and sorter in the order the relevant exception reports were created. 

few more things:
1.) the problem as described is a situation caused by a slow responsiveness of our bugzilla (which should be fixed on the server) and doesn't seem to be a typical scenario anyway
2.) this isn't a defect and everything works as designed. To fix as suggested would:
2A.) ask for deeper changes in the actual bugracking infrastructure and bring only minor additional value - issues are still accessible without big effort from the exception reporter window
2B.) probably not everybody will be happy about an empty window taking up place in the editor just to work as a container for an action which does something that already is available via "Show my issues":
- to eventually reopen the issue again
- "Open in browser" makes no sense if the connection would be really down
- "reload attributes" makes no sense at all. 

invalid or wontfix, not really sure about the resolution ...
Comment 20 Tomas Stupka 2010-03-29 19:41:09 UTC
xdesign on cc
Comment 21 misterm 2010-03-29 19:49:25 UTC
> 1.) the problem as described is a situation caused by a slow responsiveness of
> our bugzilla (which should be fixed on the server) and doesn't seem to be a
> typical scenario anyway

This happens to me several times a day.

> 2B.) probably not everybody will be happy about an empty window taking up place
> in the editor just to work as a container for an action which does something
> that already is available via "Show my issues":

Not quite true. If you submit several issues on a row and try to open all of them asynchronously, by the time you get the I/O error you don't know which issue you were trying to open in the first place and there might 5 or 6 submitted in this session which you have checked. So it is a major inconvenience.

> - "Open in browser" makes no sense if the connection would be really down

Every time this happened to me, bz wasn't down. In fact, its web version was working pretty fast, btw.

Would you please reconsider?
Comment 22 Ondrej Langr 2010-03-30 08:25:37 UTC
As a netbeans UI responsible, I was approached and requested opinion on this issue. 

While I understand that for the reporter, this particular situation was an inconvenience, I do believe that the kind of workflow this was encountered in is not common and and even when this happens the workaround is easily available. 

So I suggest to keep closed and focus on other issues still existing and affecting significant amount of our users instead. We can always reopen if we encounter duplicates in the future.