Issue Details (XML | Word | Printable)

Key: BAM-270
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Ben Kuo
Reporter: Gwyn Evans
Votes: 0
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Bamboo

NPE - Failed to notify a build event notifier about the build completion of build "Topup EJBs"

Created: 28/Sep/06 01:41 PM   Updated: 09/Oct/06 03:05 AM
Component/s: Build Process
Affects Version/s: 0.4
Fix Version/s: 0.5

Time Tracking:
Original Estimate: 2 hours
Original Estimate - 2 hours
Remaining Estimate: 2 hours
Remaining Estimate - 2 hours
Time Spent: Not Specified
Remaining Estimate - 2 hours

Environment:
Standalone - WinXP
$ java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)

Participants: Ben Kuo, Gwyn Evans and Mark Chaimungkalanont [Atlassian]
Since last comment: 2 years, 13 weeks, 2 days ago
Number of comments: 4
Labels:


 Description  « Hide
2006-09-28 19:35:48,668 INFO [output stream pumper] [StreamToListPumper] [TOPEJB] [INFO] ------------------------------------------------------------------------
2006-09-28 19:35:48,668 INFO [output stream pumper] [StreamToListPumper] [TOPEJB] [INFO] BUILD SUCCESSFUL
2006-09-28 19:35:48,668 INFO [output stream pumper] [StreamToListPumper] [TOPEJB] [INFO] ------------------------------------------------------------------------
2006-09-28 19:35:48,668 INFO [output stream pumper] [StreamToListPumper] [TOPEJB] [INFO] Total time: 47 seconds
2006-09-28 19:35:48,668 INFO [output stream pumper] [StreamToListPumper] [TOPEJB] [INFO] Finished at: Thu Sep 28 19:35:48 BST 2006
2006-09-28 19:35:48,928 INFO [output stream pumper] [StreamToListPumper] [TOPEJB] [INFO] Final Memory: 12M/43M
2006-09-28 19:35:48,928 INFO [output stream pumper] [StreamToListPumper] [TOPEJB] [INFO] ------------------------------------------------------------------------
Hibernate: select defaulthib0_.id as id, defaulthib0_.groupname as groupname from groups defaulthib0_ inner join local_members localmembe1_ on defaulthib0_.id=localmembe1_.groupid inner join users defaulthib2_ on localmembe1_.userid=defaulthib2_.id where (defaulthib2_.id=? )
2006-09-28 19:35:49,069 INFO [BJ::BuildPipeline::BuildExecutor] [AbstractBuilder] Completed building build "Topup EJBs" return code = 0
2006-09-28 19:35:50,531 INFO [BJ::BuildPipeline::BuildExecutor] [DefaultBuildExecutor] Build log size: 154
2006-09-28 19:35:50,531 INFO [BJ::BuildPipeline::BuildExecutor] [DefaultBuildExecutor] Setting build artifacts
2006-09-28 19:35:50,541 INFO [BJ::BuildPipeline::BuildCompleteNotifier] [DefaultTestCaseResultsIndexer] Indexing build ... TOPEJB16, took: 10
2006-09-28 19:35:51,632 ERROR [BJ::DefaultBuildEventNotifier::action] [DefaultBuildEventNotifier] Failed to notify a build event notifier about the build completion of build "Topup EJBs"
java.lang.NullPointerException
at com.atlassian.bamboo.build.DefaultBuildManager.executeBuild(DefaultBuildManager.java:44)
at sun.reflect.GeneratedMethodAccessor627.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
at $Proxy7.executeBuild(Unknown Source)
at com.atlassian.bamboo.container.BambooContainer.executeBuild(BambooContainer.java:528)
at com.atlassian.bamboo.events.DependencyBuilder.onBuildComplete(DependencyBuilder.java:43)
at com.atlassian.bamboo.event.DefaultBuildEventNotifier$1.run(DefaultBuildEventNotifier.java:143)
at java.lang.Thread.run(Unknown Source)
Hibernate: select defaulthib0_.id as id, defaulthib0_.groupname as groupname from groups defaulthib0_ inner join local_members localmembe1_ on defaulthib0_.id=localmembe1_.groupid inner join users defaulthib2_ on localmembe1_.userid=defaulthib2_.id where (defaulthib2_.id=? )

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Mark Chaimungkalanont [Atlassian] added a comment - 28/Sep/06 09:46 PM
Gwyn,

Thanks for reporting the bug.

Did the project "Topup EJBs" have any dependent builds that have since been deleted by any chance?

Cheers,

Mark C


Gwyn Evans added a comment - 29/Sep/06 03:57 AM
Not that I recall - I was doing various things as part of getting started and I don't think I did that. I think I did delete & recreate something at one stage, but I don't think there were dependents set up at the time. I wouldn't rule out my having edited the build, triggering it more than once, though...

Mark Chaimungkalanont [Atlassian] added a comment - 05/Oct/06 06:47 PM
I think the cause of this is probably the Build Dependencies. We'll:
  • Add an upgrade task that cleans any broken relationships with dependent builds
  • Make sure that build dependencies are removed when profjects are removed
  • Be more denfensive when running through depedent builds and check whether they exists before running them

Ben Kuo added a comment - 09/Oct/06 03:05 AM
Hi Gwyn

This issue should be fixed in the next release that should be out shortly.
Dependent builds should be cleaned up when upgrading.
Let me know if you encounter any problems with this.

Cheers

Ben