{"action":"created","issue":{"url":"https://api.github.com/repos/mjdetullio/multi-branch-project-plugin/issues/10","labels_url":"https://api.github.com/repos/mjdetullio/multi-branch-project-plugin/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/mjdetullio/multi-branch-project-plugin/issues/10/comments","events_url":"https://api.github.com/repos/mjdetullio/multi-branch-project-plugin/issues/10/events","html_url":"https://github.com/mjdetullio/multi-branch-project-plugin/issues/10","id":45080208,"number":10,"title":"Subversion branch sync fails with NPE","user":{"login":"manderson23","id":1684641,"avatar_url":"https://avatars.githubusercontent.com/u/1684641?v=3","gravatar_id":"","url":"https://api.github.com/users/manderson23","html_url":"https://github.com/manderson23","followers_url":"https://api.github.com/users/manderson23/followers","following_url":"https://api.github.com/users/manderson23/following{/other_user}","gists_url":"https://api.github.com/users/manderson23/gists{/gist_id}","starred_url":"https://api.github.com/users/manderson23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manderson23/subscriptions","organizations_url":"https://api.github.com/users/manderson23/orgs","repos_url":"https://api.github.com/users/manderson23/repos","events_url":"https://api.github.com/users/manderson23/events{/privacy}","received_events_url":"https://api.github.com/users/manderson23/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mjdetullio/multi-branch-project-plugin/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-10-07T08:15:13Z","updated_at":"2015-08-03T08:48:41Z","closed_at":"2015-04-13T03:17:49Z","body":"I have configured a project using SVN but no branches are found. Includes is set to \r\n\r\n    name,features/name*\r\n\r\nThere are no excludes.\r\n\r\nFrom your comment on the plugin wiki page regarding includes/excludes and various SCM implementations I wasn't clear on whether this should actually work.\r\n\r\nFYI I am using Jenkins 1.583 with SVN plugin 2.4.3. Below is the branch sync log:\r\n```\r\nStarted on Oct 7, 2014 9:09:21 AM\r\nOpening conection to svn://server/data/repositories/project/working/branches/\r\nFATAL: null\r\njava.lang.NullPointerException\r\n\tat hudson.scm.SubversionSCM$DescriptorImpl.getRelativePath(SubversionSCM.java:2362)\r\n\tat jenkins.scm.impl.subversion.SubversionSCMSource.retrieve(SubversionSCMSource.java:197)\r\n\tat jenkins.scm.api.SCMSource.fetch(SCMSource.java:141)\r\n\tat jenkins.scm.api.SCMSource.retrieve(SCMSource.java:180)\r\n\tat jenkins.scm.api.SCMSource.fetch(SCMSource.java:167)\r\n\tat com.github.mjdetullio.jenkins.plugins.multibranch.FreeStyleMultiBranchProject._syncBranches(FreeStyleMultiBranchProject.java:1004)\r\n\tat com.github.mjdetullio.jenkins.plugins.multibranch.FreeStyleMultiBranchProject.syncBranches(FreeStyleMultiBranchProject.java:971)\r\n\tat com.github.mjdetullio.jenkins.plugins.multibranch.SyncBranchesTrigger.run(SyncBranchesTrigger.java:98)\r\n\tat com.github.mjdetullio.jenkins.plugins.multibranch.FreeStyleMultiBranchProject.doConfigSubmit(FreeStyleMultiBranchProject.java:734)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)\r\n\tat org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)\r\n\tat org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)\r\n\tat org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:120)\r\n\tat org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)\r\n\tat org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:733)\r\n\tat org.kohsuke.stapler.Stapler.invoke(Stapler.java:863)\r\n\tat org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248)\r\n\tat org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)\r\n\tat org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:733)\r\n\tat org.kohsuke.stapler.Stapler.invoke(Stapler.java:863)\r\n\tat org.kohsuke.stapler.Stapler.invoke(Stapler.java:636)\r\n\tat org.kohsuke.stapler.Stapler.service(Stapler.java:225)\r\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:728)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)\r\n\tat hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96)\r\n\tat hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)\r\n\tat hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)\r\n\tat hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)\r\n\tat hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)\r\n\tat hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)\r\n\tat jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)\r\n\tat hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)\r\n\tat org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)\r\n\tat hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)\r\n\tat org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:135)\r\n\tat hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)\r\n\tat org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)\r\n\tat hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)\r\n\tat jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:86)\r\n\tat hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)\r\n\tat org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)\r\n\tat hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)\r\n\tat hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)\r\n\tat hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)\r\n\tat hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)\r\n\tat org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)\r\n\tat hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)\r\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)\r\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)\r\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:611)\r\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)\r\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)\r\n\tat org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)\r\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)\r\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)\r\n\tat org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)\r\n\tat org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)\r\n\tat org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n\tat java.lang.Thread.run(Thread.java:724)\r\nDone. Took 33 ms\r\n```"},"comment":{"url":"https://api.github.com/repos/mjdetullio/multi-branch-project-plugin/issues/comments/127166668","html_url":"https://github.com/mjdetullio/multi-branch-project-plugin/issues/10#issuecomment-127166668","issue_url":"https://api.github.com/repos/mjdetullio/multi-branch-project-plugin/issues/10","id":127166668,"user":{"login":"forgetaboutit","id":1820589,"avatar_url":"https://avatars.githubusercontent.com/u/1820589?v=3","gravatar_id":"","url":"https://api.github.com/users/forgetaboutit","html_url":"https://github.com/forgetaboutit","followers_url":"https://api.github.com/users/forgetaboutit/followers","following_url":"https://api.github.com/users/forgetaboutit/following{/other_user}","gists_url":"https://api.github.com/users/forgetaboutit/gists{/gist_id}","starred_url":"https://api.github.com/users/forgetaboutit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forgetaboutit/subscriptions","organizations_url":"https://api.github.com/users/forgetaboutit/orgs","repos_url":"https://api.github.com/users/forgetaboutit/repos","events_url":"https://api.github.com/users/forgetaboutit/events{/privacy}","received_events_url":"https://api.github.com/users/forgetaboutit/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T08:48:41Z","updated_at":"2015-08-03T08:48:41Z","body":"I'm experiencing the same issue. I have my `Project Repository Base` set to `svn://server/repository/` and the `Include branches` set to default (for now). I'm getting the same error:\r\n\r\n```\r\nStarted on 03.08.2015 10:43:14\r\nOpening conection to svn://server/repository/\r\nFATAL: null\r\njava.lang.NullPointerException\r\n\tat hudson.scm.SubversionSCM$DescriptorImpl.getRelativePath(SubversionSCM.java:2368)\r\n\tat jenkins.scm.impl.subversion.SubversionSCMSource.retrieve(SubversionSCMSource.java:218)\r\n\tat jenkins.scm.api.SCMSource.fetch(SCMSource.java:141)\r\n\tat jenkins.scm.api.SCMSource.retrieve(SCMSource.java:180)\r\n\tat jenkins.scm.api.SCMSource.fetch(SCMSource.java:167)\r\n\tat com.github.mjdetullio.jenkins.plugins.multibranch.AbstractMultiBranchProject._syncBranches(AbstractMultiBranchProject.java:978)\r\n\tat com.github.mjdetullio.jenkins.plugins.multibranch.AbstractMultiBranchProject.syncBranches(AbstractMultiBranchProject.java:945)\r\n\tat com.github.mjdetullio.jenkins.plugins.multibranch.SyncBranchesTrigger.run(SyncBranchesTrigger.java:98)\r\n\tat com.github.mjdetullio.jenkins.plugins.multibranch.AbstractMultiBranchProject.doConfigSubmit(AbstractMultiBranchProject.java:868)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\r\n\tat java.lang.reflect.Method.invoke(Unknown Source)\r\n\tat org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)\r\n\tat org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)\r\n\tat org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)\r\n\tat org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:121)\r\n\tat org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)\r\n\tat org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)\r\n\tat org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)\r\n\tat org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)\r\n\tat org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)\r\n\tat org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)\r\n\tat org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)\r\n\tat org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)\r\n\tat org.kohsuke.stapler.Stapler.service(Stapler.java:238)\r\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:848)\r\n\tat org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686)\r\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494)\r\n\tat hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)\r\n\tat hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:123)\r\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)\r\n\tat hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49)\r\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)\r\n\tat hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)\r\n\tat hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)\r\n\tat hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)\r\n\tat jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)\r\n\tat hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)\r\n\tat org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)\r\n\tat hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)\r\n\tat org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)\r\n\tat hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)\r\n\tat org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)\r\n\tat hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)\r\n\tat jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)\r\n\tat hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)\r\n\tat org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)\r\n\tat hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)\r\n\tat hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)\r\n\tat hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)\r\n\tat hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)\r\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)\r\n\tat org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)\r\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)\r\n\tat hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)\r\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)\r\n\tat org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)\r\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)\r\n\tat org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)\r\n\tat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)\r\n\tat org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)\r\n\tat org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)\r\n\tat org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)\r\n\tat org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)\r\n\tat org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)\r\n\tat org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)\r\n\tat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)\r\n\tat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)\r\n\tat org.eclipse.jetty.server.Server.handle(Server.java:370)\r\n\tat org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)\r\n\tat org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960)\r\n\tat org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021)\r\n\tat org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)\r\n\tat org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)\r\n\tat org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)\r\n\tat org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)\r\n\tat org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)\r\n\tat winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)\r\n\tat java.lang.Thread.run(Unknown Source)\r\nDone. Took 0,15 Sekunden\r\n```\r\nWould you please look into it? Am I doing something wrong?"}}