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 182944 - Disconnect from remote host causes hang of IDE and GNOME desktop
Summary: Disconnect from remote host causes hang of IDE and GNOME desktop
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: execution (show other bugs)
Version: 6.x
Hardware: PC Linux
: P1 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
: 176915 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-03-26 17:31 UTC by Alexander Pepin
Modified: 2010-04-02 04:57 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pepin 2010-03-26 17:31:19 UTC
Steps to reproduce:
- add a remote host and set as default
- create a project
- build it
- open Services tab
- select the remote host under "C/C++ Development Hosts" node
- call "Disconnect"
Result: Empty "Warning" window appears and 5-10 sec later it displays "A java.net.ConnectException has occured....".
After that nothing can be done neither with IDE nor with GNOME desktop as input focus gets stuck on the Warning window.
Comment 1 Alexander Pepin 2010-03-26 17:32:51 UTC
IDE log shows:

SEVERE [org.openide.util.Exceptions]
java.net.ConnectException
	at org.netbeans.modules.nativeexecution.api.util.HostInfoUtils.fileExists(HostInfoUtils.java:103)
	at org.netbeans.modules.dlight.perfan.storage.impl.ErprintSession$1.run(ErprintSession.java:101)
[catch] at org.netbeans.modules.dlight.util.DLightExecutorService$2.run(DLightExecutorService.java:89)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1356)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1894)
Comment 2 Alexander Pepin 2010-03-26 17:37:34 UTC
*** Bug 176915 has been marked as a duplicate of this bug. ***
Comment 3 Alexander Pepin 2010-03-26 17:39:41 UTC
It's a permanently (cyclically) occurring exception.
Comment 4 Andrew Krasny 2010-03-29 08:45:56 UTC
Cannot reproduce with the current build....
Comment 5 Vladimir Kvashin 2010-03-29 18:39:23 UTC
I can reproduce this.
The issue is in incorrect error processing in ErprintSession class.
Comment 7 Quality Engineering 2010-04-02 04:57:38 UTC
Integrated into 'main-golden', will be available in build *201004020200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/519207caac74
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: Fixed #182944 -  Disconnect from remote host causes hang of IDE and GNOME desktop