Do you still have the code you put inside the for loop? I've the exact same issue specifically with Weblogic 12 only.
Thanks!