-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Platform: All, OS: Windows XP
Hi,
My job name has a space in this name ("Project Name"), so when I publish by FTP
I have a null pointer exception.
URI workSpaceDir = build.getProject().getWorkspace().toURI();
workSpaceDir = workSpaceDir.resolve(build.getProject().getName());
Connecting to myserver
FATAL: null
java.lang.IllegalArgumentException
at java.net.URI.create(Unknown Source)
at java.net.URI.resolve(Unknown Source)
at com.zanox.hudson.plugins.FTPPublisher.perform(FTPPublisher.java:131)
at
hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.jav
a:56) at
hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java
:372) at
hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java
:360)Caused by: java.net.URISyntaxException: Illegal character in path at index
7: Project Name
at java.net.URI$Parser.fail(Unknown Source)