Jump to content
We've recently updated our Privacy Statement, available here ×

No such parameter SORT_FIELDS


armandotaffarel

Recommended Posts

 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?

 

Regards

Taffarel

Link to comment
Share on other sites

  • Replies 10
  • Created
  • Last Reply

Top Posters In This Topic

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

  • 3 weeks later...

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