Uploaded image for project: 'jUDDI'
  1. jUDDI
  2. JUDDI-848

Publish.SaveBinding throws up when passed an invalid key

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.2.1
    • Component/s: core
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              spyhunter99 Alex O'Ree
              Reporter:
              spyhunter99 Alex O'Ree
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: