[JIRA] [core] (JENKINS-24563) attempting to rename a project name with a trailing space ends up with an Oops

2015-08-12 Thread a...@bastelmap.de (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Andreas Messer edited a comment on  JENKINS-24563 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: attempting to rename a project name with a trailing space ends up with an Oops  
 
 
 
 
 
 
 
 
 
 IcanconfirmtheissueforJenkinsV1.594.Theproblemoccurswhenthejobnamehasleadingortrailingwhitespaces.Windowswillremovethesewhitespacesautomaticallywhencreatingthejobdirectory.Wheneverjenkinstriestoaccessthedirectory lateron windowscannotfinditbecauseofthespaces. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-24563) attempting to rename a project name with a trailing space ends up with an Oops

2015-08-12 Thread a...@bastelmap.de (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Andreas Messer commented on  JENKINS-24563 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: attempting to rename a project name with a trailing space ends up with an Oops  
 
 
 
 
 
 
 
 
 
 
I can confirm the issue for Jenkins V1.594. The problem occurs when the job name has leading or trailing whitespaces. Windows will remove these whitespaces automatically when creating the job directory. Whenever jenkins tries to access the directory windows can not find it because of the spaces. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-24563) attempting to rename a project name with a trailing space ends up with an Oops

2014-09-05 Thread dan...@beckweb.net (JIRA)














































Daniel Beck
 commented on  JENKINS-24563


attempting to rename a project name with a trailing space ends up with an Oops















Are you able to reproduce this with other projects? Are there any other messages in the log related to this?

Looks just like the usual locked file failure on Windows...



























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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-24563) attempting to rename a project name with a trailing space ends up with an Oops

2014-09-03 Thread guillaume.bellete...@schneider-electric.com (JIRA)














































Guillaume BELLETESTE
 created  JENKINS-24563


attempting to rename a project name with a trailing space ends up with an Oops















Issue Type:


Bug



Assignee:


Unassigned


Components:


core



Created:


03/Sep/14 1:10 PM



Description:


I accidentally renamed a project to a name ending with a space. When I tried to delete this trailing space, I was welcomed with the following message:

Oops!

A problem occurred while processing the request. Please check our bug tracker to see if a similar problem has already been reported. If it is already reported, please vote and put a comment on it to let us gauge the impact of the problem. If you think this is a new issue, please file a new issue. When you file an issue, make sure to add the entire stack trace, along with the version of Jenkins and relevant plugins. The users list might be also useful in understanding what has happened.

Stack trace

java.io.IOException: Failed to create a temporary file in C:\Program Files\Jenkins\jobs\Generate - Vxworks - Build-and-promote 
	at hudson.util.AtomicFileWriter.init(AtomicFileWriter.java:67)
	at hudson.util.AtomicFileWriter.init(AtomicFileWriter.java:54)
	at hudson.XmlFile.write(XmlFile.java:175)
	at hudson.model.AbstractItem.save(AbstractItem.java:458)
	at hudson.model.Job.save(Job.java:163)
	at hudson.model.AbstractProject.save(AbstractProject.java:287)
	at hudson.model.AbstractItem.setDisplayName(AbstractItem.java:157)
	at hudson.model.Job.doConfigSubmit(Job.java:1121)
	at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:786)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)
	at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)
	at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
	at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:120)
	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858)
	at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248)
	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858)
	at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248)
	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:631)
	at org.kohsuke.stapler.Stapler.service(Stapler.java:225)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494)
	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96)
	at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:58)
	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:99)
	at hudson.plugins.collabnet.auth.CNFilter.doFilter(CNFilter.java:90)
	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:99)
	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:85)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
	at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)