java.lang.IllegalArgumentException

Invalid username: bak'thar


Solutions on the web3538

Solution icon of github
Invalid username: bak'thar

Solution icon of googlegroups
via Google Groups by Jason Haar, 7 months ago
The connection string contains invalid user information. If the username or password contains a colon (:) or an at-sign (@) then it must be urlencoded

Solution icon of googlegroups
via Google Groups by kk, 1 month ago
Illegal username/password combination.

Solution icon of googlegroups
via Google Groups by kk, 1 week ago
Illegal username/password combination.

Solution icon of stackoverflow
via Stack Overflow by Unknown author, 1 year ago
Username isn't defined.

Solution icon of stackoverflow
via Stack Overflow by emoleumassi
, 1 year ago
org.hibernate.hql.internal.ast.QuerySyntaxException: user is not mapped [FROM user WHERE username = :username]

Solution icon of stackoverflow
Username may not be null

Solution icon of github
Username may not be null

Stack trace

  • java.lang.IllegalArgumentException: Invalid username: bak'thar at org.jivesoftware.openfire.user.UserManager.createUser(UserManager.java:183) at org.jivesoftware.openfire.plugin.rest.controller.UserServiceController.createUser(UserServiceController.java:91) at org.jivesoftware.openfire.plugin.rest.service.UserService.createUser(UserService.java:40) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205) at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409) at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:540) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:715) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.