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 270655 - IllegalStateException: Cannot call connect() twice
Summary: IllegalStateException: Cannot call connect() twice
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Terminalemulator (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: ilia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-16 10:13 UTC by ilia
Modified: 2017-05-16 10:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 229165


Attachments
stacktrace (1.52 KB, text/plain)
2017-05-16 10:13 UTC, ilia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ilia 2017-05-16 10:13:38 UTC
This bug was originally marked as duplicate of bug 258483, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 20170504-63e15ba37eaa)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.91-b14, Java(TM) SE Runtime Environment, 1.8.0_91-b14
OS: Linux

User Comments:
ilia: 1) Enter new remote host credentials when connecting to a remote terminal
2) Press NO when offered to add key to known_hosts




Stacktrace: 
java.lang.IllegalStateException: Cannot call connect() twice
   at org.netbeans.lib.terminalemulator.StreamTerm.connect(StreamTerm.java:297)
   at org.netbeans.modules.terminal.ioprovider.Task$Connect.perform(Task.java:438)
   at org.netbeans.modules.terminal.ioprovider.Task.dispatch(Task.java:148)
   at org.netbeans.modules.terminal.ioprovider.Task.access$000(Task.java:76)
   at org.netbeans.modules.terminal.ioprovider.Task$1.run(Task.java:133)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
Comment 1 ilia 2017-05-16 10:13:40 UTC
Created attachment 164328 [details]
stacktrace
Comment 2 ilia 2017-05-16 10:30:12 UTC
Can't reproduce it again.

Anywat, pressing NO leads to this confirmation dialog popping out again and again until you press yes.