Continuum

Schedule Build Error

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0.2
  • Fix Version/s: 1.0.3
  • Component/s: None
  • Labels:
    None
  • Complexity:
    Intermediate
  • Number of attachments :
    0

Description

Hello,

I'm using Continuum with a Maven 2 project. It builds fine when you force the build but the following error arises when the build is scheduled:

jvm 1 | 02-Feb-2006 14:21:00 org.quartz.core.JobRunShell run
jvm 1 | SEVERE: Job DEFAULT.itraxspring threw an unhandled Exception:
jvm 1 | java.lang.NullPointerException
jvm 1 | at org.apache.maven.continuum.DefaultContinuum.buildProjects(DefaultContinuum.java:368)
jvm 1 | at org.apache.maven.continuum.scheduler.ContinuumBuildJob.execute(ContinuumBuildJob.java:66)
jvm 1 | at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
jvm 1 | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
jvm 1 | 02-Feb-2006 14:21:00 org.quartz.core.ErrorLogger schedulerError
jvm 1 | SEVERE: Job (DEFAULT.itraxspring threw an exception.
jvm 1 | org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException]
jvm 1 | at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
jvm 1 | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
jvm 1 | * Nested Exception (Underlying Cause) ---------------
jvm 1 | java.lang.NullPointerException
jvm 1 | at org.apache.maven.continuum.DefaultContinuum.buildProjects(DefaultContinuum.java:368)
jvm 1 | at org.apache.maven.continuum.scheduler.ContinuumBuildJob.execute(ContinuumBuildJob.java:66)
jvm 1 | at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
jvm 1 | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)

I have replaced continuum-core-1.0.2.jar with continuum-core-1.1-SNAPSHOT.jar and the problem was not fixed. Also I only have one project to build in Continuum.

Any help will be greatly appreciated,

Thanks very much

Activity

Hide
Emmanuel Venisse added a comment -

Where do you find continuum-core-1.1-SNAPSHOT?
Can you post the stacktrace with it?

Show
Emmanuel Venisse added a comment - Where do you find continuum-core-1.1-SNAPSHOT? Can you post the stacktrace with it?
Hide
clojinted added a comment -

The jar came from this url http://beaver.codehaus.org/~evenisse/continuum-core-1.1-SNAPSHOT.jar

And the contents of wrapper.log is:

INFO | jvm 1 | 2006/02/02 16:46:14 | 16:46:14.039 EVENT Started HttpContext[/]
INFO | jvm 1 | 2006/02/02 16:46:27 | 2006-02-02 16:46:27,417 [SocketListener0-1] INFO Action:login - Trying to log in QCONFIG
INFO | jvm 1 | 2006/02/02 16:46:42 | 2006-02-02 16:46:42,748 [SocketListener0-1] INFO SchedulesActivator - Unactivating schedule itraxspring
INFO | jvm 1 | 2006/02/02 16:46:43 | 2006-02-02 16:46:42,748 [SocketListener0-1] INFO SchedulesActivator - Stopping active schedule "itraxspring".
INFO | jvm 1 | 2006/02/02 16:46:43 | 2006-02-02 16:46:42,748 [SocketListener0-1] INFO SchedulesActivator - Activating schedule itraxspring
INFO | jvm 1 | 2006/02/02 16:46:43 | 2006-02-02 16:46:42,748 [SocketListener0-1] INFO SchedulesActivator - Thu Feb 02 16:47:00 GMT 2006
INFO | jvm 1 | 2006/02/02 16:47:00 | 2006-02-02 16:47:00,034 [scheduler1_Worker-1] INFO SchedulesActivator - >>>>>>>>>>>>>>>>>>>>> Executing build job (itraxspring)...
INFO | jvm 1 | 2006/02/02 16:47:00 | 02-Feb-2006 16:47:00 org.quartz.core.JobRunShell run
INFO | jvm 1 | 2006/02/02 16:47:00 | SEVERE: Job DEFAULT.itraxspring threw an unhandled Exception:
INFO | jvm 1 | 2006/02/02 16:47:00 | java.lang.NullPointerException
INFO | jvm 1 | 2006/02/02 16:47:00 | at org.apache.maven.continuum.DefaultContinuum.buildProjects(DefaultContinuum.java:368)
INFO | jvm 1 | 2006/02/02 16:47:00 | at org.apache.maven.continuum.scheduler.ContinuumBuildJob.execute(ContinuumBuildJob.java:66)
INFO | jvm 1 | 2006/02/02 16:47:00 | at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
INFO | jvm 1 | 2006/02/02 16:47:00 | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
INFO | jvm 1 | 2006/02/02 16:47:00 | 02-Feb-2006 16:47:00 org.quartz.core.ErrorLogger schedulerError
INFO | jvm 1 | 2006/02/02 16:47:00 | SEVERE: Job (DEFAULT.itraxspring threw an exception.
INFO | jvm 1 | 2006/02/02 16:47:00 | org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException]
INFO | jvm 1 | 2006/02/02 16:47:00 | at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
INFO | jvm 1 | 2006/02/02 16:47:00 | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
INFO | jvm 1 | 2006/02/02 16:47:00 | * Nested Exception (Underlying Cause) ---------------
INFO | jvm 1 | 2006/02/02 16:47:00 | java.lang.NullPointerException
INFO | jvm 1 | 2006/02/02 16:47:00 | at org.apache.maven.continuum.DefaultContinuum.buildProjects(DefaultContinuum.java:368)
INFO | jvm 1 | 2006/02/02 16:47:00 | at org.apache.maven.continuum.scheduler.ContinuumBuildJob.execute(ContinuumBuildJob.java:66)
INFO | jvm 1 | 2006/02/02 16:47:00 | at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
INFO | jvm 1 | 2006/02/02 16:47:00 | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)

If this isn't what you want let me know.

Thanks very much,

Ger

Show
clojinted added a comment - The jar came from this url http://beaver.codehaus.org/~evenisse/continuum-core-1.1-SNAPSHOT.jar And the contents of wrapper.log is: INFO | jvm 1 | 2006/02/02 16:46:14 | 16:46:14.039 EVENT Started HttpContext[/] INFO | jvm 1 | 2006/02/02 16:46:27 | 2006-02-02 16:46:27,417 [SocketListener0-1] INFO Action:login - Trying to log in QCONFIG INFO | jvm 1 | 2006/02/02 16:46:42 | 2006-02-02 16:46:42,748 [SocketListener0-1] INFO SchedulesActivator - Unactivating schedule itraxspring INFO | jvm 1 | 2006/02/02 16:46:43 | 2006-02-02 16:46:42,748 [SocketListener0-1] INFO SchedulesActivator - Stopping active schedule "itraxspring". INFO | jvm 1 | 2006/02/02 16:46:43 | 2006-02-02 16:46:42,748 [SocketListener0-1] INFO SchedulesActivator - Activating schedule itraxspring INFO | jvm 1 | 2006/02/02 16:46:43 | 2006-02-02 16:46:42,748 [SocketListener0-1] INFO SchedulesActivator - Thu Feb 02 16:47:00 GMT 2006 INFO | jvm 1 | 2006/02/02 16:47:00 | 2006-02-02 16:47:00,034 [scheduler1_Worker-1] INFO SchedulesActivator - >>>>>>>>>>>>>>>>>>>>> Executing build job (itraxspring)... INFO | jvm 1 | 2006/02/02 16:47:00 | 02-Feb-2006 16:47:00 org.quartz.core.JobRunShell run INFO | jvm 1 | 2006/02/02 16:47:00 | SEVERE: Job DEFAULT.itraxspring threw an unhandled Exception: INFO | jvm 1 | 2006/02/02 16:47:00 | java.lang.NullPointerException INFO | jvm 1 | 2006/02/02 16:47:00 | at org.apache.maven.continuum.DefaultContinuum.buildProjects(DefaultContinuum.java:368) INFO | jvm 1 | 2006/02/02 16:47:00 | at org.apache.maven.continuum.scheduler.ContinuumBuildJob.execute(ContinuumBuildJob.java:66) INFO | jvm 1 | 2006/02/02 16:47:00 | at org.quartz.core.JobRunShell.run(JobRunShell.java:191) INFO | jvm 1 | 2006/02/02 16:47:00 | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) INFO | jvm 1 | 2006/02/02 16:47:00 | 02-Feb-2006 16:47:00 org.quartz.core.ErrorLogger schedulerError INFO | jvm 1 | 2006/02/02 16:47:00 | SEVERE: Job (DEFAULT.itraxspring threw an exception. INFO | jvm 1 | 2006/02/02 16:47:00 | org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException] INFO | jvm 1 | 2006/02/02 16:47:00 | at org.quartz.core.JobRunShell.run(JobRunShell.java:202) INFO | jvm 1 | 2006/02/02 16:47:00 | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) INFO | jvm 1 | 2006/02/02 16:47:00 | * Nested Exception (Underlying Cause) --------------- INFO | jvm 1 | 2006/02/02 16:47:00 | java.lang.NullPointerException INFO | jvm 1 | 2006/02/02 16:47:00 | at org.apache.maven.continuum.DefaultContinuum.buildProjects(DefaultContinuum.java:368) INFO | jvm 1 | 2006/02/02 16:47:00 | at org.apache.maven.continuum.scheduler.ContinuumBuildJob.execute(ContinuumBuildJob.java:66) INFO | jvm 1 | 2006/02/02 16:47:00 | at org.quartz.core.JobRunShell.run(JobRunShell.java:191) INFO | jvm 1 | 2006/02/02 16:47:00 | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) If this isn't what you want let me know. Thanks very much, Ger
Hide
Emmanuel Venisse added a comment -

Thanks.

Show
Emmanuel Venisse added a comment - Thanks.
Hide
clojinted added a comment -

It may be useful to note that I'm running Continuum in Windows. This may effect the scheduling.

Show
clojinted added a comment - It may be useful to note that I'm running Continuum in Windows. This may effect the scheduling.
Hide
Emmanuel Venisse added a comment -

Fixed.

Show
Emmanuel Venisse added a comment - Fixed.
Hide
vaithinathan r added a comment -

Hi Emmanuel, i face the same issue while scheduling the job in quartz, please help me how to resolve this, below the same issue in my application.,

java.lang.NullPointerException
at org.quartz.core.JobRunShell.run(JobRunShell.java)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)

please help me emmanuel,
Thanks & Regards
vaithinathan rajendiran
(Chennai-India)

Show
vaithinathan r added a comment - Hi Emmanuel, i face the same issue while scheduling the job in quartz, please help me how to resolve this, below the same issue in my application., java.lang.NullPointerException at org.quartz.core.JobRunShell.run(JobRunShell.java) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) please help me emmanuel, Thanks & Regards vaithinathan rajendiran (Chennai-India)

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: