Jump to content
Changes to the Jaspersoft community edition download ×

Newbie Problems - Please Help


ktrinad

Recommended Posts

By: Josh Carlson - josh_carlson

Newbie Problems - Please Help

2003-07-09 23:44

Hello all -

 

I installed iReport 0.2.1 (full Java beta) on my Mac OSX machine (Java 1.4.1) and I am able to run iReport, connect to MySQL through the JDBC drivers, but when I try to create a new document I get the new document options window and I select my page size, etc... I hit OK and nothing happens. I also tried the report wizard which connected to my database no problem, I was able to select the fields I wanted to use, sorts, etc... and when I hit finish, nothing happens. Can anyone help?

 

Thanks in advance! - Josh

 

 

 

 

By: Giulio Toffoli - gt78

RE: Newbie Problems - Please Help

2003-07-10 00:42

 

Hi Josh.

 

Can you see in some place a stacktrace? I think that creating a new JReportFame an exception is thorwed (evidently only on OSX)....

 

 

Giulio

 

 

 

 

 

 

By: Josh Carlson - josh_carlson

RE: Newbie Problems - Please Help

2003-07-10 20:37

Giulio -

 

Please see the following maybe you can figure out what's going on. I must say that iReports is well laid out and I can't wait to use it!

 

Thanks - Josh

 

 

 

 

[JCMAC:/Applications/iReport-0.2.1] joshcarlson% ant iReport

Buildfile: build.xml

 

prepare:

 

compile:

 

iReport:

[java] 2003-07-10 18:44:44.499 java[1478] Warning: Font LucidaSans-TypewriterBold claims fixed-pitch with 0 max advance!

[java] 2003-07-10 18:44:46.261 java[1478] Font GB18030Bitmap: in _readBasicMetricsForSize, claims 0 max advance but is fixed-pitch.

[java] Il nome ?:Test

[java] apple.awt.EventQueueExceptionHandler Caught Throwable :

[java] java.lang.NullPointerException

[java] at it.businesslogic.ireport.gui.JMDIFrame.<init>(JMDIFrame.java:54)

[java] at it.businesslogic.ireport.gui.JReportFrame.<init>(JReportFrame.java:83)

[java] at it.businesslogic.ireport.gui.MainFrame.openNewReportWindow(MainFrame.java:3495)

[java] at it.businesslogic.ireport.gui.MainFrame.jMenuItemNewDocumentActionPerformed(MainFrame.java:3487)

[java] at it.businesslogic.ireport.gui.MainFrame.access$4200(MainFrame.java:51)

[java] at it.businesslogic.ireport.gui.MainFrame$44.actionPerformed(MainFrame.java:1342)

[java] at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1797)

[java] at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1850)

[java] at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)

[java] at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)

[java] at javax.swing.AbstractButton.doClick(AbstractButton.java:321)

[java] at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1109)

[java] at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)

[java] at java.awt.Component.processMouseEvent(Component.java:5093)

[java] at java.awt.Component.processEvent(Component.java:4890)

[java] at java.awt.Container.processEvent(Container.java:1566)

[java] at java.awt.Component.dispatchEventImpl(Component.java:3598)

[java] at java.awt.Container.dispatchEventImpl(Container.java:1623)

[java] at java.awt.Component.dispatchEvent(Component.java:3439)

[java] at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)

[java] at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)

[java] at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)

[java] at java.awt.Container.dispatchEventImpl(Container.java:1609)

[java] at java.awt.Window.dispatchEventImpl(Window.java:1585)

[java] at java.awt.Component.dispatchEvent(Component.java:3439)

[java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)

[java] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:230)

[java] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:183)

[java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)

[java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)

[java] at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

[java] root $ administ jdbc:mysql://localhost:3306/cosmofarmer

[java] apple.awt.EventQueueExceptionHandler Caught Throwable :

[java] java.lang.NullPointerException

[java] at it.businesslogic.ireport.gui.JMDIFrame.<init>(JMDIFrame.java:54)

[java] at it.businesslogic.ireport.gui.JReportFrame.<init>(JReportFrame.java:83)

[java] at it.businesslogic.ireport.gui.MainFrame.openNewReportWindow(MainFrame.java:3495)

[java] at it.businesslogic.ireport.gui.MainFrame.jMenuItemWizardActionPerformed(MainFrame.java:2283)

[java] at it.businesslogic.ireport.gui.MainFrame.access$4300(MainFrame.java:51)

[java] at it.businesslogic.ireport.gui.MainFrame$45.actionPerformed(MainFrame.java:1354)

[java] at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1797)

[java] at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1850)

[java] at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)

[java] at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)

[java] at javax.swing.AbstractButton.doClick(AbstractButton.java:321)

[java] at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1109)

[java] at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)

[java] at java.awt.Component.processMouseEvent(Component.java:5093)

[java] at java.awt.Component.processEvent(Component.java:4890)

[java] at java.awt.Container.processEvent(Container.java:1566)

[java] at java.awt.Component.dispatchEventImpl(Component.java:3598)

[java] at java.awt.Container.dispatchEventImpl(Container.java:1623)

[java] at java.awt.Component.dispatchEvent(Component.java:3439)

[java] at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)

[java] at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)

[java] at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)

[java] at java.awt.Container.dispatchEventImpl(Container.java:1609)

[java] at java.awt.Window.dispatchEventImpl(Window.java:1585)

[java] at java.awt.Component.dispatchEvent(Component.java:3439)

[java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)

[java] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:230)

[java] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:183)

[java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)

[java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)

[java] at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

 

 

 

 

By: Giulio Toffoli - gt78

RE: Newbie Problems - Please Help

2003-07-11 00:57

 

I think that the problem is generated by an hack that I have written to overload the maximize action of internal frames in swing.

I assume that this call:

((javax.swing.plaf.basic.BasicInternalFrameUI)getUI()).getNorthPane()

return a non null value, but seems not true on MacOSX.

Have you a way to verify this writing a very simple app that open an internal frame? If not I'll provide it a simple app that make this.

 

Giulio

 

 

 

 

 

 

By: Josh Carlson - josh_carlson

RE: Newbie Problems - Please Help

2003-07-11 23:20

Hi Giulio -

 

No I don't, very much a Java novice and am not capable of writing the simplest app yet. If you could provide one that would be great. I am very impressed with your level of support. Thank you so much. Hopefully, I'll be able to enjoy using iReport soon!

 

Thanks - Josh

 

 

 

 

By: Josh Carlson - josh_carlson

RE: Newbie Problems - Please Help

2003-07-17 23:42

Hi Giulio -

 

Did you ever get a chance to do this?

 

Thanks so much - Josh

 

 

 

 

By: Giulio Toffoli - gt78

RE: Newbie Problems - Please Help

2003-07-18 01:22

 

Hi Josh,

 

I haveverified your error, but I don't think that the

problem is what I suspectede.

 

My brother has got an iBook. I'll try this weekend

iReport on MacOSX direclty.

 

Be patient :)

We'll find a solution.

 

Giulio

 

 

 

 

 

By: Josh Carlson - josh_carlson

RE: Newbie Problems - Please Help

2003-07-18 19:42

Thanks for your quick reply Giulio! I'm just excited about using iReport :)

 

Have a great weekend!

 

- Josh

 

 

 

 

By: Josh Carlson - josh_carlson

RE: Newbie Problems - Please Help

2003-08-05 22:24

Hi Gulio -

 

Just checking to see if you've made any headway with this.

 

Regards - Josh

 

 

 

 

By: Gary Nunes - gary_nunes

RE: Newbie Problems - Please Help

2004-03-02 13:19

I recently downloaded iReport (latest version - 0.2.2) and, as a Mac OSX user (10.2.8 - Jaguar), I experienced a problem that looks similar (if not the same) as the one reported by Josh on this thread (the stack trace follows at the end of this message).

 

If the problem has since been solved please let me know how to get iReport successfully running on my Mac.

 

Otherwise I'd just like to say that if the author of iReport needs any help in getting it to run correctly in a Mac OSX environment please let me know as I'm willing to help. Besides being a Mac user I am a Java programmer and use my iMac flat-panel every day to do Java development (it's one of the older 15" models but it gets the job done).

 

Regards,

Gary Nunes

 

Here is the stack trace from iReport that occurred when I tried to create a new report:

 

----stack trace begins----

[java] Il nome ?:untitled_report_1

[java] apple.awt.EventQueueExceptionHandler Caught Throwable :

[java] java.lang.NullPointerException

[java] at it.businesslogic.ireport.gui.JMDIFrame.<init>(JMDIFrame.java:54)

[java] at it.businesslogic.ireport.gui.JReportFrame.<init>(JReportFrame.java:112)

[java] at it.businesslogic.ireport.gui.MainFrame.openNewReportWindow(MainFrame.java:3959)

[java] at it.businesslogic.ireport.gui.MainFrame.jMenuItemNewDocumentActionPerformed(MainFrame.java:3951)

[java] at it.businesslogic.ireport.gui.MainFrame.jButtonNewActionPerformed(MainFrame.java:3794)

[java] at it.businesslogic.ireport.gui.MainFrame.access0(MainFrame.java:51)

[java] at it.businesslogic.ireport.gui.MainFrame.actionPerformed(MainFrame.java:794)

[java] at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1797)

[java] at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1850)

[java] at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)

[java] at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)

[java] at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:247)

[java] at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:227)

[java] at java.awt.Component.processMouseEvent(Component.java:5093)

[java] at java.awt.Component.processEvent(Component.java:4890)

[java] at java.awt.Container.processEvent(Container.java:1566)

[java] at java.awt.Component.dispatchEventImpl(Component.java:3598)

[java] at java.awt.Container.dispatchEventImpl(Container.java:1623)

[java] at java.awt.Component.dispatchEvent(Component.java:3439)

[java] at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)

[java] at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)

[java] at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)

[java] at java.awt.Container.dispatchEventImpl(Container.java:1609)

[java] at java.awt.Window.dispatchEventImpl(Window.java:1585)

[java] at java.awt.Component.dispatchEvent(Component.java:3439)

[java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)

[java] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:230)

[java] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:183)

[java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)

[java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)

[java] at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

----stack trace ends----

 

 

 

 

By: Giulio Toffoli - gt78

RE: Newbie Problems - Please Help

2004-03-02 15:09

The problem is the same.

 

If you have patient in one or two days will be released the new version.

 

If can already get it from CVS.

 

You can use the available patch for this bug on iReport patch traker too.

 

Giulio

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