java.lang.IllegalArgumentException: Nickname must not be null or blank

Hello Team ,

From today i am getting below exception while creatig gorup .

my input json is below:
“createdAt”: 0,
“description”: “Vvhjj”,
“guid”: “EE83FB6D-9520-EA11-BB6B-000D3AF00B4B”,
“hasJoined”: false,
“joinedAt”: -1,
“metadata”: {
“nameValuePairs”: {
“PoNumber”: “EE83FB6D-9520-EA11-BB6B-000D3AF00B4B”,
“customerGuiId”: “57A4892E-03F0-E911-BB37-000D3AF00B4B”
“name”: “Pos25”,
“type”: “public”,
“updatedAt”: 0


below is exception

2019-12-17 11:48:11.193 12406-12406/com.connectrix.customer E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.connectrix.customer, PID: 12406
java.lang.IllegalArgumentException: Nickname must not be null or blank.
at org.jivesoftware.smack.util.StringUtils.requireNotNullOrEmpty(
at org.jivesoftware.smackx.muc.MultiUserChat.enter(
at org.jivesoftware.smackx.muc.MultiUserChat.join(
at org.jivesoftware.smackx.muc.MultiUserChat.join(
at android.os.Handler.handleCallback(
at android.os.Handler.dispatchMessage(
at android.os.Looper.loop(
at java.lang.reflect.Method.invoke(Native Method)

Please look into this

Thanks and Regards

Input json in more details

Hello @Pankaj_Android,
Can you please share the code snippet you are using for creating a group…?

Hello Adiya,

this issue was coming due to SSL error.
I log out from applicaiton and then login again. then SSL error started coming.

CometChat.createGroup(group, object : CometChat.CallbackListener() {
override fun onSuccess(p0: Group?) {

                if (p0 != null) {
                    groupListMutable.put(p0.guid, p0)
                    groupList.value = groupListMutable

                onGroupCreated.onGroupCreated(context, p0)


            override fun onError(p0: CometChatException?) {
                onGroupCreated.onErrorGroupCreation(context, p0)


Hi @Pankaj_Android,

Are you still facing the issues due to SSL?

The android SDK version 2.0.2 contains changes and optimisations to the login flow.

Please upgrade to v2.0.2 and it should resolve the issue.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.