Issue Details (XML | Word | Printable)

Key: BAM-279
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Edwin Wong [Atlassian]
Reporter: Jainthra Fernandes
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

Clicking on Build Link throws Internal Server error

Created: 05/Oct/06 12:49 AM   Updated: 09/Oct/06 10:02 PM
Component/s: Installation
Affects Version/s: 0.4
Fix Version/s: 0.5

Time Tracking:
Original Estimate: 1 hour
Original Estimate - 1 hour
Remaining Estimate: 1 hour
Remaining Estimate - 1 hour
Time Spent: Not Specified
Remaining Estimate - 1 hour

File Attachments: 1. Text File atlassian-bamboo.log (659 kB)

Environment:
JDK1.4.2_12
Fedora Core 5

Participants: Edwin Wong [Atlassian], Jainthra Fernandes and Mark Chaimungkalanont [Atlassian]
Since last comment: 2 years, 6 weeks, 2 days ago
Number of comments: 4
Labels:


 Description  « Hide
Version: 0.4-SNAPSHOT
Build: 4
Build Date: 19/09/2006
Steps

1. I installed and configured Bamboo
2. Created multiple builds 1 after another.
3. When the build for a project returned as sucess. Clicked on the link and got the error for the URL
http://hostname:8086/build/viewBuildSummary.action?buildKey=ABC-CON

Exception ::
=============
Stack Trace: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:365)
at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:217)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:191)
at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:137)
at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
at com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115)



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Jainthra Fernandes added a comment - 05/Oct/06 01:53 AM
Furthur investigation of the exception gives this error. This can be avoided by
by setting java.awt.headless=true
Caused by: java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:134)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
at java.awt.Font.initializeFont(Font.java:308)
at java.awt.Font.<init>(Font.java:344)
at com.atlassian.bamboo.charts.ChartUtil.<clinit>(ChartUtil.java:48)
at com.atlassian.bamboo.charts.BaseBuildSummaryBarChart.generateChartParams(BaseBuildSummaryBarChart.java:88)
at com.atlassian.bamboo.build.ViewBuild.doExecute(ViewBuild.java:79)
at com.atlassian.bamboo.webwork.AbstractAction.execute(AbstractAction.java:110)

Mark Chaimungkalanont [Atlassian] added a comment - 05/Oct/06 06:18 PM
Jainthra,

Thanks for that info.

Can you tell us what distribution you were running? Is the it WAR distribution?

I guess for all of the "bundled" distribution, the java.awt.headless=true should be set already.

Cheers,

Mark C


Jainthra Fernandes added a comment - 05/Oct/06 06:26 PM
The distribution I am using is the http://downloads.atlassian.com/software/bamboo/Bamboo_macos_0_4.tgz
Is there a config file where I can change the property of java.awt.headless

Edwin Wong [Atlassian] added a comment - 09/Oct/06 10:02 PM
All bundled distributions should now have the java.awt.headless=true property set.