tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Lewis-Shell <rlewissh...@mac.com>
Subject Re: Workbench: java.lang.IllegalArgumentException,Could not find a strategy instance for class org.apache.hivemind.util.ContextResource.
Date Fri, 03 Jun 2005 13:52:45 GMT
Wonderful!  It wasn't clear to me from the commit messages what the fix 
was - can you elaborate?

Howard Lewis Ship wrote:
> This has been fixed in CVS HEAD, by-the-way.
> 
> On 5/21/05, Howard Lewis Ship <hlship@gmail.com> wrote:
> 
>>It's a strategy for mapping a particular implementation of Resource to
>>an AssetFactory that can provide a matching IAsset, from which a URL
>>can be created.  I'll look into it.
>>
>>On 5/21/05, Richard Lewis-Shell <rlewisshell@mac.com> wrote:
>>
>>>I'm getting another error from the workbench.  This time it's:
>>>
>>>Unable to instantiate component Home/$Border: Could not find a strategy
>>>instance for class org.apache.hivemind.util.ContextResource.
>>>component:      $Border_1@1a4181c[Home/$Border]
>>>location:       context:/Home.html, line 1
>>>1       <span jwcid="@Border">
>>>2
>>>3       <p>This is the Tapestry Workbench. It is a testing ground for Tapestry.
>>>4       Each tab above links to a new page, or set of pages, that demonstrate
>>>Tapestry components and
>>>5       features.
>>>6
>>>
>>>
>>>java.lang.IllegalArgumentException
>>>Could not find a strategy instance for class
>>>org.apache.hivemind.util.ContextResource.
>>>Stack Trace:
>>>
>>>    * org.apache.hivemind.lib.util.StrategyRegistryImpl.searchForAdaptor(StrategyRegistryImpl.java:176)
>>>
>>>    * org.apache.hivemind.lib.util.StrategyRegistryImpl.getStrategy(StrategyRegistryImpl.java:74)
>>>
>>>    * $AssetFactory_103fdb976e7._getStrategy($AssetFactory_103fdb976e7.java)
>>>
>>>    * $AssetFactory_103fdb976e7.createAsset($AssetFactory_103fdb976e7.java)
>>>    * $AssetFactory_103fdb975f0.createAsset($AssetFactory_103fdb975f0.java)
>>>    * $AssetFactory_103fdb975ef.createAsset($AssetFactory_103fdb975ef.java)
>>>    * org.apache.tapestry.asset.AssetSourceImpl.findAsset(AssetSourceImpl.java:65)
>>>
>>>    * $AssetSource_103fdb9768c.findAsset($AssetSource_103fdb9768c.java)
>>>    * $AssetSource_103fdb9768b.findAsset($AssetSource_103fdb9768b.java)
>>>    * org.apache.tapestry.pageload.PageLoader.convertAsset(PageLoader.java:644)
>>>
>>>    * org.apache.tapestry.pageload.PageLoader.addAssets(PageLoader.java:628)
>>>
>>>    * org.apache.tapestry.pageload.PageLoader.constructComponent(PageLoader.java:396)
>>>
>>>    * org.apache.tapestry.pageload.PageLoader.createImplicitComponent(PageLoader.java:456)
>>>
>>>    * $IPageLoader_103fdb9767f.createImplicitComponent($IPageLoader_103fdb9767f.java)
>>>
>>>    * $IPageLoader_103fdb97680.createImplicitComponent($IPageLoader_103fdb97680.java)
>>>
>>>
>>>What is a strategy instance, and why can't one be found for ContextResource?
>>>
>>>Richard
>>>
>>>
>>
>>
>>--
>>Howard M. Lewis Ship
>>Independent J2EE / Open-Source Java Consultant
>>Creator, Jakarta Tapestry
>>Creator, Jakarta HiveMind
>>
>>Professional Tapestry training, mentoring, support
>>and project work.  http://howardlewisship.com
>>
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Mime
View raw message