Invalid code point bug
Issue #138
invalid
Every time I try to run my program I get this error message, independent from wich Java version I use:
Exception in thread "main" rocks.xmpp.precis.InvalidCodePointException: Invalid code point at position 0: 0x200e
at rocks.xmpp.precis.PrecisProfile.prepare(PrecisProfile.java:664)
at rocks.xmpp.precis.UsernameProfile.prepare(UsernameProfile.java:53)
at rocks.xmpp.precis.PrecisProfile.enforce(PrecisProfile.java:700)
at rocks.xmpp.precis.UsernameProfile.enforce(UsernameProfile.java:58)
at rocks.xmpp.addr.Jid.<init>(Jid.java:155)
at rocks.xmpp.addr.Jid.withLocal(Jid.java:419)
at rocks.xmpp.extensions.muc.ChatService.createRoom(ChatService.java:92)
at Main.main(Main.java:23)
Is this a libary problem or am I just stupid and can't use this library?
Comments (3)
-
repo owner -
Oh I'm so stupid, thank you for the fast answer...
-
repo owner - changed status to invalid
Not an issue.
- Log in to comment
The exception should be pretty clear, isn't it?
You are trying to create chat room with an invalid codepoint at character position 0, which is 0x200E (LEFT-TO-RIGHT MARK). This code point is disallowed by the JID specification.