dezconocido Posted February 21, 2015 Share Posted February 21, 2015 Query error Message: net.sf.jasperreports.engine.JRException: General problem:Error executing SQL statement for : null Check username and password; is the DBMS active ?!Level: SEVEREStack Trace:General problem: Error executing SQL statement for : null Check username and password; is the DBMS active ?! com.jaspersoft.ireport.designer.data.fieldsproviders.SQLFieldsProvider.getFields(SQLFieldsProvider.java:172) com.jaspersoft.ireport.designer.connection.JDBCConnection.readFields(JDBCConnection.java:472) com.jaspersoft.ireport.designer.wizards.ConnectionSelectionWizardPanel.validate(ConnectionSelectionWizardPanel.java:146) org.openide.WizardDescriptor$7.run(WizardDescriptor.java:1357) org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997) SELECT proyecto."iddatosproyecto" AS proyecto_iddatosproyecto, proyecto."montofinancimiento" AS proyecto_montofinancimiento, proyecto."status" AS proyecto_status, proyecto."titulo" AS proyecto_titulo, proyecto."fechainicio" AS proyecto_fechainicio, proyecto."fuentefinanciamiento" AS proyecto_fuentefinanciamientoFROM "public"."proyecto" proyectoWHERE proyecto."financiado" LIKE "SI" //Error hereORDER BY proyecto."montofinancimiento" ASC Link to comment Share on other sites More sharing options...
mm972 Posted February 23, 2015 Share Posted February 23, 2015 Have you tried to change the SQL statement..???for example without LIKE condition..??? to understand is wrong the syntax ???try : proyecto."financiado" LIKE 'SI'proyecto."financiado" LIKE "%SI%"proyecto."financiado" = "SI"bye Max Link to comment Share on other sites More sharing options...
edramu31 Posted May 11, 2016 Share Posted May 11, 2016 Hello dezconocido Hava you fixed your issue? I hava this Greetings!! net.sf.jasperreports.engine.JRException: Error executing SQL statement for: null. at net.sf.jasperreports.engine.query.JRJdbcQueryExecuter.createDatasource(JRJdbcQueryExecuter.java:344) at net.sf.jasperreports.engine.fill.JRFillDataset.createQueryDatasource(JRFillDataset.java:1129) at net.sf.jasperreports.engine.fill.JRFillDataset.initDatasource(JRFillDataset.java:696) at net.sf.jasperreports.engine.fill.BaseReportFiller.setParameters(BaseReportFiller.java:437) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:548) at net.sf.jasperreports.engine.fill.BaseReportFiller.fill(BaseReportFiller.java:396) at net.sf.jasperreports.engine.fill.JRFiller.fill(JRFiller.java:90) at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:456) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:863) at Reporteador_AG4X4.Aplicacion_Reporteo.btnGenerarReporteAprietesInternoActionPerformed(Aplicacion_Reporteo.java:2302) 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