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 231137 - IllegalArgumentException: Base directory '"/pub/todolist"' must start with '/'
Summary: IllegalArgumentException: Base directory '"/pub/todolist"' must start with '/'
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-12 12:43 UTC by Tomas Mysik
Modified: 2013-06-13 01:16 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 201351


Attachments
stacktrace (5.14 KB, text/plain)
2013-06-12 12:43 UTC, Tomas Mysik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2013-06-12 12:43:52 UTC
Build: NetBeans IDE Dev (Build 20130612-f5adf178f9cc)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11
OS: Linux

User Comments:
tmysik: uploading project via ftp




Stacktrace: 
java.lang.IllegalArgumentException: Base directory '"/pub/todolist"' must start with '/'
   at org.netbeans.modules.php.project.connections.transfer.TransferFile.<init>(TransferFile.java:118)
   at org.netbeans.modules.php.project.connections.transfer.LocalTransferFile.<init>(LocalTransferFile.java:69)
   at org.netbeans.modules.php.project.connections.transfer.TransferFile.fromFile(TransferFile.java:182)
   at org.netbeans.modules.php.project.connections.transfer.TransferFile.fromFile(TransferFile.java:146)
   at org.netbeans.modules.php.project.connections.transfer.LocalTransferFile.fetchChildren(LocalTransferFile.java:115)
   at org.netbeans.modules.php.project.connections.transfer.TransferFile.initChildren(TransferFile.java:513)
Comment 1 Tomas Mysik 2013-06-12 12:43:53 UTC
Created attachment 135685 [details]
stacktrace
Comment 2 Tomas Mysik 2013-06-12 12:47:23 UTC
Just discovered while downloading a PHP project.
Comment 3 Tomas Mysik 2013-06-12 13:04:39 UTC
Caused by #230845 - see issue in commons-net [1]. I will work around it.

Thanks.
[1] https://issues.apache.org/jira/browse/NET-492
Comment 4 Tomas Mysik 2013-06-12 16:10:03 UTC
Adding Jarda to CC, please check your modules whether they work fine with this commons-net issue. Sorry for inconveniences.

Thanks.
Comment 6 Jaroslav Havlin 2013-06-12 19:04:26 UTC
(In reply to comment #4)
> Adding Jarda to CC, please check your modules whether they work fine with this
> commons-net issue. Sorry for inconveniences.
FTPClient is not used in Hudson-related modules, so they are not affected.
Thanks for notifying me.
Comment 7 Quality Engineering 2013-06-13 01:16:38 UTC
Integrated into 'main-golden', will be available in build *201306122301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/79c2e705e1d6
User: Tomas Mysik <tmysik@netbeans.org>
Log: #231137 - IllegalArgumentException: Base directory '"/pub/todolist"' must start with '/'

Workaround for commons-net issue 492.