Jump to content

iReport 1.3.0 + crosstab => cpu 100%


slaisne

Recommended Posts

  • 2 weeks later...
  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Hi Giulio,

 

Hope this will help to replicate the issue that i m getting/referring to.

 

I didnt a complete checkout from svn, executed the ant clean,jar targets.

executed ireport

Whenever i open the jrxml file and close it for the firt time everything seems fine. Later when I open any (or same) jrxml file the tool bar is deactivated with restricts me to edit the static text or do anything. Also the mouse click on the disabled toolbar throws an exception on the console.

 

Later, when i modified the code for this.setBounds in else block it didnt give any exception and worked fine.

 

 

Code:
 else
{
if (getWindowBorder() != null)
super.setBorder( getWindowBorder() );
//this.getRootPane().setWindowDecorationStyle( javax.swing.JRootPane.FRAME);
this.setBounds(getBounds()); //modified this line
super.setMaximum(b);
if (menu != null) menu.setMaximizedFrame(null);
}

 

my apologies if anything dosent make sense.

 

Regards,

Sure

 

other wise exception trace is(if i dont modify this.setBounds(getBounds()):

 

java.lang.NullPointerException

at java.awt.Component.setBounds(Component.java:1976)

at it.businesslogic.ireport.gui.JMDIFrame.setMaximum(JMDIFrame.java:277)

at com.sun.java.swing.plaf.windows.WindowsDesktopManager.activateFrame(WindowsDesktopManager.java:59)

at it.businesslogic.ireport.gui.MainFrame.openNewReportWindow(MainFrame.java:7457)

at it.businesslogic.ireport.gui.MainFrame.openFile(MainFrame.java:5229)

at it.businesslogic.ireport.gui.MainFrame.open(MainFrame.java:7015)

at it.businesslogic.ireport.gui.MainFrame.jMenuItemOpenActionPerformed(MainFrame.java:6969)

at it.businesslogic.ireport.gui.MainFrame.jButtonOpenActionPerformed(MainFrame.java:6634)

at it.businesslogic.ireport.gui.MainFrame.access$4000(MainFrame.java:108)

at it.businesslogic.ireport.gui.MainFrame$40.actionPerformed(MainFrame.java:2109)

at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)

at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)

at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)

at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)

at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)

at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)

at java.awt.Component.processMouseEvent(Component.java:5488)

at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)

at java.awt.Component.processEvent(Component.java:5253)

at java.awt.Container.processEvent(Container.java:1966)

at java.awt.Component.dispatchEventImpl(Component.java:3955)

at java.awt.Container.dispatchEventImpl(Container.java:2024)

at java.awt.Component.dispatchEvent(Component.java:3803)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)

at java.awt.Container.dispatchEventImpl(Container.java:2010)

at java.awt.Window.dispatchEventImpl(Window.java:1774)

at java.awt.Component.dispatchEvent(Component.java:3803)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)

 

---------------------

Post edited by: sure919, at: 2007/02/02 08:40

Link to comment
Share on other sites

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...