Not a missing semicolon, but a spurious one:
while (...); {
. . .

I'm not proud to say, shit took 2 days to be discovered, and it was discovered by a friend. I was just so confident about what's written there, I didn't even read it.

  • 1
    Do you not have automatic syntax check? #NetBeans
  • 2
    Had a very similar one with

    If(... Long condition ...);

    Spend nearly full day finding it... Was spending all my time thinking something was wrong with the condition since I was not getting in my if.... Grrrrr
  • 1
    This is why I just love Netbeans!
Add Comment