illegal java monitor exception

hi all,
i am making an application in which i am receiving live data from from server and i am storing that data into hashtable through one thread then i am reading data from the same hashtable through another thread and wans to display upon applet now the problem is that i am getting

Exception in thread "Thread-4" java.lang.IllegalMonitorStateException: current thread not owner
at java.lang.Object.notify(Native Method)
at Test1$2.execute(Test1.java:102)
at Test1$2.run(Test1.java:73)etting exception
[555 byte] By [martin1] at [2007-11-20 8:25:47]
# 1 Re: illegal java monitor exception
To paraphrase the API JavaDocs - A thread can't wait on an object's monitor or notify others waiting on it unless it owns the monitor.

Doing more things faster is no substitute for doing the right things...
S.R. Covey
dlorde at 2007-11-10 2:15:20 >