Jump to content
Changes to the Jaspersoft community edition download ×

JasperPrint error....


Recommended Posts

By: Albert Chan - albertchan

JasperPrint error....

2003-11-17 12:14

Hi,

 

I am trying to create a JasperPrint object in UNIX,

but I got this error:

 

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:125)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:140)

at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)

at java.awt.Font.initializeFont(Font.java:309)

at java.awt.Font.initFromMap(Font.java:414)

at java.awt.Font.<init>(Font.java:375)

at java.awt.Font.get(Font.java:448)

at java.awt.Font.getFont(Font.java:433)

at java.awt.font.StyledParagraph.getGraphicOrFont(StyledParagraph.java:469)

at java.awt.font.StyledParagraph.<init>(StyledParagraph.java:90)

at java.awt.font.TextMeasurer.initAll(TextMeasurer.java:208)

at java.awt.font.TextMeasurer.<init>(TextMeasurer.java:149)

at java.awt.font.LineBreakMeasurer.<init>(LineBreakMeasurer.java:292)

at java.awt.font.LineBreakMeasurer.<init>(LineBreakMeasurer.java:259)

at dori.jasper.engine.fill.JRFillTextElement.chopTextElement(JRFillTextElement.java:410)

at dori.jasper.engine.fill.JRFillStaticText.prepare(JRFillStaticText.java:236)

at dori.jasper.engine.fill.JRFillBand.prepareElements(JRFillBand.java:504)

at dori.jasper.engine.fill.JRFillBand.fill(JRFillBand.java:425)

at dori.jasper.engine.fill.JRVerticalFiller.fillTitle(JRVerticalFiller.java:358)

at dori.jasper.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:275)

at dori.jasper.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:172)

at dori.jasper.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:522)

at dori.jasper.engine.fill.JRFiller.fillReport(JRFiller.java:150)

at dori.jasper.engine.JasperFillManager.fillReport(JasperFillManager.java:351)

at dori.jasper.engine.JasperFillManager.fillReport(JasperFillManager.java:338)

 

Any ideas?

 

Thanks in advance,

al

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...