[JIRA] (JENKINS-16723) NPE when performing integration.

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] (JENKINS-16723) NPE when performing integration.

JIRA noreply@jenkins-ci.org
Issue Type: Bug Bug
Affects Versions: current
Assignee: Kohsuke Kawaguchi
Components: svnmerge
Created: 08/Feb/13 11:08 PM
Description:

I got the following error after it was working, without changes, on the previous job. I believe I re-ran the job and this time there were no changes on the branch. Not sure if this has something to do with it.

ERROR: Publisher jenkins.plugins.svnmerge.IntegrationPublisher aborted due to exception
java.lang.NullPointerException
at org.tmatesoft.svn.core.SVNException.<init>(SVNException.java:50)
at org.tmatesoft.svn.core.SVNException.<init>(SVNException.java:37)
at jenkins.plugins.svnmerge.FeatureBranchProperty$2.invoke(FeatureBranchProperty.java:273)
at jenkins.plugins.svnmerge.FeatureBranchProperty$2.invoke(FeatureBranchProperty.java:247)
at hudson.FilePath.act(FilePath.java:865)
at hudson.FilePath.act(FilePath.java:838)
at jenkins.plugins.svnmerge.FeatureBranchProperty.integrate(FeatureBranchProperty.java:247)
at jenkins.plugins.svnmerge.IntegrateAction.perform(IntegrateAction.java:141)
at jenkins.plugins.svnmerge.IntegrateAction.perform(IntegrateAction.java:130)
at jenkins.plugins.svnmerge.IntegrationPublisher.perform(IntegrationPublisher.java:47)
at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:810)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:785)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:732)
at hudson.model.Run.execute(Run.java:1582)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:236)

Project: Jenkins
Priority: Major Major
Reporter: javydreamercsw
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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

[JIRA] (JENKINS-16723) NPE when performing integration.

JIRA noreply@jenkins-ci.org

I'm getting the same error with version 1.480.2. It doesn't matter if there were any changes or not in the repo, the same error comes always, almost: strangely the build succeeded once without this error.

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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

[JIRA] (JENKINS-16723) NPE when performing integration.

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

I'm getting the same thing. I made it work but you need to go in and manually remove the Merge info on the branch for it to work.

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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

[JIRA] [svnmerge] (JENKINS-16723) NPE when performing integration.

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Change By: chirag Patel (30/Apr/13 11:56 AM)
Assignee: Kohsuke Kawaguchi chirag Patel
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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

[JIRA] [svnmerge] (JENKINS-16723) NPE when performing integration.

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
chirag Patel started work on Bug JENKINS-16723
Change By: chirag Patel (30/Apr/13 11:56 AM)
Status: Open In Progress
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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

[JIRA] [svnmerge] (JENKINS-16723) NPE when performing integration.

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

I try to remove merge info manually still it is not working i am getting same error
ERROR: Publisher jenkins.plugins.svnmerge.IntegrationPublisher aborted due to exception
java.lang.NullPointerException
at org.tmatesoft.svn.core.SVNException.<init>(SVNException.java:50)
at org.tmatesoft.svn.core.SVNException.<init>(SVNException.java:37)
at jenkins.plugins.svnmerge.FeatureBranchProperty$2.invoke(FeatureBranchProperty.java:273)
at jenkins.plugins.svnmerge.FeatureBranchProperty$2.invoke(FeatureBranchProperty.java:247)
at hudson.FilePath.act(FilePath.java:904)
at hudson.FilePath.act(FilePath.java:877)
at jenkins.plugins.svnmerge.FeatureBranchProperty.integrate(FeatureBranchProperty.java:247)
at jenkins.plugins.svnmerge.IntegrateAction.perform(IntegrateAction.java:141)
at jenkins.plugins.svnmerge.IntegrateAction.perform(IntegrateAction.java:130)
at jenkins.plugins.svnmerge.IntegrationPublisher.perform(IntegrationPublisher.java:47)
at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:802)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:774)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:724)
at hudson.model.Run.execute(Run.java:1600)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:237)

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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

[JIRA] [svnmerge] (JENKINS-16723) NPE when performing integration.

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Change By: chirag Patel (30/Apr/13 11:58 AM)
Assignee: chirag Patel Kohsuke Kawaguchi
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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

[JIRA] [svnmerge] (JENKINS-16723) NPE when performing integration.

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

I've had the same issue and investigated a little bit. Seems that ubuntu 12.04 and 11.10 uses svnkit 1.3.5 while 12.10 and 13.04 uses svnkit 1.7.5. Looking at the SVNException code in old svnkit, it does not check for null errorMessages, so it will throw an NPE exception. In newer svnkit, they actually check for null and handle it.

Adding handling for null in this plugin is one way to go, or update your server software as a workaround

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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

[JIRA] [svnmerge] (JENKINS-16723) NPE when performing integration.

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

Hi
Oscar

I am using windows and try to use these plug in can you please let me know what software i need updatd. does these need to be updated on build server or subversion server.
Thank you so much for your help

Thx
C

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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

[JIRA] [svnmerge] (JENKINS-16723) NPE when performing integration.

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

I should add, I have not been able to get svnkit updated yet as this is a production server. Looking at the code however, it indicates that null references are at least handled in svnkit 1.7.5 etc.

Chirag, I'm not sure how jenkins is managed on a windows machine, but I assume you have svnkit installed somewhere on the server (http://svnkit.com/). It might come with the jenkins package, or subversion plugin, or some other plugin possibly.

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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

[JIRA] [svnmerge] (JENKINS-16723) NPE when performing integration.

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Hugues Chabot resolved Bug JENKINS-16723 as Fixed

The issue has been resolved while fixing JENKINS-12495.

Change By: Hugues Chabot (05/Apr/14 1:53 AM)
Status: In Progress Resolved
Resolution: Fixed
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.