ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 35203] - NullPointerException thrown when using ftp and passive="yes"
Date Wed, 22 Jun 2005 14:02:03 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35203>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35203


perryhg@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW




------- Additional Comments From perryhg@gmail.com  2005-06-22 16:01 -------
I did manage to modify the source code to set default passive mode to true then
recompile, and got the same error.
Stack trace as follow: 
C:\report_public\autodownload\conf\build.xml:151: java.lang.NullPointerException

        at org.apache.tools.ant.Task.perform(Task.java:373)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:40)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.Main.runBuild(Main.java:668)
        at org.apache.tools.ant.Main.startAnt(Main.java:187)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Caused by: java.lang.NullPointerException
        at org.apache.tools.ant.taskdefs.optional.net.FTP$FTPDirectoryScanner.ch
eckRemoteSensitivity(FTP.java:527)
        at org.apache.tools.ant.taskdefs.optional.net.FTP$FTPDirectoryScanner.li
stFiles(FTP.java:507)
        at org.apache.tools.ant.taskdefs.optional.net.FTP$FTPDirectoryScanner.sc
andir(FTP.java:329)
        at org.apache.tools.ant.taskdefs.optional.net.FTP$FTPDirectoryScanner.ch
eckIncludePatterns(FTP.java:233)
        at org.apache.tools.ant.taskdefs.optional.net.FTP$FTPDirectoryScanner.sc
an(FTP.java:197)
        at org.apache.tools.ant.taskdefs.optional.net.FTP.transferFiles(FTP.java
:1287)
        at org.apache.tools.ant.taskdefs.optional.net.FTP.transferFiles(FTP.java
:1382)
        at org.apache.tools.ant.taskdefs.optional.net.FTP.execute(FTP.java:2010)

        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        ... 10 more
--- Nested Exception ---
java.lang.NullPointerException
        at org.apache.tools.ant.taskdefs.optional.net.FTP$FTPDirectoryScanner.ch
eckRemoteSensitivity(FTP.java:527)
        at org.apache.tools.ant.taskdefs.optional.net.FTP$FTPDirectoryScanner.li
stFiles(FTP.java:507)
        at org.apache.tools.ant.taskdefs.optional.net.FTP$FTPDirectoryScanner.sc
andir(FTP.java:329)
        at org.apache.tools.ant.taskdefs.optional.net.FTP$FTPDirectoryScanner.ch
eckIncludePatterns(FTP.java:233)
        at org.apache.tools.ant.taskdefs.optional.net.FTP$FTPDirectoryScanner.sc
an(FTP.java:197)
        at org.apache.tools.ant.taskdefs.optional.net.FTP.transferFiles(FTP.java
:1287)
        at org.apache.tools.ant.taskdefs.optional.net.FTP.transferFiles(FTP.java
:1382)
        at org.apache.tools.ant.taskdefs.optional.net.FTP.execute(FTP.java:2010)

        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:40)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.Main.runBuild(Main.java:668)
        at org.apache.tools.ant.Main.startAnt(Main.java:187)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)

Total time: 3 minutes 27 seconds

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message