[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| Re: [ecf-dev] org.eclipse.ecf.example.clients	&	IllegalMonitorStateException | 
Giraudon Cyril wrote:
Hi,
I use Eclipse Galileo (Eclipse Modeling Tool) on an Ubuntu 9.10 box.
In addition Openfire 3.6.4 is installed and is running.
Two accounts has been created.
I trie ecf examples coming from 
org.eclipse.ecf.example.clients.source_1.4.0.v20090916-2238.jar.
I run examples from the configuration window as "Run as application" 
(org.eclipse.ecf.example.clients.chatrobot)
The example seems to initialize and go into the loop at the end of the 
'runRobot' method but
systematically  this exception is fired :
"""
!STACK 1
java.lang.IllegalMonitorStateException
at java.lang.Object.wait(Native Method)
at 
org.eclipse.ecf.example.clients.applications.ChatRobotApplication.runRobot(ChatRobotApplication.java:88)
at 
org.eclipse.ecf.example.clients.applications.ChatRobotApplication.start(ChatRobotApplication.java:51)
"""
Do I something wrong ? Is there anything special to do to run examples ?
No, but the IApplication threading behavior is different then it used to 
be with previous Equinox versions.  I'm updating these examples 
accordingly now:
I've opened this bug to track, and am working on it now so that the 
fixes can be in ECF 3.2 release (tomorrow)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=303215
Besides, sometimes this exception is raised (randomly apparenly) :
"""
javax.net.ssl.SSLException: Received fatal alert: internal_error
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190)
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:136)
at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1682)
at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:932)
"""
Where does it come from ?
I don't have any idea.  Is there more to the stack trace or other info 
in the log?
Scott