Issue Details (XML | Word | Printable)

Key: CONTINUUM-2295
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Maria Catherine Tan
Reporter: Maria Catherine Tan
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Continuum

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

Created: 13/Jul/09 12:59 AM   Updated: 13/Jul/09 06:01 PM   Resolved: 13/Jul/09 06:01 PM
Return to search
Component/s: Core system
Affects Version/s: 1.3.4
Fix Version/s: 1.3.4

Time Tracking:
Not Specified

Complexity: Intermediate


 Description  « Hide

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)



Maria Catherine Tan made changes - 13/Jul/09 12:59 AM
Field Original Value New Value
Assignee Maria Catherine Tan [ ctan ]
Maria Catherine Tan added a comment - 13/Jul/09 01:02 AM

fixed in

  • r793465 of 1.3.x branch
  • r793466 of trunk

Maria Catherine Tan made changes - 13/Jul/09 01:02 AM
Resolution Fixed [ 1 ]
Fix Version/s 1.3.4 [ 15301 ]
Status Open [ 1 ] Closed [ 6 ]
Maria Catherine Tan added a comment - 13/Jul/09 02:30 AM

need unit test


Maria Catherine Tan made changes - 13/Jul/09 02:30 AM
Status Closed [ 6 ] Reopened [ 4 ]
Resolution Fixed [ 1 ]
Maria Catherine Tan added a comment - 13/Jul/09 06:01 PM

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

fixed in
r793475 of 1.3.x branch
r793476 of trunk


Maria Catherine Tan made changes - 13/Jul/09 06:01 PM
Resolution Fixed [ 1 ]
Status Reopened [ 4 ] Closed [ 6 ]