Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] RCP Chat example exception when displaying chat rooms

Hi Richard,

Thanks for the report.  I've filed a bug #161090 on this:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=161090

Looks on initial examination to be problem caused by use of IP address (rather than hostname) in room ID creation. While being fixed, a workaround might be to use a hostname ('localhost' or some other) rather than giving IP address (192.168.0.101).

Scott


Richard OSS wrote:
Hi,

I am trying to learn ECF by running the RCP chat
example. However, when I try to open the chat room I
get the exception below. It's choking when trying to
create and ID from the HostedRoom.

Is there anyway I can get around this? I haven't
modified anything.

The chatroom displays fine in Spark (JiveSoftware's IM
client).

Thanks in advance for your help?

(trace)org.eclipse.ecf.provider.Trace.err[10/15/06;21:33:21:375]GUID[94N0YWuBgQDqU1ki.SZg1gk4XvU-]:org.eclipse.ecf.provider.xmpp.container.XMPPClientSOContainer:Exception
in
createIDFromHostedRoom(org.jivesoftware.smackx.muc.HostedRoom@133f6dd)
java.net.URISyntaxException: Illegal character in
hostname at index 34:
xmpp://john@conference.192.168.0.101/tim?nickname=john
	at java.net.URI$Parser.fail(Unknown Source)
	at java.net.URI$Parser.parseHostname(Unknown Source)
	at java.net.URI$Parser.parseServer(Unknown Source)
	at java.net.URI$Parser.parseAuthority(Unknown Source)
	at java.net.URI$Parser.parseHierarchical(Unknown
Source)
	at java.net.URI$Parser.parse(Unknown Source)
	at java.net.URI.<init>(Unknown Source)
	at
org.eclipse.ecf.provider.xmpp.identity.XMPPRoomID.<init>(XMPPRoomID.java:55)
	at
org.eclipse.ecf.provider.xmpp.container.XMPPClientSOContainer.createIDFromHostedRoom(XMPPClientSOContainer.java:540)
	at
org.eclipse.ecf.provider.xmpp.container.XMPPClientSOContainer.getChatRooms(XMPPClientSOContainer.java:559)
	at
org.eclipse.ecf.provider.xmpp.container.XMPPClientSOContainer$5.getChatRooms(XMPPClientSOContainer.java:504)
	at
org.eclipse.ecf.provider.xmpp.container.XMPPClientSOContainer$5.getChatRoomsInfo(XMPPClientSOContainer.java:510)
	at
org.eclipse.ecf.ui.dialogs.ChatRoomSelectionDialog.createDialogArea(ChatRoomSelectionDialog.java:124)
	at
org.eclipse.jface.dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:165)
	at
org.eclipse.jface.window.Window.create(Window.java:426)
	at
org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1124)
	at
org.eclipse.jface.window.Window.open(Window.java:785)
	at
org.eclipse.ecf.ui.views.RosterView.showChatRooms(RosterView.java:1008)
	at
org.eclipse.ecf.ui.views.RosterView$17.run(RosterView.java:1181)
	at
org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
	at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
	at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
	at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
	at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
	at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
	at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
	at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
	at
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
	at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
	at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at
org.eclipse.ecf.example.rcpchat.Application.run(Application.java:28)
	at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
	at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
	at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
	at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at
org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
	at
org.eclipse.core.launcher.Main.basicRun(Main.java:280)
	at org.eclipse.core.launcher.Main.run(Main.java:977)
	at org.eclipse.core.launcher.Main.main(Main.java:952)
_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev




Back to the top