16,729 Views 31 Replies Last post: Jun 13, 2009 1:15 AM by rikki molecatert RSS
Bronze 8 posts since
Jan 4, 2008
Currently Being Moderated

Jan 4, 2008 5:14 AM

Error: object does not represent a valid JID

Hi all,

 

Today I found out about the awesome collaborative editor feature of NetBeans. I'm very excited because I've previously used SubEthaEdit and seen how useful it was for collaboratively editing a document.

 

After using the java.net collaborative server, I installed OpenFire 3.4.3 on my Ubuntu machine and got it up and running. I was able to add users remotely and SSL appeared to be working. However, all attempts to login (from NetBeans) fail! It seems to be a server-side problem... here is the ERROR log from OpenFire... has anyone seen this before?

 

at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:245)

at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:167)

at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandl er.java:132)

at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived (AbstractIoFilterChain.java:570)

at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)

at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)

at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)

at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimplePr otocolDecoderOutput.java:58)

at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecF ilter.java:173)

at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)

at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)

at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)

at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java :239)

at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Execut orFilter.java:283)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 885)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)

at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)

at java.lang.Thread.run(Thread.java:619)

2008.01.04 13:06:13 org.jivesoftware.openfire.spi.PresenceManagerImpl.userUnavailable(PresenceManage rImpl.java:268) Error storing offline presence of user: samuel

java.sql.SQLException: Unique constraint violation: SYS_IDX_50 in statement INSERT INTO jivePresence(username, offlinePresence, offlineDate) VALUES(?,?,?)

at org.hsqldb.jdbc.Util.throwError(Unknown Source)

at org.hsqldb.jdbc.jdbcPreparedStatement.execute(Unknown Source)

at org.jivesoftware.openfire.spi.PresenceManagerImpl.userUnavailable(PresenceManag erImpl.java:265)

at org.jivesoftware.openfire.handler.PresenceUpdateHandler.process(PresenceUpdateH andler.java:143)

at org.jivesoftware.openfire.handler.PresenceUpdateHandler.process(PresenceUpdateH andler.java:110)

at org.jivesoftware.openfire.handler.PresenceUpdateHandler.process(PresenceUpdateH andler.java:174)

at org.jivesoftware.openfire.PresenceRouter.handle(PresenceRouter.java:133)

at org.jivesoftware.openfire.PresenceRouter.route(PresenceRouter.java:69)

at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:75)

at org.jivesoftware.openfire.SessionManager$ClientSessionListener.onConnectionClos e(SessionManager.java:1116)

at org.jivesoftware.openfire.nio.NIOConnection.notifyCloseListeners(NIOConnection. java:182)

at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:165)

at org.jivesoftware.openfire.session.LocalSession.close(LocalSession.java:303)

at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:124)

at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandl er.java:132)

at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived (AbstractIoFilterChain.java:570)

at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)

at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)

at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)

at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimplePr otocolDecoderOutput.java:58)

at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecF ilter.java:173)

at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)

at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)

at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)

at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java :239)

at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Execut orFilter.java:283)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 885)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)

at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)

at java.lang.Thread.run(Thread.java:619)

Tags: error, openfire, exception, jid
Bronze 9 posts since
Jan 10, 2008
Currently Being Moderated
Jan 10, 2008 8:55 AM in response to: Sam Halliday
Re: Error: object does not represent a valid JID

I got exactly the same problem! It's something in conjunction with the HSQL database backend!

Bronze 9 posts since
Jan 10, 2008
Currently Being Moderated
Jan 10, 2008 12:51 PM in response to: Sam Halliday
Re: Error: object does not represent a valid JID

Since the back trace: "java.sql.SQLException: Unique constraint violation: SYS_IDX_50 in

statement [INSERT INTO jivePresence(username, offlinePresence,

offlineDate) VALUES(?,?,?)]" tells something about contraints, I think it should something with the jivePresence_pk? (see src/database/openfire_hsqldb.sql 1 and src/java/org/jivesoftware/spi/PresenceManagerImpl.java 2).

 

 

 

 

 

Abridgement of  1:

 

 

 

 

 

     CREATE TABLE jivePresence (
             &n bsp;  username           &nbsp ;  VARCHAR(64)     NOT NULL,
             &n bsp;  offlinePresence       LONGVARCHAR,
             &n bsp;  offlineDate           VARCHAR(15)     NOT NULL,
             &n bsp;  CONSTRAINT jivePresence_pk PRIMARY KEY (username)
             &n bsp;  );

Abridgement of 2:

     private static final String INSERT_OFFLINE_PRESENCE =
             &n bsp;  "INSERT INTO jivePresence(username, offlinePresence, offlineDate) VALUES(?,?,?)";

and

     // Insert data into the database.
             &n bsp;  Connection con = null;
             &n bsp;  PreparedStatement pstmt = null;
             &n bsp;  try {
             &n bsp;  con = DbConnectionManager.getConnection();
             &n bsp;  pstmt = con.prepareStatement(INSERT_OFFLINE_PRESENCE);
             &n bsp;  pstmt.setString(1, username);
             &n bsp;  if (offlinePresence != null) {
             &n bsp;  DbConnectionManager.setLargeTextField(pstmt, 2, offlinePresence);
             &n bsp;  }
             &n bsp;  else {
             &n bsp;  pstmt.setNull(2, Types.VARCHAR);
             &n bsp;  }
             &n bsp;  pstmt.setString(3, StringUtils.dateToMillis(offlinePresenceDate));
             &n bsp;  pstmt.execute();
             &n bsp;  }
             &n bsp;  catch (SQLException sqle) {
             &n bsp;  Log.error("Error storing offline presence of user: " + username, sqle);
             &n bsp;  }
             &n bsp;  finally {
             &n bsp;  DbConnectionManager.closeConnection(pstmt, con);
             &n bsp;  }

 

 

 

 

The username which is extracted from the packet is correct (see post of fommil). All other informations are read and written correctly (I can add users via the amdin consol, informations about my server instance are displayed correctly e.g.). What is the problem?

 

 

 

Could anybody help, solving this problem?

 

Bronze 9 posts since
Jan 10, 2008
Currently Being Moderated
Jan 10, 2008 12:53 PM in response to: Sam Halliday
Re: Error: object does not represent a valid JID

Your are right. This stuff should be added to a bug tracker...

Bronze 9 posts since
Jan 10, 2008
Currently Being Moderated
Jan 10, 2008 12:56 PM in response to: Yeitijem
Re: Error: object does not represent a valid JID

 

Oh the forum is the issue tracking system:

 

 

"Issue tracker

 

 

Use the official Ignite Realtime Issue Tracker to browse projects

and find issues. You may also vote for issues, see which issues are

popular, and view the road map. Note: to report new issues, please

post them in the forums."

 

 

 

 

 

Bronze 9 posts since
Jan 10, 2008
Currently Being Moderated
Jan 11, 2008 3:40 PM in response to: Sam Halliday
Re: Error: object does not represent a valid JID

 

Today I tried to connect to the openfire server via my IM Pidgin and it works! But I also need the XMPP server for collaboration issues!

 

 

What is the problem with the netbeans collaboration CMPP client? 

 

 

Bronze 9 posts since
Jan 10, 2008
Currently Being Moderated
Jan 12, 2008 3:45 AM in response to: Sam Halliday
Re: Error: object does not represent a valid JID

I'm not sure! Since there is nobody who helps us, could we exchange some more information? Maybe we can locate and identify the cause of the problem.

 

I did all steps, which are descriped in "http://wiki.netbeans.info/wiki/view/CollabServer". The openfire server runs on a FreeBSD machine. I installed openfire via ports, this ports instructed me to download the diable jdk... Since you are using Ubuntu, you are using the sun jdk, aren't you? So the error is independent from the used jdk! You are using a mysql database. I'm using the hsql database backend. The database backend doesn't seem to be the problem... We both using netbeans and we both using the newest version of OpenFire 3.4.3!

 

 

 

Some more information about login via Netbeans:

 

 

 

- the admin console shows that the used account was loged in at the time I tried to login.

- every time I'm trying to loggin the server produces the exception (see fommil's first post)

- netbeans shows the error message "Error: object does not represent a valid JID"            &nb sp;  (JID = Jabber ID?)

My Netbeans IDE Version:

     Product Version: NetBeans IDE 6.0 (Build 200711261600)
      Java: 1.5.0_13; Java HotSpot(TM) 64-Bit Server VM 1.5.0_13-b05
      System: Linux version 2.6.23-gentoo-r3 running on amd64; ISO-8859-15; de_DE (nb)

Any Idias? Maybe we should try another version of OpenFire... I don't know how to identify the version of the Collab Modul ... Oh, found it ... Developber Collaboration Version 1.2 ...

Bronze 9 posts since
Jan 10, 2008
Currently Being Moderated
Jan 15, 2008 9:58 AM in response to: Sam Halliday
Re: Error: object does not represent a valid JID

 

Yah, I got an answer from the collab.netbeans.org Mailing List. Zachary Benz told me that it is a known issue that OpenFire 3.4.x isn't working with the collaboration of netbeans. We should use Openfire 3.3.x instead.

 

 

Bronze 9 posts since
Jan 10, 2008
Currently Being Moderated
Jan 16, 2008 9:26 AM in response to: Sam Halliday
Re: Error: object does not represent a valid JID

According to "http://wiki.netbeans.org/wiki/view/NB61PerfPlan" the final release date for NetBeans IDE 6.1 is april the 21th.

Bronze 3 posts since
May 5, 2008
Currently Being Moderated
May 12, 2008 10:44 PM in response to: Yeitijem
Re: Error: object does not represent a valid JID

 

org.jivesoftware.openfire.spi.PresenceManagerImpl.userUnavailable(PresenceManage rImpl.java:268)

Error storing offline presence of user: xxxxxxxx

 

java.sql.SQLException: Unique constraint violation: SYS_IDX_51 in

             &n bsp; statement [INSERT INTO jivePresence(username, offlinePresence,

             &n bsp; offlineDate) VALUES(?,?,?)]

             &n bsp; at org.hsqldb.jdbc.Util.throwError(Unknown Source)

 

This error is still occurs in v1.3 on the netbeans 6.1 build, has the underlying schema changed?, are in active users not being cleaned out?

 

 

anyone got any ideas?

 

 

bugmenotuser Bronze 70 posts since
Aug 16, 2006
Currently Being Moderated
Jun 20, 2008 12:10 PM in response to: Tim Davenport
Re: Error: object does not represent a valid JID
you can solve this:

(Please add to faq)

check this:

- username must be in lowercase (on server and in collab login)
- change the domain to a name with a dot: mypc.org
- change the hostname at loginscreen also to: mypc.org so that the login goes to [user.name@mypc.org]

 

openfire domain setting:

open admin console under localhost:9090
-> Server
-> Servermanager
-> System Properties
-> xmpp.domain
edit the domain to a domain with a dot 

 

Bronze 3 posts since
May 5, 2008
Currently Being Moderated
Jun 22, 2008 4:26 PM in response to: bugmenotuser
Re: Error: object does not represent a valid JID

tried the solution that you have suggested, the domain was already in the format sungrid1.xxxxxxxxxx.com.au , tried username with and without the dot and stilll end up with the same error Thanks

bugmenotuser Bronze 70 posts since
Aug 16, 2006
Currently Being Moderated
Jun 23, 2008 1:40 AM in response to: Tim Davenport
Re: Error: object does not represent a valid JID

 

local maschine responds to this domain?

 

 

check if you setup it in both?

 

 

maybe you need to restart the openfire server after changing the values? (i remember i miss this point after my first trials of  changing the settings and i loose many hours)

 

 

Bronze 3 posts since
May 5, 2008
Currently Being Moderated
Jul 29, 2008 9:21 PM in response to: bugmenotuser
Re: Error: object does not represent a valid JID

Finally got the time to do some more investigation...

The error still exists see below...

 

info.log

2008.07.30 14:06:53 Openfire stopped
2008.07.30 14:06:53 Server halted
2008.07.30 14:07:19 Multi User Chat domain: conference.sungrid1.xxxxxx.com.au
2008.07.30 14:07:20 Publish-Subscribe domain: pubsub.sungrid1.xxxxxx.com.au
2008.07.30 14:07:20 Openfire 3.5.1 [Jul 30, 2008 2:07:20 PM]
2008.07.30 14:07:22 Admin console listening at:
  http://sungrid1.xxxxxx.com.au:9090
  https://sungrid1.xxxxxx.com.au:9091
2008.07.30 14:07:22 Started server (unencrypted) socket on port: 5269
2008.07.30 14:07:22 Started plain (unencrypted) socket on port: 5222
2008.07.30 14:07:22 Started SSL (encrypted) socket on port: 5223

error.log

2008.07.30 14:07:40 [org.jivesoftware.openfire.spi.PresenceManagerImpl.userUnavailable(PresenceMana gerImpl.java:268)] Error storing offline presence of user: tim.davenport
java.sql.SQLException: Unique constraint violation: SYS_IDX_51 in statement [INSERT INTO jivePresence(username, offlinePresence, offlineDate) VALUES(?,?,?)]

    at org.hsqldb.jdbc.Util.throwError(Unknown Source)
    at org.hsqldb.jdbc.jdbcPreparedStatement.execute(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.logicalcobwebs.proxool.ProxyStatement.invoke(ProxyStatement.java:100)
    at org.logicalcobwebs.proxool.ProxyStatement.intercept(ProxyStatement.java:57)
    at $java.sql.PreparedStatement$$EnhancerByProxool$$50ae6914.execute(<generated>)
    at org.jivesoftware.openfire.spi.PresenceManagerImpl.userUnavailable(PresenceManag erImpl.java:265)
    at org.jivesoftware.openfire.handler.PresenceUpdateHandler.process(PresenceUpdateH andler.java:145)
    at org.jivesoftware.openfire.handler.PresenceUpdateHandler.process(PresenceUpdateH andler.java:112)
    at org.jivesoftware.openfire.handler.PresenceUpdateHandler.process(PresenceUpdateH andler.java:176)
    at org.jivesoftware.openfire.PresenceRouter.handle(PresenceRouter.java:134)
    at org.jivesoftware.openfire.PresenceRouter.route(PresenceRouter.java:70)
    at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:76)
    at org.jivesoftware.openfire.SessionManager$ClientSessionListener.onConnectionClos e(SessionManager.java:1133)
    at org.jivesoftware.openfire.nio.NIOConnection.notifyCloseListeners(NIOConnection. java:183)
    at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:166)
    at org.jivesoftware.openfire.session.LocalSession.close(LocalSession.java:303)
    at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:120)
    at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandl er.java:133)
    at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived (AbstractIoFilterChain.java:570)
    at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)
    at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)
    at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)
    at org.apache.mina.common.IoFilterAdapter.messageReceived(IoFilterAdapter.java:80)
    at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)
    at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)
    at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)
    at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimplePr otocolDecoderOutput.java:58)
    at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecF ilter.java:180)
    at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)
    at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)
    at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)
    at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java :239)
    at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Execut orFilter.java:283)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 885)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)
    at java.lang.Thread.run(Thread.java:619)

IBeaumont Bronze 2 posts since
Nov 16, 2007
Currently Being Moderated
Sep 22, 2008 7:39 AM in response to: Tim Davenport
Re: Error: object does not represent a valid JID

Anyone got any more ideas what causes this error

 

Error storing offline presence of user: ian
java.sql.SQLException: Unique constraint violation: SYS_IDX_51 in statement [INSERT INTO ofPresence(username, offlinePresence, offlineDate) VALUES(?,?,?)]

 

I'm running Openfire 3.6 and Netbeans 6.1.

 

HSQL is the backend database.

 

Netbeans reports "object does not represent a valid JID" although I think the Openfire error above is the real problem.

 

Ian

wilmar Bronze 1 posts since
Mar 30, 2009
Currently Being Moderated
Mar 30, 2009 12:11 PM in response to: Sam Halliday
Re: Error: object does not represent a valid JID

Please follow all the steps descripted in this page:
http://wiki.netbeans.org/CollabServer

 

1. Download the las openfire server.
2. Install.
3. Open admin console.
4. Check for the search plugin (Plugin's Tab)
5. In the Conferences Tab, click in the link for the default conference.
6. Delete and destroy the service.
7. Create a new conference service with another name (name!="conference").
8. Create a new Chat room.
9. Make this chat room public and allow to users to invite to another users.

 

Ok, all's right to here, now, to create a new user (using Netbeans or the admin console).

 

Create a group and add the user's created to this group.
Enable contact list sharing
Mark "Share group with additional users" and then "all users".

 

This steeps work for me.
I'm Using window's version for the server, Netbeans 6.5.1 and a MySQL database, all installed locally.

David Buzatto Bronze 3 posts since
Mar 31, 2009
Currently Being Moderated
Mar 31, 2009 12:37 PM in response to: wilmar
Re: Error: object does not represent a valid JID

Hello.

 

It seems that the problem is a netbeans bug.

I installed openfire in my machine (Windows XP x64) and I´m able to connectd locally and remotely with netbeans.

 

So, I installed openfire in my server (Ubuntu x64), I performed every configuration described here (http://wiki.netbeans.org/CollabServer), like I did in my machine. When I try to connect the problem appears.

 

To verify if it´s a netbeans or a openfire problem I downloaded spark client. When I tried to connect in my server it worked fine. So, I think that this is a problem with netbeans's developer collaboration plugin.

 

Does anybody knows what to do?

 

[]´s

Daryl Lorimer Bronze 1 posts since
Apr 1, 2009
Currently Being Moderated
Apr 1, 2009 8:10 AM in response to: Sam Halliday
Re: Error: object does not represent a valid JID

The following work-around 'fixed' the issue at the expense of some lost functionality:

 

Server Settings > Offline Messages

 

Set to the 'Offline Message Policy' to 'Bounce' or 'Drop'

 

 

Current setup:

OpenFire 3.6.3 on CentOS 5.2.

NetBeans 6.1, 6.5 on both Windows and Linux worked.

David Buzatto Bronze 3 posts since
Mar 31, 2009
Currently Being Moderated
Apr 1, 2009 8:40 AM in response to: Daryl Lorimer
Re: Error: object does not represent a valid JID

Hi Deryl.

 

Yout work around didn´t work for me...

I have the same error... Im using openfire 3.6.3

 

[]´s

rikki molecatert Bronze 3 posts since
Apr 9, 2009
Currently Being Moderated
Apr 9, 2009 10:07 PM in response to: David Buzatto
Re: Error: object does not represent a valid JID

Hi.

I have a mac 10.5, win xp pro sp2, ubuntu itrepid ibex.

All have installed netbeans 6.5.1 and 6.1.

But i cannot connect via developer collorbration BUT i can connect via spark the openfire client.

 

when i look at the ide log i see:

com.sun.collablet.CollabException: object does not represent a valid JID
        at org.netbeans.modules.collab.provider.im.IMCollabManager.createSession(IMCollabM anager.java:340)
        at org.netbeans.modules.collab.ui.DefaultUserInterface$LoginTask.run(DefaultUserIn terface.java:1508)
        at java.lang.Thread.run(Thread.java:619)

 

which does in deed mean its a nebeans, plugin bug.

 

Hope this helps.

 

follow up even if i install developer collaboration on netbeans 6.1 it still dont work.

 

Tip have a look at the top of your ide log does it say error about e.g. missing j2se?

I'm checking out if it is creating this.

rikki molecatert Bronze 3 posts since
Apr 9, 2009
Currently Being Moderated
Apr 10, 2009 4:39 AM in response to: rikki molecatert
Re: Error: object does not represent a valid JID

Try netbeans 6.7M3 it worked for me BUT you may have to click connect (no mater the error) a few times.

jopes Bronze 2 posts since
Jun 11, 2009
Currently Being Moderated
Jun 12, 2009 8:52 AM in response to: Sam Halliday
Re: Error: object does not represent a valid JID

First of all, im not i Linux-guru, but i finally managed to get it working for me.

 

My situation:

  • NetBeans with Collaboration plugin on my local (windohs xp) machine, trying to connect to a Ubuntu 8.10 server (accessible through lan) with openfire installed.

 

I'll swiftly explain my process: First i thought it was a version problem, that the newest version of openfire (3.6.4) wouldnt work with my version of NetBeans(6.5.1). I tried openfire version 3.6.3  and it didn't work. I went as low as version 3.5.0 and that didnt work either. I started suspecting that, well maybe its more of an database problem?

 

I allready had a mysql server up and running on my ubuntu server, so why not just create a new database in mysql for openfire to use? So i configured a new database named openfire, reinstalled openfire (3.6.3) with settings to connect to my mysql dabatase. Opened Netbeans, created a new user, and tried to connect, and yeah; no more error messages.

 

So, don't use that crappy default local database server, use mysql, and maybe you will get it working as i did.

 

Another thing, if you want to try different versions of openfire. Just replace the version numbers you would like to download in the following url, for example:

 

http://www.igniterealtime.org/downloads/download-landing.jsp?file=openfire/openf ire_3.6.3_all.deb

http://www.igniterealtime.org/downloads/download-landing.jsp?file=openfire/openf ire_3.5.0_all.deb

http://www.igniterealtime.org/downloads/download-landing.jsp?file=openfire/openf ire_3.6.0_all.deb

David Buzatto Bronze 3 posts since
Mar 31, 2009
Currently Being Moderated
Jun 12, 2009 5:26 AM in response to: jopes
Re: Error: object does not represent a valid JID

Hi jopes,

 

I don´t think so. I´m using a mysql database from the beginning.

 

[]´s

jopes Bronze 2 posts since
Jun 11, 2009
Currently Being Moderated
Jun 12, 2009 8:51 AM in response to: David Buzatto
Re: Error: object does not represent a valid JID

Oh, well. Just trying to help.

rikki molecatert Bronze 3 posts since
Apr 9, 2009
Currently Being Moderated
Jun 13, 2009 1:15 AM in response to: Sam Halliday
Re: Error: object does not represent a valid JID

Im sorry to say this but I have all 3 platforms and 3 differnt versions of netbeans, used 2 different vesions of openfire and I have to say with and without mysql it still comes up.

It is NOT a database problem.

I belive the server is not at fault either.

To my knowledge Is in a bug in netbeans plugin. It is not configured of programmed currectly.

 

Well I can be wrong but...

Well someone please look into this.

More Like This

  • Retrieving data ...

Bookmarked By (0)