ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Java iteration error

Post new topic  Reply to topic
 Java iteration error « View previous topic :: View next topic » 
Author Message
OMG
PostPosted: Mon Feb 27, 2012 1:02 am    Post subject: Reply with quote

Novice

Joined: 20 Feb 2012
Posts: 18

I have used this logic for the 'for loop' part but getting a java error as
Quote:
"Can only iterate over an array or an instance of java.lang.Iterable".


Is there any idea why this error is coming and how to resolve it?
Back to top
View user's profile Send private message
adubya
PostPosted: Mon Feb 27, 2012 1:27 am    Post subject: Reply with quote

Partisan

Joined: 25 Aug 2011
Posts: 377
Location: GU12, UK

Please don't open up threads from 2009, it's confusing to other readers and is bad etiquette.

Start a new thread if you have an issue which you still have a problem with after searching infocenter and this forum.

The error indicates that your Java code is attempting to loop over something which can't be looped over BTW. From your previous thread you're not a Java coder so I'd seek some assistance from a colleague who does have some Java experience if I were in your position.
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Mon Feb 27, 2012 5:44 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

adubya wrote:
Please don't open up threads from 2009, it's confusing to other readers and is bad etiquette.


Split from this thread for clarity.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Feb 27, 2012 5:45 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

adubya wrote:
From your previous thread you're not a Java coder so I'd seek some assistance from a colleague who does have some Java experience if I were in your position.


It's this previous thread which is in question & I echo this comment as I did in the other thread. Why has a non-Java person been assigned a Java task?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
zpat
PostPosted: Mon Feb 27, 2012 6:14 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

What's wrong with re-opening an old thread, as long as it's relevant?
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Feb 27, 2012 6:24 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

zpat wrote:
What's wrong with re-opening an old thread, as long as it's relevant?


Because you quickly get threads which are too long to be easily read. Also "relevance" is relative; despite protestations that "it's the same problem" it's nearly always a similar problem on a different version of the software (2 years is a long time in IT).

Hence the netiquette here is to include a link to a previous thread in a new one. In 80% of cases it's the best solution.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Mon Feb 27, 2012 6:27 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

zpat wrote:
What's wrong with re-opening an old thread, as long as it's relevant?


The only commonality between the dozen most recent thread resurrections is "it doesn't work". The new poster never provides any MustGather doc and when asked for MustGather doc, no response is ever given.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Mon Feb 27, 2012 6:31 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

lancelotlinc wrote:
The new poster never provides any MustGather doc and when asked for MustGather doc, no response is ever given.


An unfortunate state of affairs not unique to the latest crop of new posters. We have attempted to address this....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Java iteration error
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.