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 258975 - org.netbeans.modules.nativeexecution.api.util.ConnectionManager$CancellationException: Connection cancelled for cashlab@10.0.3.57
Summary: org.netbeans.modules.nativeexecution.api.util.ConnectionManager$CancellationE...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: execution (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: ilia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-22 15:24 UTC by Exceptions Reporter
Modified: 2017-07-20 17:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 223696


Attachments
stacktrace (1.55 KB, text/plain)
2016-04-22 15:24 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2016-04-22 15:24:17 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.71-b15, Java(TM) SE Runtime Environment, 1.8.0_71-b15
OS: Windows 7

User Comments:
GUEST: -




Stacktrace: 
org.netbeans.modules.nativeexecution.api.util.ConnectionManager$CancellationException: Connection cancelled for cashlab@10.0.3.57
   at org.netbeans.modules.nativeexecution.api.util.ConnectionManager.initiateConnection(ConnectionManager.java:481)
   at org.netbeans.modules.nativeexecution.api.util.ConnectionManager.connectTo(ConnectionManager.java:417)
   at org.netbeans.modules.nativeexecution.api.util.HostInfoUtils.getHostInfo(HostInfoUtils.java:285)
   at org.netbeans.modules.nativeexecution.api.util.HostInfoUtils.getHostInfo(HostInfoUtils.java:255)
   at org.netbeans.modules.cnd.discovery.projectimport.ExecuteCommand.prepare(ExecuteCommand.java:120)
   at org.netbeans.modules.cnd.discovery.projectimport.ExecuteCommand.performAction(ExecuteCommand.java:110)
Comment 1 Exceptions Reporter 2016-04-22 15:24:19 UTC
Created attachment 159400 [details]
stacktrace
Comment 2 ilia 2017-07-03 12:58:24 UTC
Easy way to reproduce:
Place a breakpoint at JSchConnectionTask.connect(line 113)
Later when breakpoint will hit set cancelled to true

Create a project with existing sources (from a simple Makefile), use a remote host as a build host.
Comment 3 ilia 2017-07-03 13:07:03 UTC
* also use Automatic mode in the wizard, not custom
Comment 4 Quality Engineering 2017-07-20 17:50:52 UTC
Integrated into 'main-silver', will be available in build *201707201608* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/4121c7d631ea
User: Ilia Gromov <ilia@netbeans.org>
Log: Fixed #258975 - org.netbeans.modules.nativeexecution.api.util.ConnectionManager$CancellationException: Connection cancelled for cashlab@10.0.3.57