I'm baffled by this. Why do I get and error with the second line and not the first?
System.out.println("INSERT INTO _columns(name,table) VALUES('" + loop.next() + "','" + newSA.tables.get(loopCount) + "')");
String q1 = ("INSERT INTO _columns(name,table) VALUES('" + loop.next() +"','" + newSA.tables.get(loopCount) + "')");
(newSA.tables is a list)
I get this with the second line, but not the first:
java.util.NoSuchElementException
at java.util.AbstractList$Itr.next(AbstractList.java:423)
at tangoParser.parseFile(tangoParser.java:156)
Thanks,
Justin Wall