maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arne Degenring (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (CONTINUUM-937) NPE in DefaultContinuumScm.getValidationMessages, e.g. when maven-scm-local cannot access files
Date Fri, 22 Sep 2006 11:54:25 GMT
NPE in DefaultContinuumScm.getValidationMessages, e.g. when maven-scm-local cannot access files
-----------------------------------------------------------------------------------------------

                 Key: CONTINUUM-937
                 URL: http://jira.codehaus.org/browse/CONTINUUM-937
             Project: Continuum
          Issue Type: Bug
          Components: SCM
    Affects Versions: 1.0.3
            Reporter: Arne Degenring
            Priority: Minor


We experience the following NPE when maven-scm-local cannot access the filesystem, e.g. because
a server is down. This is due to a missing null-check for variable "messages" in DefaultContinuumScm.getValidationMessages.
We use Continuum 1.0.3, but the check is even missing in SVN trunk.

java.lang.NullPointerException
	at org.apache.maven.continuum.scm.DefaultContinuumScm.getValidationMessages(DefaultContinuumScm.java:286)
	at org.apache.maven.continuum.scm.DefaultContinuumScm.updateProject(DefaultContinuumScm.java:266)
	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)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message