iReport X Linux...URGENTE

Estou executando o iReport no Red Hat 9 e está apresentando o seguinte erro toda vez q crio um novo documento:


[ranophoenix@localhost iReport-0.4.0-src]$ ./iReport.sh
teste 594x450 []
java.lang.IllegalArgumentException: Width (-1) and height (-1) cannot be <= 0
java.lang.NullPointerException
        at java.awt.TexturePaint.&lt;init&gt;(TexturePaint.java:54)
        at it.businesslogic.ireport.gui.JReportFrame.drawVoidDoc(JReportFrame.java:2861)
        at it.businesslogic.ireport.gui.JReportFrame.redrawAll(JReportFrame.java:3134)
        at it.businesslogic.ireport.gui.JReportFrame.paintReportPanel(JReportFrame.java:3090)
        at it.businesslogic.ireport.gui.JReportPanel.paint(JReportPanel.java:74)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JLayeredPane.paint(JLayeredPane.java:557)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JLayeredPane.paint(JLayeredPane.java:557)
        at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4787)
        at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
        at javax.swing.JComponent._paintImmediately(JComponent.java:4685)
        at javax.swing.JComponent.paintImmediately(JComponent.java:4488)
        at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
        at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
java.lang.NullPointerException
        at java.awt.TexturePaint.&lt;init&gt;(TexturePaint.java:54)
        at it.businesslogic.ireport.gui.JReportFrame.drawVoidDoc(JReportFrame.java:2861)
        at it.businesslogic.ireport.gui.JReportFrame.redrawAll(JReportFrame.java:3134)
        at it.businesslogic.ireport.gui.JReportFrame.paintReportPanel(JReportFrame.java:3090)
        at it.businesslogic.ireport.gui.JReportPanel.paint(JReportPanel.java:74)
        at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4787)
        at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
        at javax.swing.JComponent._paintImmediately(JComponent.java:4685)
        at javax.swing.JComponent.paintImmediately(JComponent.java:4488)
        at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
        at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
java.lang.NullPointerException
        at java.awt.TexturePaint.&lt;init&gt;(TexturePaint.java:54)
        at it.businesslogic.ireport.gui.JReportFrame.drawVoidDoc(JReportFrame.java:2861)
        at it.businesslogic.ireport.gui.JReportFrame.redrawAll(JReportFrame.java:3134)
        at it.businesslogic.ireport.gui.JReportFrame.paintReportPanel(JReportFrame.java:3090)
        at it.businesslogic.ireport.gui.JReportPanel.paint(JReportPanel.java:74)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JLayeredPane.paint(JLayeredPane.java:557)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JLayeredPane.paint(JLayeredPane.java:557)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1021)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1021)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JLayeredPane.paint(JLayeredPane.java:557)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4794)
        at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
        at javax.swing.JComponent.paint(JComponent.java:798)
        at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
        at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
        at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
        at java.awt.Container.paint(Container.java:1312)
        at sun.awt.RepaintArea.paint(RepaintArea.java:177)
        at sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:405)
        at java.awt.Component.dispatchEventImpl(Component.java:3678)
        at java.awt.Container.dispatchEventImpl(Container.java:1627)
        at java.awt.Window.dispatchEventImpl(Window.java:1606)
        at java.awt.Component.dispatchEvent(Component.java:3477)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
java.lang.NullPointerException
        at java.awt.TexturePaint.&lt;init&gt;(TexturePaint.java:54)
        at it.businesslogic.ireport.gui.JReportFrame.drawVoidDoc(JReportFrame.java:2861)
        at it.businesslogic.ireport.gui.JReportFrame.redrawAll(JReportFrame.java:3134)
        at it.businesslogic.ireport.gui.JReportFrame.paintReportPanel(JReportFrame.java:3090)
        at it.businesslogic.ireport.gui.JReportPanel.paint(JReportPanel.java:74)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JLayeredPane.paint(JLayeredPane.java:557)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JLayeredPane.paint(JLayeredPane.java:557)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1021)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1021)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paint(JComponent.java:817)
        at javax.swing.JLayeredPane.paint(JLayeredPane.java:557)
        at javax.swing.JComponent.paintChildren(JComponent.java:647)
        at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4794)
        at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
        at javax.swing.JComponent.paint(JComponent.java:798)
        at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
        at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
        at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
        at java.awt.Container.paint(Container.java:1312)
        at sun.awt.RepaintArea.paint(RepaintArea.java:177)
        at sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:405)
        at java.awt.Component.dispatchEventImpl(Component.java:3678)
        at java.awt.Container.dispatchEventImpl(Container.java:1627)
        at java.awt.Window.dispatchEventImpl(Window.java:1606)
        at java.awt.Component.dispatchEvent(Component.java:3477)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

A interface fica toda travada e não consigo fazer mais nada. O q pode estar acontecendo? Sendo que todo o ambiente está configurado corretamente, até mesmo porque executo outros programas em java (por ex: netBeans, Eclipse) e tudo funciona normalmente.

Olá

Parece que esta mensagem já foi enviada antes. Isto é uma tentativa de flood?. Será que o GUJ está ficando gago? Ou sou eu que estou vendo tudo em dobro?

[]s
Luca

olá confira se suas variaveis de ambiente estao setadas corretamente,

PATH / CLASSPATH / JAVA_HOME / MANPATH

se está tudo okay, tente uma versao anterior do iReport o problema pode estar nesse seu release.

valeu ? até mais…

*aguarde a resposta normalmente sempre vem…

Oi amigo, penso que o problema não esteja no ambiente acho q o problema é realmente alguma coisa com a versão, mas ainda não testei com uma versão mais antiga pois no window$ está funcionando normal. Mas ainda estou procurando um porquê.

Obrigado