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

Publish.SaveBinding throws up when passed an invalid key

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2
    • 3.2.1
    • core
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: