Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] org.eclipse.ecf.example.clients & IllegalMonitorStateException

Thank you for your answer Scott

Le 18/02/2010 18:28, Scott Lewis a écrit :
Giraudon Cyril wrote:

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 :
at java.lang.Object.wait(Native Method)
at org.eclipse.ecf.example.clients.applications.ChatRobotApplication.runRobot( at org.eclipse.ecf.example.clients.applications.ChatRobotApplication.start(

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)


Besides, sometimes this exception is raised (randomly apparenly) :
""" Received fatal alert: internal_error
at at
Where does it come from ?

I don't have any idea. Is there more to the stack trace or other info in the log?


I report the complete strack trace for the SSL issue : Received fatal alert: internal_error
at at at at at at org.jivesoftware.smack.XMPPConnection.proceedTLSReceived( at org.jivesoftware.smack.PacketReader.parsePackets(
    at org.jivesoftware.smack.PacketReader.access$0(
    at org.jivesoftware.smack.PacketReader$
java.lang.IllegalStateException: Not connected to server.
at org.jivesoftware.smack.XMPPConnection.sendPacket( at org.jivesoftware.smack.NonSASLAuthentication.authenticate( at org.jivesoftware.smack.SASLAuthentication.authenticate(
    at org.jivesoftware.smack.XMPPConnection.login(
    at org.jivesoftware.smack.XMPPConnection.login(
at org.eclipse.ecf.internal.provider.xmpp.smack.ECFConnection.connect( at org.eclipse.ecf.provider.generic.ClientSOContainer.connect( at org.eclipse.ecf.provider.xmpp.XMPPContainer.connect( at org.eclipse.ecf.example.clients.XMPPChatClient.doConnect( at org.eclipse.ecf.example.clients.applications.ChatRobotApplication.runRobot( at org.eclipse.ecf.example.clients.applications.ChatRobotApplication.start( at at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication( at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start( at at
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    at org.eclipse.equinox.launcher.Main.invokeFramework(
    at org.eclipse.equinox.launcher.Main.basicRun(
    at org.eclipse.equinox.launcher.Main.main(



Back to the top