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 248353 - 4: Received message is too long: 774778395
Summary: 4: Received message is too long: 774778395
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: execution (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Maria Tishkova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-03 06:39 UTC by Exceptions Reporter
Modified: 2014-11-22 05:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 213095


Attachments
stacktrace (1.72 KB, text/plain)
2014-11-03 06:39 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-11-03 06:39:47 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.0.1 (Build 201408251540)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b17
OS: Mac OS X

User Comments:
GUEST: Attempted to add a host in "Services".




Stacktrace: 
4: Received message is too long: 774778395
   at com.jcraft.jsch.ChannelSftp.start(ChannelSftp.java:260)
   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:169)
   at org.netbeans.modules.nativeexecution.support.hostinfo.impl.UnixHostInfoProvider.getRemoteUserEnvironment(UnixHostInfoProvider.java:272)
   at org.netbeans.modules.nativeexecution.support.hostinfo.impl.UnixHostInfoProvider.getHostInfo(UnixHostInfoProvider.java:115)
Comment 1 Exceptions Reporter 2014-11-03 06:39:49 UTC
Created attachment 150220 [details]
stacktrace
Comment 2 Maria Tishkova 2014-11-21 14:47:36 UTC
fixed in trunk

changeset:   281081:e08ee039319f
tag:         tip
user:        Maria Dalmatova <mromashova@netbeans.org>
date:        Fri Nov 21 17:45:52 2014 +0400
summary:     fixed bz#248353    4: Received message is too long: 774778395
Comment 3 Quality Engineering 2014-11-22 05:52:03 UTC
Integrated into 'main-silver', will be available in build *201411220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/e08ee039319f
User: Maria Dalmatova <mromashova@netbeans.org>
Log: fixed bz#248353    4: Received message is too long: 774778395
it's a known jsch bug
 http://www.snailbook.com/faq/sftp-corruption.auto.html
we needed to hangle it correctly
see also bz#239681 (the fix was not complete, worked for unit tests only mode)