Author |
Message
|
OMG |
Posted: Mon Feb 27, 2012 1:02 am Post subject: |
|
|
 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 |
|
 |
adubya |
Posted: Mon Feb 27, 2012 1:27 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Mon Feb 27, 2012 5:44 am Post subject: |
|
|
 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 |
|
 |
Vitor |
Posted: Mon Feb 27, 2012 5:45 am Post subject: |
|
|
 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 |
|
 |
zpat |
Posted: Mon Feb 27, 2012 6:14 am Post subject: |
|
|
 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 |
|
 |
Vitor |
Posted: Mon Feb 27, 2012 6:24 am Post subject: |
|
|
 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 |
|
 |
lancelotlinc |
Posted: Mon Feb 27, 2012 6:27 am Post subject: |
|
|
 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 |
|
 |
Vitor |
Posted: Mon Feb 27, 2012 6:31 am Post subject: |
|
|
 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 |
|
 |
|