Issue Details (XML | Word | Printable)

Key: BAM-361
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Ben Kuo
Reporter: MattyJ
Votes: 0
Watchers: 0
Operations

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

Perforce provider stops working after Bamboo restart

Created: 19/Oct/06 08:58 PM   Updated: 23/Oct/06 03:40 AM
Component/s: Repository (Other)
Affects Version/s: 0.5.2
Fix Version/s: 0.6

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

File Attachments: 1. Java Archive File atlassian-bamboo-build-server-0.5.2.jar (322 kB)
2. Text File atlassian-bamboo.log (85 kB)

Environment: Windows XP server, VB6 custom builder, Perforce source contol server and client v2006.1.

Participants: Ben Kuo, Mark Chaimungkalanont [Atlassian] and MattyJ
Since last comment: 2 years, 11 weeks, 2 days ago
Number of comments: 3
Labels:


 Description  « Hide
When I create a build using Perforce for source control, it works fine immediately afterward. I can even build multiple times. But once I restart Bamboo, I get startup errors referring to Perforce, as well as messages in the error log:

Strack Trace

java.lang.NullPointerException
at com.atlassian.bamboo.repository.perforce.PerforceRepository.getSourceCodeDirectory(PerforceRepository.java:108)
at com.atlassian.bamboo.build.DefaultBuildChangeDetector.checkIfBuildNeedsBuilding(DefaultBuildChangeDetector.java:140)
at com.atlassian.bamboo.build.DefaultBuildChangeDetector.doTask(DefaultBuildChangeDetector.java:100)
at com.atlassian.bamboo.build.DefaultBuildChangeDetector.run(DefaultBuildChangeDetector.java:68)
at java.lang.Thread.run(Unknown Source)

If I then create a new build it will build, but then once Bamboo is restarted, both projects will fail from the get-go.

I've attached a clean logfile that includes starting the server for the first time, creating a build, building it twice, stopping the build, then trying to build the same build again with no changes to any configuration.

Thanks!



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Mark Chaimungkalanont [Atlassian] added a comment - 22/Oct/06 08:35 PM
Matt,

Thanks for pointing this out. We'll take a look at it and try to patch it for you.

Cheers,

Mark C


Ben Kuo added a comment - 23/Oct/06 02:27 AM
Hi Matt

We've hopefully fixed this problem for the next release, however as a temporary workaround until we release 0.6 we've updated one of the jars which is available here. Assuming you're using one of the standalone versions, first please stop Bamboo, then replace the jar found at:

<your-bamboo-installation-directory\webapp\WEB-INF\lib\atlassian-bamboo-build-server-0.5.2.jar

with the attached jar and after starting Bamboo again, hopefully you should be fine.

Please let us know if you run into any more problems or need clarification with these instructions.

Regards

Ben


Ben Kuo added a comment - 23/Oct/06 03:40 AM
JAR attached to the issue.

Let me know if you encounter any problems.