Anonymous_User Absent Member.
Absent Member.
394 views

Report compilation error related to property creation


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.jasperreports.engine.JRRuntimeException:*net.sf.jasperreports.engine.JRException:*No*query*executer*factory*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.loadJasperDesign(IReportCompiler.java:2125)
> ****at*it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:584)
> ****at*java.lang.Thread.run(Unknown*Source)
> Caused*by:*net.sf.jasperreports.engine.JRRuntimeException:*net.sf.jasperreports.engine.JRException:*No*query*executer*factory*class*registered*for*LUCENE_EVENT*queries.**Create*a*propery*named*net.sf.jasperreports.query.executer.factory.LUCENE_EVENT.
> ****at*org.apache.commons.digester.Digester.createSAXException(Digester.java:2919)
> ****at*org.apache.commons.digester.Digester.createSAXException(Digester.java:2945)
> ****at*org.apache.commons.digester.Digester.endElement(Digester.java:1133)
> ****at*it.businesslogic.ireport.compiler.xml.SourceTraceDigester.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.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown*Source)
> ****at*org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown*Source)
> ****at*org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown*Source)
> ****at*org.apache.xerces.parsers.XML11Configuration.parse(Unknown*Source)
> ****at*org.apache.xerces.parsers.XML11Configuration.parse(Unknown*Source)
> ****at*org.apache.xerces.parsers.XMLParser.parse(Unknown*Source)
> ****at*org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown*Source)
> ****at*org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.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.JRRuntimeException:*net.sf.jasperreports.engine.JRException:*No*query*executer*factory*class*registered*for*LUCENE_EVENT*queries.**Create*a*propery*named*net.sf.jasperreports.query.executer.factory.LUCENE_EVENT.
> ****at*net.sf.jasperreports.engine.design.JRDesignDataset.queryLanguageChanged(JRDesignDataset.java:914)
> ****at*net.sf.jasperreports.engine.design.JRDesignDataset.setQuery(JRDesignDataset.java:448)
> ****at*net.sf.jasperreports.engine.design.JasperDesign.setQuery(JasperDesign.java:806)
> ****at*sun.reflect.NativeMethodAccessorImpl.invoke0(Native*Method)
> ****at*sun.reflect.NativeMethodAccessorImpl.invoke(Unknown*Source)
> ****at*sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown*Source)
> ****at*java.lang.reflect.Method.invoke(Unknown*Source)
> ****at*org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
> ****at*org.apache.commons.digester.SetNextRule.end(SetNextRule.java:216)
> ****at*org.apache.commons.digester.Rule.end(Rule.java:230)
> ****at*org.apache.commons.digester.Digester.endElement(Digester.java:1130)
> ****...*19*more
> Caused*by:*net.sf.jasperreports.engine.JRException:*No*query*executer*factory*class*registered*for*LUCENE_EVENT*queries.**Create*a*propery*named*net.sf.jasperreports.query.executer.factory.LUCENE_EVENT.
> ****at*net.sf.jasperreports.engine.util.JRQueryExecuterUtils.getQueryExecuterFactory(JRQueryExecuterUtils.java:56)
> ****at*net.sf.jasperreports.engine.design.JRDesignDataset.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.LUCENE_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

0 Likes
3 Replies
Anonymous_User Absent Member.
Absent Member.

Re: Report compilation error related to property creation


Hi Guys,
sorry for the formating, please check below for proper formatted error

>
> Compiling to file... .\TemplateReport.jasper ->
> E:\iReport-3.0.0\TemplateReport.java
> Errors compiling .\TemplateReport.jasper.
> net.sf.jasperreports.engine.JRException:*net.sf.jasperreports.engine.JRRuntimeException:*net.sf.jasperreports.engine.JRException:*
>
> No*query*executer*factory*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.loadJasperDesign(IReportCompiler.java:2125)
> ****at*it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:584)
> ****at*java.lang.Thread.run(Unknown*Source)
> Caused*by:*net.sf.jasperreports.engine.JRRuntimeException:*net.sf.jasperreports.engine.JRException:*
>
> No*query*executer*factory*class*registered*for*LUCENE_EVENT*queries.**Create*a*propery*named*net.sf.jasperreports.query.executer.factory.LUCENE_EVENT.
>
> ****at*org.apache.commons.digester.Digester.createSAXException(Digester.java:2919)
>
> ****at*org.apache.commons.digester.Digester.createSAXException(Digester.java:2945)
> ****at*org.apache.commons.digester.Digester.endElement(Digester.java:1133)
>
> ****at*it.businesslogic.ireport.compiler.xml.SourceTraceDigester.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.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown*Source)
> ****at*org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown*Source)
> ****at*org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown*Source)
> ****at*org.apache.xerces.parsers.XML11Configuration.parse(Unknown*Source)
> ****at*org.apache.xerces.parsers.XML11Configuration.parse(Unknown*Source)
> ****at*org.apache.xerces.parsers.XMLParser.parse(Unknown*Source)
> ****at*org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown*Source)
> ****at*org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.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.JRRuntimeException:*net.sf.jasperreports.engine.JRException:*
>
> No*query*executer*factory*class*registered*for*LUCENE_EVENT*queries.**Create*a*propery*named*net.sf.jasperreports.query.executer.factory.LUCENE_EVENT.
> ****at*net.sf.jasperreports.engine.design.JRDesignDataset.queryLanguageChanged(JRDesignDataset.java:914)
> ****at*net.sf.jasperreports.engine.design.JRDesignDataset.setQuery(JRDesignDataset.java:448)
> ****at*net.sf.jasperreports.engine.design.JasperDesign.setQuery(JasperDesign.java:806)
> ****at*sun.reflect.NativeMethodAccessorImpl.invoke0(Native*Method)
> ****at*sun.reflect.NativeMethodAccessorImpl.invoke(Unknown*Source)
> ****at*sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown*Source)
> ****at*java.lang.reflect.Method.invoke(Unknown*Source)
> ****at*org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
> ****at*org.apache.commons.digester.SetNextRule.end(SetNextRule.java:216)
> ****at*org.apache.commons.digester.Rule.end(Rule.java:230)
> ****at*org.apache.commons.digester.Digester.endElement(Digester.java:1130)
> **...*19*more Caused*by:*net.sf.jasperreports.engine.JRException:*
>
> No*query*executer*factory*class*registered*for*LUCENE_EVENT*queries.**Create*a*propery*named*net.sf.jasperreports.query.executer.factory.LUCENE_EVENT.
> ****at*net.sf.jasperreports.engine.util.JRQueryExecuterUtils.getQueryExecuterFactory(JRQueryExecuterUtils.java:56)
> ****at*net.sf.jasperreports.engine.design.JRDesignDataset.queryLanguageChanged(JRDesignDataset.java:903)
> * ...*29*more
> Compilation running time: 125
>


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

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Report compilation error related to property creation

Hi Saqib,


>>> On 30.10.2012 at 07:54,

saqibmabbasi<saqibmabbasi@no-mx.forums.netiq.com>
wrote:

> 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



Are you already on version 2011.1r1 of the plugin SDK? It uses iReport 4.x
and sets up the connection parameters for you. See
http://www.novell.com/developer/plugin-sdk/sentinel_plugin_sdk.html

Norbert

>> Errors compiling .\TemplateReport.jasper.
>>

> net.sf.jasperreports.engine.JRException:*net.sf.jasperreports.engine.JRRu
> ntimeException:*net.sf.jasperreports.engine.JRException:*No*query*execute
> r*factory*class*registered*for*LUCENE_EVENT*queries.**Create*a*propery*na
> med*net.sf.jasperreports.query.executer.factory.LUCENE_EVENT.
>>

> ****at*net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.ja
> va:243)
>>

> ****at*net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.ja
> va:226)
>>

> ****at*it.businesslogic.ireport.IReportCompiler.loadJasperDesign(IReportC
> ompiler.java:2125)
>>

> ****at*it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:
> 584)
>> ****at*java.lang.Thread.run(Unknown*Source)
>>

> Caused*by:*net.sf.jasperreports.engine.JRRuntimeException:*net.sf.jasperr
> eports.engine.JRException:*No*query*executer*factory*class*registered*for
> *LUCENE_EVENT*queries.**Create*a*propery*named*net.sf.jasperreports.query
> .executer.factory.LUCENE_EVENT.
>>

> ****at*org.apache.commons.digester.Digester.createSAXException(Digester.j
> ava:2919)
>>

> ****at*org.apache.commons.digester.Digester.createSAXException(Digester.j
> ava:2945)
>>

> ****at*org.apache.commons.digester.Digester.endElement(Digester.java:1133
> )
>>

> ****at*it.businesslogic.ireport.compiler.xml.SourceTraceDigester.endEleme
> nt(SourceTraceDigester.java:159)
>>

> ****at*org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown*Sou
> rce)
>>

> ****at*org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unkno
> wn*Source)
>>

> ****at*org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknow
> n*Source)
>>

> ****at*org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown*Sour
> ce)
>>

> ****at*org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndEleme
> nt(Unknown*Source)
>>

> ****at*org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentCont
> entDispatcher.dispatch(Unknown*Source)
>>

> ****at*org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument
> (Unknown*Source)
>>

> ****at*org.apache.xerces.parsers.XML11Configuration.parse(Unknown*Source)
>>

> ****at*org.apache.xerces.parsers.XML11Configuration.parse(Unknown*Source)
>> ****at*org.apache.xerces.parsers.XMLParser.parse(Unknown*Source)
>> ****at*org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown*Source)
>>

> ****at*org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown*S
> ource)
>> ****at*org.apache.commons.digester.Digester.parse(Digester.java:1647)
>>

> ****at*net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.ja
> va:239)
>> ****...*4*more
>>

> Caused*by:*net.sf.jasperreports.engine.JRRuntimeException:*net.sf.jasperr
> eports.engine.JRException:*No*query*executer*factory*class*registered*for
> *LUCENE_EVENT*queries.**Create*a*propery*named*net.sf.jasperreports.query
> .executer.factory.LUCENE_EVENT.
>>

> ****at*net.sf.jasperreports.engine.design.JRDesignDataset.queryLanguageCh
> anged(JRDesignDataset.java:914)
>>

> ****at*net.sf.jasperreports.engine.design.JRDesignDataset.setQuery(JRDesi
> gnDataset.java:448)
>>

> ****at*net.sf.jasperreports.engine.design.JasperDesign.setQuery(JasperDes
> ign.java:806)
>> ****at*sun.reflect.NativeMethodAccessorImpl.invoke0(Native*Method)
>> ****at*sun.reflect.NativeMethodAccessorImpl.invoke(Unknown*Source)
>> ****at*sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown*Source)
>> ****at*java.lang.reflect.Method.invoke(Unknown*Source)
>>

> ****at*org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.
> java:216)
>> ****at*org.apache.commons.digester.SetNextRule.end(SetNextRule.java:216)
>> ****at*org.apache.commons.digester.Rule.end(Rule.java:230)
>>

> ****at*org.apache.commons.digester.Digester.endElement(Digester.java:1130
> )
>> ****...*19*more
>>

> Caused*by:*net.sf.jasperreports.engine.JRException:*No*query*executer*fac
> tory*class*registered*for*LUCENE_EVENT*queries.**Create*a*propery*named*n
> et.sf.jasperreports.query.executer.factory.LUCENE_EVENT.
>>

> ****at*net.sf.jasperreports.engine.util.JRQueryExecuterUtils.getQueryExec
> uterFactory(JRQueryExecuterUtils.java:56)
>>

> ****at*net.sf.jasperreports.engine.design.JRDesignDataset.queryLanguageCh
> anged(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.LUCENE_EVENT"
>
> Regards,
> Saqib.


0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Report compilation error related to property creation


Hi Norbert,
Thanks after installing iReport 4.7.0 the problem has been resolved.

Can you please explain the root cause of the problem, is it something
related to Lucene Query type not being supported in previous version?

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

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.