![]() |
|
|
|
|
Change By:
|
guru lad
(23/Feb/15 2:37 PM)
|
|
Description:
|
NullPointerException
*Null pointer exception
when
directory configured in
the “
Path to folder
Doesn'
point” to a directory which doesn’
t exists
*
*Console output (if directory doesn’t exists)* {quote} Started by user anonymous Building remotely on dem6894 (RanorexTestPC) in workspace d:\JenkinsSlaveRoot\workspace\Debug FATAL: null java
.
lang.NullPointerException
at hpi.CopyDataToWorkspacePlugin.saveNames(CopyDataToWorkspacePlugin.java:164)
please refer the attachements
at hpi
.
CopyDataToWorkspacePlugin.setUp(CopyDataToWorkspacePlugin.java:92) at hudson.model.Build$BuildExecution.doRun(Build.java:154) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:536) at hudson.model.Run.execute(Run.java:1718) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) {quote}
*Console output (if directory does exists)*
{quote} Started by user anonymous Building remotely on dem6894 (RanorexTestPC) in workspace d:\JenkinsSlaveRoot\workspace\Debug Collecting metadata... Metadata collection done. Finished: SUCCESS {quote}
*I traced to problem back to line 164 of Code.java* {quote} (-) this.copiedFiles = new String[children.size()]; (+) if(children== null) (+) \{ (+) throw exception (“Path described doesn’t exist ”); (+) \} (+) this.copiedFiles = new String[children.size()]; {quote}
|
|
Attachment:
|
screenshot1.PNG
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[email protected].
For more options, visit
https://groups.google.com/d/optout.