You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stanbol.apache.org by Rupert Westenthaler <ru...@gmail.com> on 2012/02/08 08:28:25 UTC

Problem on the enhancer HTML interface when the Refactor engine is active (was: org.apache.stanbol.enhancer.engines.refactor, Merge not implemented yet for OWLOntology)

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

Re: Problem on the enhancer HTML interface when the Refactor engine is active (was: org.apache.stanbol.enhancer.engines.refactor, Merge not implemented yet for OWLOntology)

Posted by David Riccitelli <da...@insideout.io>.
Yep, I think this is the case.

David

On Wed, Feb 8, 2012 at 10:07 AM, David Riccitelli <da...@insideout.io>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 <da...@insideout.io>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 <
>> rupert.westenthaler@gmail.com> 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>
>>
>> ********************************************************************************
>>
>>
>
>
> --
> 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>
>
> ********************************************************************************
>
>


-- 
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>
********************************************************************************

Re: Problem on the enhancer HTML interface when the Refactor engine is active

Posted by Alessandro Adamou <ad...@cs.unibo.it>.
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<da...@insideout.io>  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<
>> rupert.westenthaler@gmail.com>  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


Re: Problem on the enhancer HTML interface when the Refactor engine is active (was: org.apache.stanbol.enhancer.engines.refactor, Merge not implemented yet for OWLOntology)

Posted by David Riccitelli <da...@insideout.io>.
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 <da...@insideout.io> 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 <
> rupert.westenthaler@gmail.com> 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>
>
> ********************************************************************************
>
>


-- 
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>
********************************************************************************

Re: Problem on the enhancer HTML interface when the Refactor engine is active (was: org.apache.stanbol.enhancer.engines.refactor, Merge not implemented yet for OWLOntology)

Posted by David Riccitelli <da...@insideout.io>.
Thanks Alberto!

David

On Thu, Feb 9, 2012 at 10:40 AM, Alberto Musetti <mu...@cs.unibo.it>wrote:

> Hi David,
>
> the revision #1242042 should solve your problem,
> Let me know if there are still problems.
>
> best,
> Alberto
>
> Il giorno 08/feb/2012, alle ore 09:27, David Riccitelli ha scritto:
>
> > I would need this to work, can I be of any help?
> >
> > David
> >
> > On Wed, Feb 8, 2012 at 10:12 AM, Rupert Westenthaler <
> > rupert.westenthaler@gmail.com> wrote:
> >
> >> 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 <da...@insideout.io>
> >> 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
> >>> <ru...@gmail.com> 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             rupert.westenthaler@gmail.com
> >> | Bodenlehenstraße 11                             ++43-699-11108907
> >> | A-5500 Bischofshofen
> >>
> >
> >
> >
> > --
> > 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
> >
> >
> ********************************************************************************
>
>


-- 
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>
********************************************************************************

Re: Problem on the enhancer HTML interface when the Refactor engine is active (was: org.apache.stanbol.enhancer.engines.refactor, Merge not implemented yet for OWLOntology)

Posted by Alberto Musetti <mu...@cs.unibo.it>.
Hi David,

the revision #1242042 should solve your problem,
Let me know if there are still problems.

best,
Alberto

Il giorno 08/feb/2012, alle ore 09:27, David Riccitelli ha scritto:

> I would need this to work, can I be of any help?
> 
> David
> 
> On Wed, Feb 8, 2012 at 10:12 AM, Rupert Westenthaler <
> rupert.westenthaler@gmail.com> wrote:
> 
>> 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 <da...@insideout.io>
>> 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
>>> <ru...@gmail.com> 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             rupert.westenthaler@gmail.com
>> | Bodenlehenstraße 11                             ++43-699-11108907
>> | A-5500 Bischofshofen
>> 
> 
> 
> 
> -- 
> 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>
> ********************************************************************************


Re: Problem on the enhancer HTML interface when the Refactor engine is active (was: org.apache.stanbol.enhancer.engines.refactor, Merge not implemented yet for OWLOntology)

Posted by Alberto Musetti <mu...@cs.unibo.it>.
Hi David,
I'm checking it.

Thanks for reporting
Alberto


Il giorno 08/feb/2012, alle ore 09:27, David Riccitelli ha scritto:

> I would need this to work, can I be of any help?
> 
> David
> 
> On Wed, Feb 8, 2012 at 10:12 AM, Rupert Westenthaler <
> rupert.westenthaler@gmail.com> wrote:
> 
>> 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 <da...@insideout.io>
>> 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
>>> <ru...@gmail.com> 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             rupert.westenthaler@gmail.com
>> | Bodenlehenstraße 11                             ++43-699-11108907
>> | A-5500 Bischofshofen
>> 
> 
> 
> 
> -- 
> 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>
> ********************************************************************************


Re: Problem on the enhancer HTML interface when the Refactor engine is active (was: org.apache.stanbol.enhancer.engines.refactor, Merge not implemented yet for OWLOntology)

Posted by David Riccitelli <da...@insideout.io>.
I would need this to work, can I be of any help?

David

On Wed, Feb 8, 2012 at 10:12 AM, Rupert Westenthaler <
rupert.westenthaler@gmail.com> wrote:

> 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 <da...@insideout.io>
> 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
> > <ru...@gmail.com> 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             rupert.westenthaler@gmail.com
> | Bodenlehenstraße 11                             ++43-699-11108907
> | A-5500 Bischofshofen
>



-- 
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>
********************************************************************************

Re: Problem on the enhancer HTML interface when the Refactor engine is active (was: org.apache.stanbol.enhancer.engines.refactor, Merge not implemented yet for OWLOntology)

Posted by Rupert Westenthaler <ru...@gmail.com>.
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 <da...@insideout.io> 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
> <ru...@gmail.com> 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             rupert.westenthaler@gmail.com
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Re: Problem on the enhancer HTML interface when the Refactor engine is active (was: org.apache.stanbol.enhancer.engines.refactor, Merge not implemented yet for OWLOntology)

Posted by David Riccitelli <da...@insideout.io>.
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 <
rupert.westenthaler@gmail.com> 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>
********************************************************************************