Hi Guys,
I want to create a custom report, when I edit the report and without
making any changes click compile it gives me the following error:


>
> Compiling to file... .\TemplateReport.jasper ->
> E:\iReport-3.0.0\TemplateReport.java
> Errors compiling .\TemplateReport.jasper.
> net.sf.jasperreports.engine.JRException:*net.sf.ja sperreports.engine.JRRuntimeException:*net.sf.jasp erreports.engine.JRException:*No*query*executer*fa ctory*class*registered*for*LUCENE_EVENT*queries.** Create*a*propery*named*net.sf.jasperreports.query. executer.factory.LUCENE_EVENT.
> ****at*net.sf.jasperreports.engine.xml.JRXmlLoader .loadXML(JRXmlLoader.java:243)
> ****at*net.sf.jasperreports.engine.xml.JRXmlLoader .loadXML(JRXmlLoader.java:226)
> ****at*it.businesslogic.ireport.IReportCompiler.lo adJasperDesign(IReportCompiler.java:2125)
> ****at*it.businesslogic.ireport.IReportCompiler.ru n(IReportCompiler.java:584)
> ****at*java.lang.Thread.run(Unknown*Source)
> Caused*by:*net.sf.jasperreports.engine.JRRuntimeEx ception:*net.sf.jasperreports.engine.JRException:* No*query*executer*factory*class*registered*for*LUC ENE_EVENT*queries.**Create*a*propery*named*net.sf. jasperreports.query.executer.factory.LUCENE_EVENT.
> ****at*org.apache.commons.digester.Digester.create SAXException(Digester.java:2919)
> ****at*org.apache.commons.digester.Digester.create SAXException(Digester.java:2945)
> ****at*org.apache.commons.digester.Digester.endEle ment(Digester.java:1133)
> ****at*it.businesslogic.ireport.compiler.xml.Sourc eTraceDigester.endElement(SourceTraceDigester.java :159)
> ****at*org.apache.xerces.parsers.AbstractSAXParser .endElement(Unknown*Source)
> ****at*org.apache.xerces.impl.dtd.XMLDTDValidator. endNamespaceScope(Unknown*Source)
> ****at*org.apache.xerces.impl.dtd.XMLDTDValidator. handleEndElement(Unknown*Source)
> ****at*org.apache.xerces.impl.dtd.XMLDTDValidator. endElement(Unknown*Source)
> ****at*org.apache.xerces.impl.XMLDocumentFragmentS cannerImpl.scanEndElement(Unknown*Source)
> ****at*org.apache.xerces.impl.XMLDocumentFragmentS cannerImpl$FragmentContentDispatcher.dispatch(Unkn own*Source)
> ****at*org.apache.xerces.impl.XMLDocumentFragmentS cannerImpl.scanDocument(Unknown*Source)
> ****at*org.apache.xerces.parsers.XML11Configuratio n.parse(Unknown*Source)
> ****at*org.apache.xerces.parsers.XML11Configuratio n.parse(Unknown*Source)
> ****at*org.apache.xerces.parsers.XMLParser.parse(U nknown*Source)
> ****at*org.apache.xerces.parsers.AbstractSAXParser .parse(Unknown*Source)
> ****at*org.apache.xerces.jaxp.SAXParserImpl$JAXPSA XParser.parse(Unknown*Source)
> ****at*org.apache.commons.digester.Digester.parse( Digester.java:1647)
> ****at*net.sf.jasperreports.engine.xml.JRXmlLoader .loadXML(JRXmlLoader.java:239)
> ****...*4*more
> Caused*by:*net.sf.jasperreports.engine.JRRuntimeEx ception:*net.sf.jasperreports.engine.JRException:* No*query*executer*factory*class*registered*for*LUC ENE_EVENT*queries.**Create*a*propery*named*net.sf. jasperreports.query.executer.factory.LUCENE_EVENT.
> ****at*net.sf.jasperreports.engine.design.JRDesign Dataset.queryLanguageChanged(JRDesignDataset.java: 914)
> ****at*net.sf.jasperreports.engine.design.JRDesign Dataset.setQuery(JRDesignDataset.java:448)
> ****at*net.sf.jasperreports.engine.design.JasperDe sign.setQuery(JasperDesign.java:806)
> ****at*sun.reflect.NativeMethodAccessorImpl.invoke 0(Native*Method)
> ****at*sun.reflect.NativeMethodAccessorImpl.invoke (Unknown*Source)
> ****at*sun.reflect.DelegatingMethodAccessorImpl.in voke(Unknown*Source)
> ****at*java.lang.reflect.Method.invoke(Unknown*Sou rce)
> ****at*org.apache.commons.beanutils.MethodUtils.in vokeMethod(MethodUtils.java:216)
> ****at*org.apache.commons.digester.SetNextRule.end (SetNextRule.java:216)
> ****at*org.apache.commons.digester.Rule.end(Rule.j ava:230)
> ****at*org.apache.commons.digester.Digester.endEle ment(Digester.java:1130)
> ****...*19*more
> Caused*by:*net.sf.jasperreports.engine.JRException :*No*query*executer*factory*class*registered*for*L UCENE_EVENT*queries.**Create*a*propery*named*net.s f.jasperreports.query.executer.factory.LUCENE_EVEN T.
> ****at*net.sf.jasperreports.engine.util.JRQueryExe cuterUtils.getQueryExecuterFactory(JRQueryExecuter Utils.java:56)
> ****at*net.sf.jasperreports.engine.design.JRDesign Dataset.queryLanguageChanged(JRDesignDataset.java: 903)
> ****...*29*more
> Compilation running time: 125
>



Can you please help how we can resolve this issue. Where do I have to
add the property
"net.sf.jasperreports.query.executer.factory.LUCEN E_EVENT"

Regards,
Saqib.


--
saqibmabbasi
------------------------------------------------------------------------
saqibmabbasi's Profile: https://forums.netiq.com/member.php?userid=2399
View this thread: https://forums.netiq.com/showthread.php?t=45056