You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by "Kurt T Stam (JIRA)" <ju...@ws.apache.org> on 2013/03/19 21:19:15 UTC

[jira] [Commented] (JUDDI-572) Sending a business key for getServiceDetail causing a class cast exception

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

Kurt T Stam commented on JUDDI-572:
-----------------------------------

I believe the issue was passing in a businessKey in the serviceKey on a GetServiceDetail. We should trap this and return a nice error.
                
> Sending a business key for getServiceDetail causing a class cast exception
> --------------------------------------------------------------------------
>
>                 Key: JUDDI-572
>                 URL: https://issues.apache.org/jira/browse/JUDDI-572
>             Project: jUDDI
>          Issue Type: Bug
>            Reporter: Alex O'Ree
>            Assignee: Kurt T Stam
>             Fix For: 3.1.5
>
>
> probably should trap this and handle it correctly...
>  Caused by: java.lang.ClassCastException: org.apache.juddi.model.BusinessEntity cannot be cast to org.apache.juddi.model.BusinessService
>  	at org.apache.juddi.api.impl.UDDIInquiryImpl.getServiceDetail(UDDIInquiryImpl.java:472)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira