Continuum

Getting NPE when trying to check if project should build or not

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.3.4 (Beta)
  • Fix Version/s: 1.3.4 (Beta)
  • Component/s: Core system
  • Labels:
    None
  • Complexity:
    Intermediate
  • Number of attachments :
    0

Description

java.lang.NullPointerException
at org.apache.maven.continuum.buildcontroller.DefaultBuildController.shouldBuild(DefaultBuildController.java:515)
at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:138)
at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:48)
at org.apache.continuum.taskqueueexecutor.ParallelBuildsThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ParallelBuildsThreadedTaskQueueExecutor.java:120)
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:619)

Activity

Hide
Maria Catherine Tan added a comment -

fixed in

  • r793465 of 1.3.x branch
  • r793466 of trunk
Show
Maria Catherine Tan added a comment - fixed in
  • r793465 of 1.3.x branch
  • r793466 of trunk
Hide
Maria Catherine Tan added a comment -

need unit test

Show
Maria Catherine Tan added a comment - need unit test
Hide
Maria Catherine Tan added a comment -

added unit test and prevent npe when scm result is null.

fixed in
r793475 of 1.3.x branch
r793476 of trunk

Show
Maria Catherine Tan added a comment - added unit test and prevent npe when scm result is null. fixed in r793475 of 1.3.x branch r793476 of trunk

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: