Hi

This is because this Engine does not confirm to the new API because it
is missing support for the engine name (see [1] for details).

I committed the necessary changes in Revision #1235206 however they
got overridden by a commit of anuzzolese (Revision #1235390).

To solve this I suggest to merge the changes provided in #1235206 with
the current version. If I should work on that please give me a short
notice.


best
Rupert

[1] 
http://stanbol.staging.apache.org/stanbol/docs/trunk/enhancer/engines/enhancementengine.html


On Wed, Feb 8, 2012 at 8: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
> ********************************************************************************
>



-- 
| Rupert Westenthaler             [email protected]
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Reply via email to