armandotaffarel Posted September 28, 2010 Share Posted September 28, 2010 Hi. I upgraded from version 3.7.4 to 3.7.5 e I'm getting this error now: Error filling print... No such parameter SORT_FIELDS net.sf.jasperreports.engine.JRRuntimeException: No such parameter SORT_FIELDS at net.sf.jasperreports.engine.fill.JRFillDataset.getParameterValue(JRFillDataset.java:963) at net.sf.jasperreports.engine.fill.JRFillDataset.getParameterValue(JRFillDataset.java:944) at net.sf.jasperreports.engine.fill.DatasetSortUtil.needSorting(DatasetSortUtil.java:86) at net.sf.jasperreports.engine.fill.JRFillDataset.initDatasource(JRFillDataset.java:609) at net.sf.jasperreports.engine.fill.JRBaseFiller.setParameters(JRBaseFiller.java:1281) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:901) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:845) at net.sf.jasperreports.engine.fill.JRFillSubreport.fillSubreport(JRFillSubreport.java:609) at net.sf.jasperreports.engine.fill.JRSubreportRunnable.run(JRSubreportRunnable.java:59) at net.sf.jasperreports.engine.fill.JRThreadSubreportRunner.run(JRThreadSubreportRunner.java:205) at java.lang.Thread.run(Thread.java:636) I have never used this parameter. Am I doing something wrong? RegardsTaffarel Link to comment Share on other sites More sharing options...
armandotaffarel Posted September 28, 2010 Author Share Posted September 28, 2010 Seems to be a problem with my subreports. When I opened the subreport and generated it, the error disapear in the master report. Link to comment Share on other sites More sharing options...
teodord Posted September 28, 2010 Share Posted September 28, 2010 Hi, This is an unfortunate bug that went into JR 3.7.5.It makes older *.jasper files unable to run with the new version.The solution is to recompile the *jasper files from source JRXML using 3.7.5.The error should go away.This will be fixed in the next release soon. Thanks,Teodor Link to comment Share on other sites More sharing options...
gallar Posted October 20, 2010 Share Posted October 20, 2010 FYI, recompiling does not work for me. All 3.7.5, no other version used. Link to comment Share on other sites More sharing options...
jbuberel Posted October 21, 2010 Share Posted October 21, 2010 This fix - cleanly recompiling all templates using 3.7.5 seems to have worked for me also. Link to comment Share on other sites More sharing options...
olavo-brito Posted October 21, 2010 Share Posted October 21, 2010 Delete the *. jasper and recompile the jrxml version 3.7.5 and unfortunately the same error occurs. Olavo Jr. Link to comment Share on other sites More sharing options...
teodord Posted October 21, 2010 Share Posted October 21, 2010 Hi, Please make sure you compile them with JR 3.7.5.I suspect you still compile them with older JR, but then when you run them, you use 3.7.5, hence the problem. Thanks,Teodor Link to comment Share on other sites More sharing options...
olavo-brito Posted October 21, 2010 Share Posted October 21, 2010 Dear TeodorI'm using iReport 3.7.5. as a standalone application and not as a plugin. So there's no compiling to be different from other JasperReport 3.7.5.ThanksOlavo Jr. Link to comment Share on other sites More sharing options...
roarf Posted October 26, 2010 Share Posted October 26, 2010 I had the same problem, but recompiling with iReport 3.7.5 solved the problem, maybe you missed a subreport or something Link to comment Share on other sites More sharing options...
olavo-brito Posted October 27, 2010 Share Posted October 27, 2010 Dear roarf,Your e-mail allowed me to wake up to a great detail. The report in question had two sub-reports, which were not compiled in version 3.7.5. Once compiled the report was generated without errors. Thanks for the reply.Olavo Jr. Link to comment Share on other sites More sharing options...
teodord Posted November 2, 2010 Share Posted November 2, 2010 Hi, This was solved in JR 3.7.6. Thanks,Teodor 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