You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by ArneD <pu...@degenring.de> on 2006/09/18 09:00:02 UTC

Occassional NPEs while checking out through scm-local in scheduled build

Hi,

occasionally some of our builds are failing during scheduled builds. Forced
builds are working fine. I see the following stacktrace:

org.apache.maven.continuum.scm.ContinuumScmException: Cannot checkout
sources.
	at
org.apache.maven.continuum.scm.DefaultContinuumScm.updateProject(DefaultContinuumScm.java:276)
	at
org.apache.maven.continuum.core.action.UpdateWorkingDirectoryFromScmContinuumAction.execute(UpdateWorkingDirectoryFromScmContinuumAction.java:58)
	at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:166)
	at
org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
	at
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
	at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.NullPointerException
	at
org.apache.maven.continuum.scm.DefaultContinuumScm.convertScmResult(DefaultContinuumScm.java:414)
	at
org.apache.maven.continuum.scm.DefaultContinuumScm.updateProject(DefaultContinuumScm.java:244)
	... 5 more

It seems to be the following issue. A difference is that not all builds are
failing, and the problems do not occur every time.

http://jira.codehaus.org/browse/CONTINUUM-780

Any ideas how to resolve it yet? Is somebody working on it?

Regards, Arne
-- 
View this message in context: http://www.nabble.com/Occassional-NPEs-while-checking-out-through-scm-local-in-scheduled-build-tf2289437.html#a6358643
Sent from the Continuum - Users forum at Nabble.com.


Re: Occassional NPEs while checking out through scm-local in scheduled b

Posted by ArneD <pu...@degenring.de>.
Hello Emmanuel,

I've found another NPE bug in DefaultContinuumScm which is easy to fix:

http://jira.codehaus.org/browse/CONTINUUM-937

Regards,
Arne


Emmanuel Venisse wrote:
> 
> 
>> I've seen that you closed issue CONTINUUM-780 in the meanwhile. Are there
>> chances to replace just one module in my Continuum 1.0.3 installation by
>> a
>> snapshot version to get the fix? Thanks for a short hint in which module
>> you
>> fixed it.
> 
> I don't think you can change the jar in 1.0.3 with a 1.1-SNAPSHOT.
> 
> You can checkout the 1.0.3 tag, apply my patch on continuum-core and build
> it.
> 
> 

-- 
View this message in context: http://www.nabble.com/Occassional-NPEs-while-checking-out-through-scm-local-in-scheduled-build-tf2289437.html#a6447722
Sent from the Continuum - Users mailing list archive at Nabble.com.


Re: Occassional NPEs while checking out through scm-local in scheduled b

Posted by Emmanuel Venisse <em...@venisse.net>.
ArneD a écrit :
> Hello Emmanuel,
> 
> I've seen that you closed issue CONTINUUM-780 in the meanwhile. Are there
> chances to replace just one module in my Continuum 1.0.3 installation by a
> snapshot version to get the fix? Thanks for a short hint in which module you
> fixed it.

I don't think you can change the jar in 1.0.3 with a 1.1-SNAPSHOT.

You can checkout the 1.0.3 tag, apply my patch on continuum-core and build it.

> 
> BTW, did you have a look at SCM-231?

Quickly, it seems to be good but I need few minutes more. I'll try to look at it in details next week.

Emmanuel

> 
> Regards,
> Arne
> 
> 
> ArneD wrote:
>> Hello Emmanuel,
>>
>> i added a comment to the existing issue at
>> http://jira.codehaus.org/browse/CONTINUUM-780 because it's the same
>> stacktrace.
>>
>> Regards,
>> Arne
>>
>>
>> Emmanuel Venisse wrote:
>>> Can you file an issue?
>>>
>>> Emmanuel
>>>
>>> ArneD a écrit :
>>>> It's Continuum 1.0.3, but I've updated maven-scm-api and
>>>> maven-scm-provider-local (snapshot version
>>>> maven-scm-provider-local-1.0-20060616.154545-4.jar).
>>>>
>>>> Arne
>>>>
>>>>
>>>>
>>>>
>>>> Emmanuel Venisse wrote:
>>>>> What is your continuum version and your scm?
>>>>>
>>>>> Emmanuel
>>>>>
>>>>> ArneD a écrit :
>>>>>> Hi,
>>>>>>
>>>>>> occasionally some of our builds are failing during scheduled builds.
>>>>>> Forced
>>>>>> builds are working fine. I see the following stacktrace:
>>>>>>
>>>>>> org.apache.maven.continuum.scm.ContinuumScmException: Cannot checkout
>>>>>> sources.
>>>>>> 	at
>>>>>> org.apache.maven.continuum.scm.DefaultContinuumScm.updateProject(DefaultContinuumScm.java:276)
>>>>>> 	at
>>>>>> org.apache.maven.continuum.core.action.UpdateWorkingDirectoryFromScmContinuumAction.execute(UpdateWorkingDirectoryFromScmContinuumAction.java:58)
>>>>>> 	at
>>>>>> org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:166)
>>>>>> 	at
>>>>>> org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
>>>>>> 	at
>>>>>> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
>>>>>> 	at java.lang.Thread.run(Thread.java:534)
>>>>>> Caused by: java.lang.NullPointerException
>>>>>> 	at
>>>>>> org.apache.maven.continuum.scm.DefaultContinuumScm.convertScmResult(DefaultContinuumScm.java:414)
>>>>>> 	at
>>>>>> org.apache.maven.continuum.scm.DefaultContinuumScm.updateProject(DefaultContinuumScm.java:244)
>>>>>> 	... 5 more
>>>>>>
>>>>>> It seems to be the following issue. A difference is that not all
>>>>>> builds
>>>>>> are
>>>>>> failing, and the problems do not occur every time.
>>>>>>
>>>>>> http://jira.codehaus.org/browse/CONTINUUM-780
>>>>>>
>>>>>> Any ideas how to resolve it yet? Is somebody working on it?
>>>>>>
>>>>>> Regards, Arne
>>>>>
>>>
>>>
>>
> 


Re: Occassional NPEs while checking out through scm-local in scheduled b

Posted by ArneD <pu...@degenring.de>.
Hello Emmanuel,

I've seen that you closed issue CONTINUUM-780 in the meanwhile. Are there
chances to replace just one module in my Continuum 1.0.3 installation by a
snapshot version to get the fix? Thanks for a short hint in which module you
fixed it.

BTW, did you have a look at SCM-231?

Regards,
Arne


ArneD wrote:
> 
> Hello Emmanuel,
> 
> i added a comment to the existing issue at
> http://jira.codehaus.org/browse/CONTINUUM-780 because it's the same
> stacktrace.
> 
> Regards,
> Arne
> 
> 
> Emmanuel Venisse wrote:
>> 
>> Can you file an issue?
>> 
>> Emmanuel
>> 
>> ArneD a écrit :
>>> It's Continuum 1.0.3, but I've updated maven-scm-api and
>>> maven-scm-provider-local (snapshot version
>>> maven-scm-provider-local-1.0-20060616.154545-4.jar).
>>> 
>>> Arne
>>> 
>>> 
>>> 
>>> 
>>> Emmanuel Venisse wrote:
>>>> What is your continuum version and your scm?
>>>>
>>>> Emmanuel
>>>>
>>>> ArneD a écrit :
>>>>> Hi,
>>>>>
>>>>> occasionally some of our builds are failing during scheduled builds.
>>>>> Forced
>>>>> builds are working fine. I see the following stacktrace:
>>>>>
>>>>> org.apache.maven.continuum.scm.ContinuumScmException: Cannot checkout
>>>>> sources.
>>>>> 	at
>>>>> org.apache.maven.continuum.scm.DefaultContinuumScm.updateProject(DefaultContinuumScm.java:276)
>>>>> 	at
>>>>> org.apache.maven.continuum.core.action.UpdateWorkingDirectoryFromScmContinuumAction.execute(UpdateWorkingDirectoryFromScmContinuumAction.java:58)
>>>>> 	at
>>>>> org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:166)
>>>>> 	at
>>>>> org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
>>>>> 	at
>>>>> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
>>>>> 	at java.lang.Thread.run(Thread.java:534)
>>>>> Caused by: java.lang.NullPointerException
>>>>> 	at
>>>>> org.apache.maven.continuum.scm.DefaultContinuumScm.convertScmResult(DefaultContinuumScm.java:414)
>>>>> 	at
>>>>> org.apache.maven.continuum.scm.DefaultContinuumScm.updateProject(DefaultContinuumScm.java:244)
>>>>> 	... 5 more
>>>>>
>>>>> It seems to be the following issue. A difference is that not all
>>>>> builds
>>>>> are
>>>>> failing, and the problems do not occur every time.
>>>>>
>>>>> http://jira.codehaus.org/browse/CONTINUUM-780
>>>>>
>>>>> Any ideas how to resolve it yet? Is somebody working on it?
>>>>>
>>>>> Regards, Arne
>>>>
>>>>
>>> 
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Occassional-NPEs-while-checking-out-through-scm-local-in-scheduled-build-tf2289437.html#a6412758
Sent from the Continuum - Users mailing list archive at Nabble.com.


Re: Occassional NPEs while checking out through scm-local in scheduled build

Posted by ArneD <pu...@degenring.de>.
Hello Emmanuel,

i added a comment to the existing issue at
http://jira.codehaus.org/browse/CONTINUUM-780 because it's the same
stacktrace.

Regards,
Arne


Emmanuel Venisse wrote:
> 
> Can you file an issue?
> 
> Emmanuel
> 
> ArneD a écrit :
>> It's Continuum 1.0.3, but I've updated maven-scm-api and
>> maven-scm-provider-local (snapshot version
>> maven-scm-provider-local-1.0-20060616.154545-4.jar).
>> 
>> Arne
>> 
>> 
>> 
>> 
>> Emmanuel Venisse wrote:
>>> What is your continuum version and your scm?
>>>
>>> Emmanuel
>>>
>>> ArneD a écrit :
>>>> Hi,
>>>>
>>>> occasionally some of our builds are failing during scheduled builds.
>>>> Forced
>>>> builds are working fine. I see the following stacktrace:
>>>>
>>>> org.apache.maven.continuum.scm.ContinuumScmException: Cannot checkout
>>>> sources.
>>>> 	at
>>>> org.apache.maven.continuum.scm.DefaultContinuumScm.updateProject(DefaultContinuumScm.java:276)
>>>> 	at
>>>> org.apache.maven.continuum.core.action.UpdateWorkingDirectoryFromScmContinuumAction.execute(UpdateWorkingDirectoryFromScmContinuumAction.java:58)
>>>> 	at
>>>> org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:166)
>>>> 	at
>>>> org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
>>>> 	at
>>>> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
>>>> 	at java.lang.Thread.run(Thread.java:534)
>>>> Caused by: java.lang.NullPointerException
>>>> 	at
>>>> org.apache.maven.continuum.scm.DefaultContinuumScm.convertScmResult(DefaultContinuumScm.java:414)
>>>> 	at
>>>> org.apache.maven.continuum.scm.DefaultContinuumScm.updateProject(DefaultContinuumScm.java:244)
>>>> 	... 5 more
>>>>
>>>> It seems to be the following issue. A difference is that not all builds
>>>> are
>>>> failing, and the problems do not occur every time.
>>>>
>>>> http://jira.codehaus.org/browse/CONTINUUM-780
>>>>
>>>> Any ideas how to resolve it yet? Is somebody working on it?
>>>>
>>>> Regards, Arne
>>>
>>>
>> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Occassional-NPEs-while-checking-out-through-scm-local-in-scheduled-build-tf2289437.html#a6388904
Sent from the Continuum - Users mailing list archive at Nabble.com.


Re: Occassional NPEs while checking out through scm-local in scheduled build

Posted by Emmanuel Venisse <em...@venisse.net>.
Can you file an issue?

Emmanuel

ArneD a écrit :
> It's Continuum 1.0.3, but I've updated maven-scm-api and
> maven-scm-provider-local (snapshot version
> maven-scm-provider-local-1.0-20060616.154545-4.jar).
> 
> Arne
> 
> 
> 
> 
> Emmanuel Venisse wrote:
>> What is your continuum version and your scm?
>>
>> Emmanuel
>>
>> ArneD a écrit :
>>> Hi,
>>>
>>> occasionally some of our builds are failing during scheduled builds.
>>> Forced
>>> builds are working fine. I see the following stacktrace:
>>>
>>> org.apache.maven.continuum.scm.ContinuumScmException: Cannot checkout
>>> sources.
>>> 	at
>>> org.apache.maven.continuum.scm.DefaultContinuumScm.updateProject(DefaultContinuumScm.java:276)
>>> 	at
>>> org.apache.maven.continuum.core.action.UpdateWorkingDirectoryFromScmContinuumAction.execute(UpdateWorkingDirectoryFromScmContinuumAction.java:58)
>>> 	at
>>> org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:166)
>>> 	at
>>> org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
>>> 	at
>>> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
>>> 	at java.lang.Thread.run(Thread.java:534)
>>> Caused by: java.lang.NullPointerException
>>> 	at
>>> org.apache.maven.continuum.scm.DefaultContinuumScm.convertScmResult(DefaultContinuumScm.java:414)
>>> 	at
>>> org.apache.maven.continuum.scm.DefaultContinuumScm.updateProject(DefaultContinuumScm.java:244)
>>> 	... 5 more
>>>
>>> It seems to be the following issue. A difference is that not all builds
>>> are
>>> failing, and the problems do not occur every time.
>>>
>>> http://jira.codehaus.org/browse/CONTINUUM-780
>>>
>>> Any ideas how to resolve it yet? Is somebody working on it?
>>>
>>> Regards, Arne
>>
>>
> 


Re: Occassional NPEs while checking out through scm-local in scheduled build

Posted by ArneD <pu...@degenring.de>.
It's Continuum 1.0.3, but I've updated maven-scm-api and
maven-scm-provider-local (snapshot version
maven-scm-provider-local-1.0-20060616.154545-4.jar).

Arne




Emmanuel Venisse wrote:
> 
> What is your continuum version and your scm?
> 
> Emmanuel
> 
> ArneD a écrit :
>> Hi,
>> 
>> occasionally some of our builds are failing during scheduled builds.
>> Forced
>> builds are working fine. I see the following stacktrace:
>> 
>> org.apache.maven.continuum.scm.ContinuumScmException: Cannot checkout
>> sources.
>> 	at
>> org.apache.maven.continuum.scm.DefaultContinuumScm.updateProject(DefaultContinuumScm.java:276)
>> 	at
>> org.apache.maven.continuum.core.action.UpdateWorkingDirectoryFromScmContinuumAction.execute(UpdateWorkingDirectoryFromScmContinuumAction.java:58)
>> 	at
>> org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:166)
>> 	at
>> org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
>> 	at
>> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
>> 	at java.lang.Thread.run(Thread.java:534)
>> Caused by: java.lang.NullPointerException
>> 	at
>> org.apache.maven.continuum.scm.DefaultContinuumScm.convertScmResult(DefaultContinuumScm.java:414)
>> 	at
>> org.apache.maven.continuum.scm.DefaultContinuumScm.updateProject(DefaultContinuumScm.java:244)
>> 	... 5 more
>> 
>> It seems to be the following issue. A difference is that not all builds
>> are
>> failing, and the problems do not occur every time.
>> 
>> http://jira.codehaus.org/browse/CONTINUUM-780
>> 
>> Any ideas how to resolve it yet? Is somebody working on it?
>> 
>> Regards, Arne
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Occassional-NPEs-while-checking-out-through-scm-local-in-scheduled-build-tf2289437.html#a6362234
Sent from the Continuum - Users mailing list archive at Nabble.com.


Re: Occassional NPEs while checking out through scm-local in scheduled build

Posted by Emmanuel Venisse <em...@venisse.net>.
What is your continuum version and your scm?

Emmanuel

ArneD a écrit :
> Hi,
> 
> occasionally some of our builds are failing during scheduled builds. Forced
> builds are working fine. I see the following stacktrace:
> 
> org.apache.maven.continuum.scm.ContinuumScmException: Cannot checkout
> sources.
> 	at
> org.apache.maven.continuum.scm.DefaultContinuumScm.updateProject(DefaultContinuumScm.java:276)
> 	at
> org.apache.maven.continuum.core.action.UpdateWorkingDirectoryFromScmContinuumAction.execute(UpdateWorkingDirectoryFromScmContinuumAction.java:58)
> 	at
> org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:166)
> 	at
> org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
> 	at
> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
> 	at java.lang.Thread.run(Thread.java:534)
> Caused by: java.lang.NullPointerException
> 	at
> org.apache.maven.continuum.scm.DefaultContinuumScm.convertScmResult(DefaultContinuumScm.java:414)
> 	at
> org.apache.maven.continuum.scm.DefaultContinuumScm.updateProject(DefaultContinuumScm.java:244)
> 	... 5 more
> 
> It seems to be the following issue. A difference is that not all builds are
> failing, and the problems do not occur every time.
> 
> http://jira.codehaus.org/browse/CONTINUUM-780
> 
> Any ideas how to resolve it yet? Is somebody working on it?
> 
> Regards, Arne