title: IllegalMonitorStateException
body: <p>What can cause that i get IllegalMonitorStateException in this code</p>
  
  <pre><code>synchronized(syncCount){
      syncCount--;
      syncCount.notify();
  }
  </code></pre>
  
  <p>I'm little confused, since, as far as I know running thread must have monitor on object who's notify is called. It looks to me that my code can not be wrong, but somehow it is.</p>