[ https://issues.apache.org/jira/browse/JUDDI-848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex O'Ree closed JUDDI-848. ---------------------------- > 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: Alex O'Ree > 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.3.4#6332)