After Upgrading to Jasper to verion 8, Adhoc view Crosstabs are not creating Report .

We recently upgraded Jasper form 7 to 8 , previously all out Topics used to work without issue while creating Report from Crosstabs.

For the same topics  we are not seeing these Errors. I also attached the related JRXML, Not sure why it is duplicating the declared parameters?

ERROR ErrorPageHandlerAction,http-nio-12001-exec-9: - Error UID 6d7adec9-07ff-4914-9893-f03c59670da1
net.sf.jasperreports.engine.JRException: Duplicate declaration of parameter: LoggedInUserAttributeNames.
    at net.sf.jasperreports.engine.design.JRDesignDataset.addParameter(JRDesignDataset.java:624) ~[jasperreports-6.18.1.jar:6.18.1-9d75d1969e774d4f179fb3be8401e98a0e6d1611]
    at net.sf.jasperreports.engine.design.JRDesignDataset.addParameter(JRDesignDataset.java:606) ~[jasperreports-6.18.1.jar:6.18.1-9d75d1969e774d4f179fb3be8401e98a0e6d1611]
    at net.sf.jasperreports.engine.design.JasperDesign.addParameter(JasperDesign.java:854) ~[jasperreports-6.18.1.jar:6.18.1-9d75d1969e774d4f179fb3be8401e98a0e6d1611]
    at com.jaspersoft.ji.adhoc.service.AbstractReportBuilder.addSingleParameter(AbstractReportBuilder.java:752) ~[ji-gyroscope-8.0.0.jar:?]
    at com.jaspersoft.ji.adhoc.service.AbstractReportBuilder.addParameters(AbstractReportBuilder.java:727) ~[ji-gyroscope-8.0.0.jar:?]
    at com.jaspersoft.ji.adhoc.service.AbstractReportBuilder.addProfileAttributes(AbstractReportBuilder.java:709) ~[ji-gyroscope-8.0.0.jar:?]
    at com.jaspersoft.ji.adhoc.service.CrosstabReportBuilder.addCrosstab(CrosstabReportBuilder.java:173) ~[ji-gyroscope-8.0.0.jar:?]
    at com.jaspersoft.ji.adhoc.service.CrosstabReportBuilder.getJasperDesign(CrosstabReportBuilder.java:102) ~[ji-gyroscope-8.0.0.jar:?]
    at com.jaspersoft.ji.adhoc.service.SimpleReportGenerator.buildDesign(SimpleReportGenerator.java:64) ~[ji-gyroscope-8.0.0.jar:?]
    at com.jaspersoft.ji.adhoc.service.SimpleReportGenerator.generateJRXML(SimpleReportGenerator.java:58) ~[ji-gyroscope-8.0.0.jar:?]
    at com.jaspersoft.ji.adhoc.service.AdhocEngineServiceImpl.generateJRXML(AdhocEngineServiceImpl.java:587) ~[ji-gyroscope-8.0.0.jar:?]
    at com.jaspersoft.ji.adhoc.service.AdhocEngineServiceImpl.generateJRXMLFileResource(AdhocEngineServiceImpl.java:1429) ~[ji-gyroscope-8.0.0.jar:?]
    at com.jaspersoft.ji.adhoc.service.AdhocEngineServiceImpl.saveJRXML(AdhocEngineServiceImpl.java:1419) ~[ji-gyroscope-8.0.0.jar:?]
    at com.jaspersoft.ji.adhoc.service.AdhocEngineServiceImpl.createReportFromDataView(AdhocEngineServiceImpl.java:1230) ~[ji-gyroscope-8.0.0.jar:?]
    at com.jaspersoft.ji.adhoc.service.AdhocEngineServiceImpl$$FastClassBySpringCGLIB$$74ede881.invoke(<generated>) ~[ji-gyroscope-8.0.0.jar:?]
    at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.2.8.RELEASE.jar:5.2.8.RELEASE]
    at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:771) ~[spring-aop-5.2.8.RELEASE.jar:5.2.8.RELEASE]
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.2.8.RELEASE.jar:5.2.8.RELEASE]
    at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749) ~[spring-aop-5.2.8.RELEASE.jar:5.2.8.RELEASE]
    at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:136) ~[spring-aop-5.2.8.RELEASE.jar:5.2.8.RELEASE]
    at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:124) ~[spring-ao
Attachments: 
mayuri.pendyala's picture
Joined: Oct 22 2018 - 9:02pm
Last seen: 1 month 1 week ago

0 Answers:

No answers yet
Feedback
randomness