Hi David,
sorry for coming back so late but I was sick yesterday.
That one was indeed the problem I experienced, which the latest commits
solved.
Thanks as always for the prompt notifications
Alessandro
On 2/8/12 9:07 AM, David Riccitelli wrote:
Is it possible that the EnginesTracker looks for an engine name using this
property 'stanbol.enhancer.engine.name' which is null or empty in the
refactor engine?
Ciao,
David
On Wed, Feb 8, 2012 at 9:47 AM, David Riccitelli<[email protected]> wrote:
Hi Rupert,
When opening the Html interface an exception is printed on the page (see
attached screenshot) as well as in the logs. I think the meaningful part is
this (hope this helps understand the root cause):
Caused by: java.lang.IllegalArgumentException: The parsed name MUST NOT be
NULL or empty
at
org.apache.stanbol.enhancer.servicesapi.helper.EnginesTracker.getReference(EnginesTracker.java:241)
at
org.apache.stanbol.enhancer.servicesapi.helper.EnginesTracker.getEngine(EnginesTracker.java:300)
at
org.apache.stanbol.enhancer.chain.allactive.impl.AllActiveEnginesChain.update(AllActiveEnginesChain.java:161)
at
org.apache.stanbol.enhancer.chain.allactive.impl.AllActiveEnginesChain.getExecutionPlan(AllActiveEnginesChain.java:113)
at
org.apache.stanbol.enhancer.jersey.resource.EnhancerRootResource.getExecutionNodes(EnhancerRootResource.java:143)
... 74 more
This is the full stack-trace:
08.02.2012 07:43:24.254 *ERROR* [6096042@qtp-1253587936-15]
org.apache.stanbol.commons.web.base.processor.FreemarkerViewProcessor Error
processing freemarker template @ org/apache/stanbol/enhance
r/jersey/resource/EnhancerRootResource/index.ftl: get(executionNodes)
failed on instance of
org.apache.stanbol.enhancer.jersey.resource.EnginesRootResource
get(executionNodes) failed on instance of
org.apache.stanbol.enhancer.jersey.resource.EnginesRootResource
The problematic instruction:
----------
==> if-else [on line 23, column 1 in
org/apache/stanbol/enhancer/jersey/resource/EnhancerRootResource/index.ftl]
in user-directive common.page [on line 19, column 1 in
org/apache/stanbol/enhancer/jersey/resource/EnhancerRootResource/index.ftl]
----------
Java backtrace for programmers:
----------
freemarker.template.TemplateModelException: get(executionNodes) failed on
instance of org.apache.stanbol.enhancer.jersey.resource.EnginesRootResource
at freemarker.ext.beans.BeanModel.get(BeanModel.java:223)
* (...)*
at
org.apache.stanbol.commons.web.base.processor.FreemarkerViewProcessor.writeTo(FreemarkerViewProcessor.java:219)
at
org.apache.stanbol.commons.web.base.processor.FreemarkerViewProcessor.writeTo(FreemarkerViewProcessor.java:73)
* (...)*
Caused by: java.lang.reflect.InvocationTargetException
* (...)*
Caused by: java.lang.IllegalArgumentException: The parsed name MUST NOT be
NULL or empty
at
org.apache.stanbol.enhancer.servicesapi.helper.EnginesTracker.getReference(EnginesTracker.java:241)
at
org.apache.stanbol.enhancer.servicesapi.helper.EnginesTracker.getEngine(EnginesTracker.java:300)
at
org.apache.stanbol.enhancer.chain.allactive.impl.AllActiveEnginesChain.update(AllActiveEnginesChain.java:161)
at
org.apache.stanbol.enhancer.chain.allactive.impl.AllActiveEnginesChain.getExecutionPlan(AllActiveEnginesChain.java:113)
at
org.apache.stanbol.enhancer.jersey.resource.EnhancerRootResource.getExecutionNodes(EnhancerRootResource.java:143)
... 74 more
On Wed, Feb 8, 2012 at 9:28 AM, Rupert Westenthaler<
[email protected]> wrote:
Hi Alessandro,
On 07.02.2012, at 19:43, Alessandro Adamou wrote:
I'm still experiencing a problem on the enhancer HTML interface when
the Refactor engine is active. It doesn't seem to depend on this, so I've
notified those who know better.
can you describe that in more detail?
best
Rupert
--
David Riccitelli
********************************************************************************
InsideOut10 s.r.l.
P.IVA: IT-11381771002
Fax: +39 0110708239
---
LinkedIn: http://it.linkedin.com/in/riccitelli
Twitter: ziodave
---
Layar Partner
Network<http://www.layar.com/publishing/developers/list/?page=1&country=&city=&keyword=insideout10&lpn=1>
********************************************************************************
--
M.Sc. Alessandro Adamou
Alma Mater Studiorum - Università di Bologna
Department of Computer Science
Mura Anteo Zamboni 7, 40127 Bologna - Italy
Semantic Technology Laboratory (STLab)
Institute for Cognitive Science and Technology (ISTC)
National Research Council (CNR)
Via Nomentana 56, 00161 Rome - Italy
"As for the charges against me, I am unconcerned. I am beyond their timid, lying
morality, and so I am beyond caring."
(Col. Walter E. Kurtz)
Not sent from my iSnobTechDevice