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 199660 - Exception in remote tests
Summary: Exception in remote tests
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-23 13:47 UTC by Vladimir Kvashin
Modified: 2011-07-12 12:26 UTC (History)
0 users

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 Vladimir Kvashin 2011-06-23 13:47:31 UTC
I've found an exception in tests log that looks quite unpleasant:

java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Illegal Capacity: -2
	at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
	at java.util.concurrent.FutureTask.get(FutureTask.java:83)
	at org.netbeans.modules.remote.impl.fs.DirectoryReaderSftp.readDirectory(DirectoryReaderSftp.java:86)
	at org.netbeans.modules.remote.impl.fs.RemoteDirectory.readEntries(RemoteDirectory.java:474)
	at org.netbeans.modules.remote.impl.fs.RemoteDirectory.getDirectoryStorageImpl(RemoteDirectory.java:911)
	at org.netbeans.modules.remote.impl.fs.RemoteDirectory.getDirectoryStorage(RemoteDirectory.java:447)
	at org.netbeans.modules.remote.impl.fs.RemoteDirectory.getChildren(RemoteDirectory.java:410)

...

Caused by: java.lang.IllegalArgumentException: Illegal Capacity: -2
	at java.util.ArrayList.<init>(ArrayList.java:110)
	at org.netbeans.modules.nativeexecution.api.util.SftpSupport$LsLoader.call(SftpSupport.java:577)
	at org.netbeans.modules.nativeexecution.api.util.SftpSupport$LsLoader.call(SftpSupport.java:559)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1424)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1968)
Comment 1 Vladimir Kvashin 2011-06-26 19:47:24 UTC
http://hg.netbeans.org/releases/rev/2f23b395efc7
Comment 2 Vladimir Kvashin 2011-06-30 11:04:43 UTC
It is in release701_dev, not release701. So it is still a candidate.
Comment 3 dnikitin 2011-06-30 12:54:24 UTC
the fix couldn't be verified by QA
Comment 4 Alexander Simon 2011-06-30 13:07:35 UTC
Fix safe and right.
Comment 5 Vladimir Kvashin 2011-07-01 17:21:52 UTC
transplanted to release701
http://hg.netbeans.org/releases/rev/592978793ec6
Comment 6 Quality Engineering 2011-07-05 13:57:27 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/0c6f93e95196
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed #199660 - Exception in remote tests
(transplanted from 2f23b395efc75bf3bc86161a5da39920c201e34a)
(transplanted from 592978793ec62fdbf6d064f57bce6e1980a40c01)
Comment 7 Quality Engineering 2011-07-06 00:00:33 UTC
Integrated into 'releases'
Changeset: http://hg.netbeans.org/releases/rev/592978793ec6
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed #199660 - Exception in remote tests
(transplanted from 2f23b395efc75bf3bc86161a5da39920c201e34a)
Comment 8 Alexander Pepin 2011-07-12 12:26:44 UTC
It does not need verification.