Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Error in generating Report
Birt_Start
Hi everyone,
I am getting some strange errors while trying to generate the report in pdf through the java application,the application is running in unix environment.When after deployment I tried to generate the report first time the following error is shown
Xlib: connection to "localhost:11.0" refused by server
Xlib: PuTTY X11 proxy: wrong authentication protocol attempted
Feb 23, 2011 7:28:56 AM org.eclipse.birt.report.engine.api.impl.RunAndRenderTask doRun
SEVERE: Error happened while running the report.
java.lang.InternalError: Can't connect to X11 window server using 'localhost:11.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.access$000(X11GraphicsEnvironment.java:53)
at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:142)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:131)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)
at sun.awt.motif.MToolkit.<clinit>(MToolkit.java:93)
at java.lang.Class.forName0(Native Method)
.
.
But from the second time while attempting to generate the report in pdf format the below error is shown..
Feb 23, 2011 7:32:32 AM org.eclipse.birt.report.engine.api.impl.RunAndRenderTask doRun
SEVERE: Error happened while running the report.
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at java.awt.Toolkit$2.run(Toolkit.java:821)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804)
at org.eclipse.birt.report.engine.layout.pdf.util.PropertyUtil.getScreenDpi(PropertyUtil.java:322)
at org.eclipse.birt.report.engine.layout.pdf.util.PropertyUtil.getRenderDpi(PropertyUtil.java:294)
at org.eclipse.birt.report.engine.layout.pdf.util.PropertyUtil.getRenderDpi(PropertyUtil.java:305)
at org.eclipse.birt.report.engine.nLayout.area.impl.ContainerArea.getResolution(ContainerArea.java:770)
at org.eclipse.birt.report.engine.nLayout.area.impl.ContainerArea.getDimensionValue(ContainerArea.java:807)
at org.eclipse.birt.report.engine.nLayout.area.impl.ContainerArea.getDimensionValue(ContainerArea.java:781)
at org.eclipse.birt.report.engine.nLayout.area.impl.ContainerArea.getDimensionValue(ContainerArea.java:775)
at org.eclipse.birt.report.engine.nLayout.area.impl.ContainerArea.calculateSpecifiedHeight(ContainerArea.java:418)
at org.eclipse.birt.report.engine.nLayout.area.impl.RowArea.initialize(RowArea.java:162)
at org.eclipse.birt.report.engine.nLayout.LayoutEngine.setContainer(LayoutEngine.java:352)
at org.eclipse.birt.report.engine.nLayout.LayoutEngine.startTableContainer(LayoutEngine.java:558)
at org.eclipse.birt.report.engine.nLayout.LayoutEngine.startRow(LayoutEngine.java:570)
at org.eclipse.birt.report.engine.emitter.CompositeContentEmitter.startRow(CompositeContentEmitter.java:298)
at org.eclipse.birt.report.engine.layout.html.HTMLTableLayoutEmitter.startRow(HTMLTableLayoutEmitter.java:607)
at org.eclipse.birt.report.engine.emitter.ContentEmitterUtil.startContent(ContentEmitterUtil.java:56)
at org.eclipse.birt.report.engine.layout.html.buffer.ContainerBufferNode.start(ContainerBufferNode.java:83)
at org.eclipse.birt.report.engine.layout.html.buffer.ContainerBufferNode.start(ContainerBufferNode.java:79)
at org.eclipse.birt.report.engine.layout.html.buffer.HTMLPageBuffer.startContent(HTMLPageBuffer.java:113)
.
.
.
Please let me know any suggestion.
Many thanks in advance
Find more posts tagged with
Comments
There are no comments yet