You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Hudson (Commented) (JIRA)" <ji...@apache.org> on 2011/10/18 01:59:12 UTC

[jira] [Commented] (TAP5-1117) Exception message when binding a service interface (and service implementation not found) is confusing

    [ https://issues.apache.org/jira/browse/TAP5-1117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13129352#comment-13129352 ] 

Hudson commented on TAP5-1117:
------------------------------

Integrated in tapestry-trunk-freestyle #580 (See [https://builds.apache.org/job/tapestry-trunk-freestyle/580/])
    TAP5-1117: Exception message when binding a service interface (and service implementation not found) is confusing

hlship : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1185425
Files : 
* /tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/IOCMessages.java
* /tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/ServiceBinderImpl.java
* /tapestry/tapestry5/trunk/tapestry-ioc/src/main/resources/org/apache/tapestry5/ioc/internal/IOCStrings.properties
* /tapestry/tapestry5/trunk/tapestry-ioc/src/test/java/org/apache/tapestry5/ioc/IntegrationTest.java

                
> Exception message when binding a service interface (and service implementation not found) is confusing
> ------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1117
>                 URL: https://issues.apache.org/jira/browse/TAP5-1117
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-ioc
>    Affects Versions: 5.2.0
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>             Fix For: 5.3
>
>
> Caused by: java.lang.RuntimeException: No service implements the interface collective.t5.services.asset.AssetVersionHistory. Please provide the implementation collective.t5.services.asset.AssetVersionHistoryImpl or bind the service interface to a service implementation.
> That "no service" part is confusing, how about:
> Unable to bind service collective.t5.services.asset.AssetVersionHistory because no implementation class could be found. Please create implementation class collective.t5.services.asset.AssetVersionHistoryImpl, or specify the actual implementation class in the call to ServiceBinder.bind().

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira