• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

NoSuchElementException when listing ServiceBindings

 
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Folks,


I'm trying to list out using JAXR the service bindings for a particular service by calling this code:



I then attempt to list through the collection and retrieve the bindings this way:



This line is what throws the NoSuchElementException. If I puty a breakpoint right before this line and examine the binds Collection, I in fact see an element in there, it's of the type ServiceBindingImpl, so the line above should work. Just for good measure I tried this as well:



No such luck with that either. Has anybody come across this error before? Thanks.
 
Mike Ottinger
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Folks,

False alarm, I was using an iterator from a previous loop, details, details... thx
reply
    Bookmark Topic Watch Topic
  • New Topic