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 269681 - 4: Received message is too long: 1097295209
Summary: 4: Received message is too long: 1097295209
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: execution (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: ilia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-30 06:54 UTC by Exceptions Reporter
Modified: 2017-04-13 10:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 227860


Attachments
stacktrace (1.94 KB, text/plain)
2017-01-30 06:54 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2017-01-30 06:54:39 UTC
This bug was originally marked as duplicate of bug 239681, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.101-b13, Java(TM) SE Runtime Environment, 1.8.0_101-b13
OS: Windows 8.1

User Comments:
GUEST: Problem occured after a try to reconnect to build host (ssh with password)




Stacktrace: 
4: Received message is too long: 1097295209
   at com.jcraft.jsch.ChannelSftp.start(ChannelSftp.java:265)
   at com.jcraft.jsch.Channel.connect(Channel.java:152)
   at com.jcraft.jsch.Channel.connect(Channel.java:145)
   at org.netbeans.modules.nativeexecution.api.util.HelperUtility.getPath(HelperUtility.java:172)
   at org.netbeans.modules.nativeexecution.support.hostinfo.impl.UnixHostInfoProvider.getRemoteUserEnvironment(UnixHostInfoProvider.java:290)
   at org.netbeans.modules.nativeexecution.support.hostinfo.impl.UnixHostInfoProvider.getHostInfo(UnixHostInfoProvider.java:122)
Comment 1 Exceptions Reporter 2017-01-30 06:54:41 UTC
Created attachment 163505 [details]
stacktrace
Comment 2 ilia 2017-04-06 11:12:53 UTC
I was able to reproduce issue with Dockerfile:

FROM elijahth/ubuntu-ssh-server
MAINTAINER Ilia Gromov <ilia.gromov@oracle.com>

RUN echo "printf 'Let us break jsch handshake procedure!'" > ~/file.txt
RUN cat ~/file.txt ~/.bashrc > ~/.bashrc.new
RUN mv ~/.bashrc.new ~/.bashrc
Comment 3 ilia 2017-04-06 15:43:06 UTC
Fixed in release82
315196:8a8e1457bc11
Comment 4 Quality Engineering 2017-04-11 01:53:45 UTC
Integrated into 'main-silver', will be available in build *201704110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/31ee13196852
User: Ilia Gromov <ilia@netbeans.org>
Log: Fixed #269681 - 4: Received message is too long: 1097295209
(transplanted from 8a8e1457bc11389343e803bafefac730230f9f99)
Comment 5 ilia 2017-04-13 10:37:06 UTC
https://netbeans.org/bugzilla/show_bug.cgi?id=269681 Changesets:
    http://hg.netbeans.org/releases/rev/8a8e1457bc11 # Fixed #269681 - 4: Received message is too long: 1097295209