maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik R. Jensen (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (CONTINUUM-1571) NullPointerException - IrcContinuumNotifier
Date Mon, 19 Nov 2007 22:13:40 GMT
NullPointerException - IrcContinuumNotifier
-------------------------------------------

                 Key: CONTINUUM-1571
                 URL: http://jira.codehaus.org/browse/CONTINUUM-1571
             Project: Continuum
          Issue Type: Bug
          Components: Notifier - IRC
    Affects Versions: 1.1-beta-4
         Environment: Linux / Tomcat
            Reporter: Erik R. Jensen


When I use the IRC notifier I get a NullPointerException in the logs.

714132 [pool-1-thread-1] INFO  org.apache.maven.continuum.execution.ContinuumBuildExecutor:maven2
 - Exit code: 0
714250 [pool-1-thread-1] INFO  org.apache.maven.continuum.buildcontroller.BuildController:default
 - Performing action deploy-artifact
714276 [Thread-3] ERROR org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor:build-project
 - Error executing task
edu.emory.mathcs.backport.java.util.concurrent.ExecutionException: java.lang.NullPointerException
        at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.getResult(FutureTask.java:299)
        at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.get(FutureTask.java:128)
        at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.waitForTask(ThreadedTaskQueueExecutor.java:165)
        at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:127)
Caused by: java.lang.NullPointerException
        at org.apache.maven.continuum.notification.AbstractContinuumNotifier.getPreviousBuild(AbstractContinuumNotifier.java:193)
        at org.apache.maven.continuum.notification.irc.IrcContinuumNotifier.buildComplete(IrcContinuumNotifier.java:274)
        at org.apache.maven.continuum.notification.irc.IrcContinuumNotifier.sendNotification(IrcContinuumNotifier.java:257)
        at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification(DefaultContinuumNotificationDispatcher.java:199)
        at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification(DefaultContinuumNotificationDispatcher.java:151)
        at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.buildComplete(DefaultContinuumNotificationDispatcher.java:103)
        at org.apache.maven.continuum.buildcontroller.DefaultBuildController.endBuild(DefaultBuildController.java:221)
        at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:175)
        at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:50)
        at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
        at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
        at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
        at java.lang.Thread.run(Thread.java:595)

I haven't had time to investigate, but I think getContinuumStore() is returning null causing
the issue.

-- 
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