You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Joakim Erdfelt (JIRA)" <ji...@codehaus.org> on 2007/08/10 03:07:13 UTC

[jira] Created: (MRM-466) NPE on DatabaseJob.execute()

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


>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

        

[jira] Closed: (MRM-466) NPE on DatabaseJob.execute()

Posted by "Joakim Erdfelt (JIRA)" <ji...@codehaus.org>.
     [ 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

        

[jira] Commented: (MRM-466) NPE on DatabaseJob.execute()

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_104478 ] 

Brett Porter commented on MRM-466:
----------------------------------

this seems closely related to the same problem we saw occurring in Continuum not that long ago. We solved it buy adding a null guard around the operation, but we might want to consider an upgrade to the quartz component.


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