Alex O'Ree created JUDDI-848:
--------------------------------
Summary: Publish.SaveBinding throws up when passed an invalid key
Key: JUDDI-848
URL: https://issues.apache.org/jira/browse/JUDDI-848
Project: jUDDI
Issue Type: Bug
Components: core
Affects Versions: 3.2
Reporter: Alex O'Ree
Assignee: Kurt T Stam
Fix For: 3.2.1
Pass a business entity key as the service key when saving a binding yields:
org.apache.juddi.model.BusinessEntity cannot be cast to
org.apache.juddi.model.BusinessService
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.UDDIPublicationImpl.setOperationalInfo(UDDIPublicationImpl.java:870)
at
org.apache.juddi.api.impl.UDDIPublicationImpl.saveBinding(UDDIPublicationImpl.java:540)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
this should be handled in a cleaner way
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)