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 41724] New: - FTP task failed after connected to the server and throws null pointer exception
Date Wed, 28 Feb 2007 12:41:27 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=41724>.
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=41724

           Summary: FTP task failed after connected to the server and throws
                    null pointer exception
           Product: Ant
           Version: 1.6.5
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: sv_bm@yahoo.co.in


I have return an ant script, that will task config.xml files from 10 servers, 
my script is working well for 8 servers and it is not working well for 2 
servers. Here I have given the output of the script, can you please help me, 
it is very urgent

test:
     [echo] ------------------------------- Connecting Test Server ------------
--------------------------
      [ftp] Opening FTP connection to 10.*.*.*
      [ftp] connected
      [ftp] logging in to FTP server
      [ftp] login succeeded
      [ftp] changing the remote directory
      [ftp] getting files
Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) 
for type image
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type sshexec
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp
Could not load a dependent class (jdepend/xmlui/JDepend) for type jdepend
Could not load a dependent class (junit/framework/Test) for type junit
fileset: Setup scanner in dir C:\test\HK\February-2007\GlobalHub\T3 with 
patternSet{ includes: [config.xml] excludes: [] }
will try to cd to _CFGWIZ_DONOTDELETE where a directory called 
_cfgwiz_donotdelete exists
      [ftp] disconnecting

BUILD FAILED
C:\Test\HK\build_monthly.xml:220: 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
(DefaultExecutor.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.checkRemoteS
ensitivity(FTP.java:536)
        at 
org.apache.tools.ant.taskdefs.optional.net.FTP$FTPDirectoryScanner.listFiles
(FTP.java:507)
        at 
org.apache.tools.ant.taskdefs.optional.net.FTP$FTPDirectoryScanner.scandir
(FTP.java:329)
        at 
org.apache.tools.ant.taskdefs.optional.net.FTP$FTPDirectoryScanner.checkInclude
Patterns(FTP.java:233)
        at 
org.apache.tools.ant.taskdefs.optional.net.FTP$FTPDirectoryScanner.scan
(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.checkRemoteS
ensitivity(FTP.java:536)
        at 
org.apache.tools.ant.taskdefs.optional.net.FTP$FTPDirectoryScanner.listFiles
(FTP.java:507)
        at 
org.apache.tools.ant.taskdefs.optional.net.FTP$FTPDirectoryScanner.scandir
(FTP.java:329)
        at 
org.apache.tools.ant.taskdefs.optional.net.FTP$FTPDirectoryScanner.checkInclude
Patterns(FTP.java:233)
        at 
org.apache.tools.ant.taskdefs.optional.net.FTP$FTPDirectoryScanner.scan
(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
(DefaultExecutor.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)

-- 
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