Jump to content
Changes to the Jaspersoft community edition download ×

Null pointer exception at report query


ktrinad

Recommended Posts

By: justin goyanko - ogoy

Null pointer exception at report query

2003-09-30 12:11

im running iReport-0.2.2 on a win2k with MySQL and whenever i make a 'Report Query' it gives me this..

 

iReport:

[java] java.lang.NullPointerException

[java] at it.businesslogic.ireport.gui.ReportQueryDialog.jButtonReadFie

ldsSQLActionPerformed(ReportQueryDialog.java:303)

[java] at it.businesslogic.ireport.gui.ReportQueryDialog.access$100(Rep

ortQueryDialog.java:42)

[java] at it.businesslogic.ireport.gui.ReportQueryDialog$2.actionPerfor

med(ReportQueryDialog.java:116)

[java] at javax.swing.AbstractButton.fireActionPerformed(AbstractButton

.java:1767)

[java] at javax.swing.AbstractButton$ForwardActionEvents.actionPerforme

d(AbstractButton.java:1820)

[java] at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultBut

tonModel.java:419)

[java] at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.

java:257)

[java] at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Basi

cButtonListener.java:258)

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

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

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

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

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

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

[java] at java.awt.LightweightDispatcher.retargetMouseEvent(Container.j

ava:3214)

[java] at java.awt.LightweightDispatcher.processMouseEvent(Container.ja

va:2929)

[java] at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2

859)

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

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

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

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

[java] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDi

spatchThread.java:190)

[java] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDisp

atchThread.java:144)

[java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j

ava:138)

[java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j

ava:130)

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

 

please help

 

 

 

 

By: Giulio Toffoli - gt78

RE: Null pointer exception at report query

2003-10-02 03:09

This happen when you don't have any report opened.

Should not possible execute a query to retrive fields without a report opened.

 

Giulio

 

 

 

 

 

By: justin goyanko - ogoy

RE: Null pointer exception at report query

2003-10-02 09:25

Thanks it's ok now.

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