Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

NoSuchElementException when listing ServiceBindings

 
Mike Ottinger
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Hi Folks,

False alarm, I was using an iterator from a previous loop, details, details... thx
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!