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 257335 - IllegalArgumentException: timeout can't be negative
Summary: IllegalArgumentException: timeout can't be negative
Status: RESOLVED WORKSFORME
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-30 07:05 UTC by shailesh345
Modified: 2016-06-02 13:01 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 221894


Attachments
stacktrace (1.13 KB, text/plain)
2015-12-30 07:05 UTC, shailesh345
Details

Note You need to log in before you can comment on or make changes to this bug.
Description shailesh345 2015-12-30 07:05:19 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147
OS: Windows NT (unknown)

User Comments:
shailesh345: ftp connection no response




Stacktrace: 
java.lang.IllegalArgumentException: timeout can't be negative
   at java.net.Socket.setSoTimeout(Socket.java:1091)
   at org.apache.commons.net.SocketClient._connectAction_(SocketClient.java:153)
   at org.apache.commons.net.ftp.FTP._connectAction_(FTP.java:378)
   at org.apache.commons.net.ftp.FTPClient._connectAction_(FTPClient.java:924)
   at org.apache.commons.net.ftp.FTPSClient._connectAction_(FTPSClient.java:207)
   at org.apache.commons.net.SocketClient.connect(SocketClient.java:183)
Comment 1 shailesh345 2015-12-30 07:05:21 UTC
Created attachment 157948 [details]
stacktrace
Comment 2 Tomas Mysik 2016-01-04 08:38:45 UTC
(In reply to shailesh345 from comment #0)
> java.lang.IllegalArgumentException: timeout can't be negative

You perhaps entered number < 0 for timeout? I will add a check for it.

Thanks for reporting.
Comment 3 Tomas Mysik 2016-06-02 13:01:50 UTC
This is already fixed, please use a newer version of NetBeans.

Thanks.