2004 IR Help Posted September 3, 2006 Share Posted September 3, 2006 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now