jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Sonar
  • SONAR-183

Evolution Graphics does not work (blank picture) in a linx environnement without X11

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.0.2
  • Fix Version/s: 1.1
  • Component/s: Metrics
  • Labels:
    None
  • Environment:
    Red Hat Server AS 4 without X11

Description

Evolution Graphics does not work on my environment (blank picture appears). I use a Red Hat Application Server 4 without X11 and I have this exception.

SwingUtilities2.java:120:in `sun.swing.SwingUtilities2$AATextInfo.getAATextInfo'
MetalLookAndFeel.java:1556:in `javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults'
BasicLookAndFeel.java:130:in `javax.swing.plaf.basic.BasicLookAndFeel.getDefaults'
MetalLookAndFeel.java:1591:in `javax.swing.plaf.metal.MetalLookAndFeel.getDefaults'
UIManager.java:537:in `javax.swing.UIManager.setLookAndFeel'
UIManager.java:577:in `javax.swing.UIManager.setLookAndFeel'
UIManager.java:1331:in `javax.swing.UIManager.initializeDefaultLAF'
UIManager.java:1418:in `javax.swing.UIManager.initialize'
UIManager.java:1406:in `javax.swing.UIManager.maybeInitialize'
UIManager.java:656:in `javax.swing.UIManager.getDefaults'
UIManager.java:698:in `javax.swing.UIManager.getColor'
JFreeChart.java:248:in `org.jfree.chart.JFreeChart.<clinit>'
ComplexityDistributionChart.java:111:in `ch.hortis.sonar.web.charts.ComplexityDistributionChart.getChartImage'
BaseChart.java:100:in `ch.hortis.sonar.web.charts.BaseChart.exportChartAsPNG'
BaseChart.java:106:in `ch.hortis.sonar.web.charts.BaseChart.exportChartAsPNG'
NativeMethodAccessorImpl.java:-2:in `sun.reflect.NativeMethodAccessorImpl.invoke0'
NativeMethodAccessorImpl.java:39:in `sun.reflect.NativeMethodAccessorImpl.invoke'
DelegatingMethodAccessorImpl.java:25:in `sun.reflect.DelegatingMethodAccessorImpl.invoke'

The problem occurs in 1.02 but it is solved in 1.1.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Simon Brandhof added a comment - 06/Mar/08 10:21 AM

Thanks for the feedback. For your information the bug will not be fixed on the release 1.0.2 because it is not supported anymore.

Show
Simon Brandhof added a comment - 06/Mar/08 10:21 AM Thanks for the feedback. For your information the bug will not be fixed on the release 1.0.2 because it is not supported anymore.
Hide
Permalink
Alexandre Navarro added a comment - 14/Mar/08 10:28 AM

You must add -Djava.awt.headless=true (a classic problem when you are on linux without x11)

Add for intance in conf/wrapper/conf
wrapper.java.additional.3=-Djava.awt.headless=true

Show
Alexandre Navarro added a comment - 14/Mar/08 10:28 AM You must add -Djava.awt.headless=true (a classic problem when you are on linux without x11) Add for intance in conf/wrapper/conf wrapper.java.additional.3=-Djava.awt.headless=true

People

  • Assignee:
    Simon Brandhof
    Reporter:
    Alexandre Navarro
Vote (0)
Watch (0)

Dates

  • Created:
    06/Mar/08 10:03 AM
    Updated:
    14/Mar/08 10:28 AM
    Resolved:
    06/Mar/08 10:21 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.