[ 
http://jira.codehaus.org/browse/MRM-466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joakim Erdfelt closed MRM-466.
------------------------------

         Assignee: Joakim Erdfelt
       Resolution: Fixed
    Fix Version/s: 1.0-beta-3

The null guard is in place (just swapped the .equals() comparison around)

> NPE on DatabaseJob.execute()
> ----------------------------
>
>                 Key: MRM-466
>                 URL: http://jira.codehaus.org/browse/MRM-466
>             Project: Archiva
>          Issue Type: Bug
>          Components: scheduling
>    Affects Versions: 1.0-beta-2
>            Reporter: Joakim Erdfelt
>            Assignee: Joakim Erdfelt
>             Fix For: 1.0-beta-3
>
>
> From archiva.log
> ================
>  
> 30778389 [defaultScheduler_Worker-13] ERROR org.quartz.core.JobRunShell  - 
> Job database-group.database-job threw an unhandled Exception:
> java.lang.NullPointerException
>         at 
> org.apache.maven.archiva.scheduled.DatabaseTaskJob.execute(DatabaseTaskJob.java:57)
>         at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
>         at 
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
> 30778390 [defaultScheduler_Worker-13] ERROR org.quartz.core.ErrorLogger  - 
> Job (database-group.database-job threw an exception.
> org.quartz.SchedulerException: Job threw an unhandled exception. [See nested 
> exception: java.lang.NullPointerException]
>         at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
>         at 
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)

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

        

Reply via email to