You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by mu...@fantasymail.de on 2008/01/14 00:12:59 UTC

createAbsoluteAsset question

What's wrong with this code?

IAsset image = getEngine().getInfrastructure().getAssetFactory().createAbsoluteAsset(
				"z:\\images\\0001.JPG",
				getLocale(),
				getLocation()
);

java.lang.IllegalArgumentException
Could not find a strategy instance for class java.lang.String.
Stack Trace:

      org.apache.hivemind.lib.util.StrategyRegistryImpl.searchForAdaptor(StrategyRegistryImpl.java:176) org.apache.hivemind.lib.util.StrategyRegistryImpl.getStrategy(StrategyRegistryImpl.java:74) $AssetFactory_117756b8982._getStrategy($AssetFactory_117756b8982.java) $AssetFactory_117756b8982.createAbsoluteAsset($AssetFactory_117756b8982.java) $AssetFactory_117756b8822.createAbsoluteAsset($AssetFactory_117756b8822.java) 

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