Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-10166

Exception thrown during Persona finder on old format

    Details

    • Similar Issues:

      Description

      Error line 87 on Windows installation c:\Program%20Files\hudson\data\Plugins\active-directory does not exist.
      Certainly due to space in Program Files.

      for (FilePath xml : baseDir.list("**/persona.xml")) {

      It works if i change catch IOException by Exception

        Attachments

          Activity

          Hide
          sogabe sogabe added a comment -

          Let me know stack trace you got.

          Show
          sogabe sogabe added a comment - Let me know stack trace you got.
          Hide
          vince Vincent Carluer added a comment -

          [Winstone 2011/07/01 16:20:48] - Untrapped Error in Servlet
          javax.servlet.ServletException: C:\Program%20Files\hudson\data\plugins\active-directory does not exist.
          at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:603)
          at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
          at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:233)
          at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
          at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561)
          at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
          at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:233)
          at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
          at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561)
          at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
          at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477)
          at org.kohsuke.stapler.Stapler.service(Stapler.java:159)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
          at winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
          at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
          at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
          at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
          at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:52)
          at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
          at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
          at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
          at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
          at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
          at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
          at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
          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)
          at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
          at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
          at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
          at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
          at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
          at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
          at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
          at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
          at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
          at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
          at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
          at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)
          at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
          at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
          at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
          at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
          at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
          at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
          at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
          at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
          at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
          at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
          at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
          at java.lang.Thread.run(Thread.java:619)
          Caused by: C:\Program%20Files\hudson\data\plugins\active-directory does not exist.
          at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:474)
          at hudson.FilePath.glob(FilePath.java:1240)
          at hudson.FilePath.access$600(FilePath.java:164)
          at hudson.FilePath$23.invoke(FilePath.java:1219)
          at hudson.FilePath$23.invoke(FilePath.java:1217)
          at hudson.FilePath.act(FilePath.java:758)
          at hudson.FilePath.act(FilePath.java:740)
          at hudson.FilePath.list(FilePath.java:1217)
          at hudson.FilePath.list(FilePath.java:1203)
          at hudson.plugins.persona.xml.XmlPersonaFinder.find(XmlPersonaFinder.java:87)
          at hudson.ExtensionFinder._find(ExtensionFinder.java:94)
          at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:283)
          at hudson.ExtensionList.load(ExtensionList.java:258)
          at hudson.ExtensionList.ensureLoaded(ExtensionList.java:229)
          at hudson.ExtensionList.iterator(ExtensionList.java:136)
          at hudson.plugins.persona.QuotePublisher$DescriptorImpl.doFillPersonaIdItems(QuotePublisher.java:86)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:597)
          at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282)
          at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149)
          at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88)
          at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:103)
          at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
          at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561)
          ... 51 more

          Show
          vince Vincent Carluer added a comment - [Winstone 2011/07/01 16:20:48] - Untrapped Error in Servlet javax.servlet.ServletException: C:\Program%20Files\hudson\data\plugins\active-directory does not exist. at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:603) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:233) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:233) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477) at org.kohsuke.stapler.Stapler.service(Stapler.java:159) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:335) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94) at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:52) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) 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) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Thread.java:619) Caused by: C:\Program%20Files\hudson\data\plugins\active-directory does not exist. at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:474) at hudson.FilePath.glob(FilePath.java:1240) at hudson.FilePath.access$600(FilePath.java:164) at hudson.FilePath$23.invoke(FilePath.java:1219) at hudson.FilePath$23.invoke(FilePath.java:1217) at hudson.FilePath.act(FilePath.java:758) at hudson.FilePath.act(FilePath.java:740) at hudson.FilePath.list(FilePath.java:1217) at hudson.FilePath.list(FilePath.java:1203) at hudson.plugins.persona.xml.XmlPersonaFinder.find(XmlPersonaFinder.java:87) at hudson.ExtensionFinder._find(ExtensionFinder.java:94) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:283) at hudson.ExtensionList.load(ExtensionList.java:258) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:229) at hudson.ExtensionList.iterator(ExtensionList.java:136) at hudson.plugins.persona.QuotePublisher$DescriptorImpl.doFillPersonaIdItems(QuotePublisher.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:103) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) ... 51 more
          Hide
          vcarluer vcarluer added a comment -

          Pull requested

          Show
          vcarluer vcarluer added a comment - Pull requested
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Seiji Sogabe
          Path:
          src/main/java/hudson/plugins/persona/xml/XmlPersonaFinder.java
          http://jenkins-ci.org/commit/persona-plugin/2bce6a997cd632b4d849e3a0481bc7bf68c951fa
          Log:
          [FIXED JENKINS-10166] Exception thrown during Persona finder on old format.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Seiji Sogabe Path: src/main/java/hudson/plugins/persona/xml/XmlPersonaFinder.java http://jenkins-ci.org/commit/persona-plugin/2bce6a997cd632b4d849e3a0481bc7bf68c951fa Log: [FIXED JENKINS-10166] Exception thrown during Persona finder on old format.
          Hide
          dogfood dogfood added a comment -

          Integrated in plugins_persona #30
          [FIXED JENKINS-10166] Exception thrown during Persona finder on old format. (Revision 2bce6a997cd632b4d849e3a0481bc7bf68c951fa)

          Result = SUCCESS
          Seiji Sogabe :
          Files :

          • src/main/java/hudson/plugins/persona/xml/XmlPersonaFinder.java
          Show
          dogfood dogfood added a comment - Integrated in plugins_persona #30 [FIXED JENKINS-10166] Exception thrown during Persona finder on old format. (Revision 2bce6a997cd632b4d849e3a0481bc7bf68c951fa) Result = SUCCESS Seiji Sogabe : Files : src/main/java/hudson/plugins/persona/xml/XmlPersonaFinder.java

            People

            • Assignee:
              vcarluer vcarluer
              Reporter:
              vince Vincent Carluer
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: