Jump to content
JasperReports Library 7.0 is now available ×

NullPointerEx. when typing in report query


2004 IR Help

Recommended Posts

By: Boris Klug - borisklug

NullPointerEx. when typing in report query

2004-11-04 01:30

Hi!

 

we use iReport 0.3.2 and 0.4 and the Oracle thin client (9iR2) to connect to an Oracle db.

The connection test is OK. Than we open a new report document and start typing in a new report query like

 

select name, login from tablename

 

The OK button does not get clickable and the system output shows a NPE:

java.lang.NullPointerException

at it.businesslogic.ireport.gui.ReportQueryDialog.processQueryChanged(ReportQueryDialog.java:143)

at it.businesslogic.ireport.gui.ReportQueryDialog.automaticlyReadFieldsCheckBoxActionPerformed(ReportQueryDialog.java:1002)

at it.businesslogic.ireport.gui.ReportQueryDialog.access$1000(ReportQueryDialog.java:55)

at it.businesslogic.ireport.gui.ReportQueryDialog$6.actionPerformed(ReportQueryDialog.java:529)

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

 

 

 

What are we doing wrong?

 

 

 

 

 

By: Boris Klug - borisklug

RE: NullPointerEx. when typing in report quer

2004-11-04 02:25

Sorry about bothering you. After searching the forum again I found the answer:

 

You have to set the active connection, use the menu "Build", "Set active connection"

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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