google cloud messaging - XMPP connection is failing in android for GCM CCS -
i getting error while trying connect gcm ccs. java.lang.nullpointerexception: attempt invoke interface method 'org.jivesoftware.smack.packetlistener org.jivesoftware.smack.debugger.smackdebugger.getreaderlistener()' on null object reference @ org.jivesoftware.smack.xmppconnection.initconnection(xmppconnection.java:930) @ org.jivesoftware.smack.xmppconnection.connectusingconfiguration(xmppconnection.java:904) @ org.jivesoftware.smack.xmppconnection.connect(xmppconnection.java:1415) @ com.example.gcm.gcmccsclient.connect(gcmccsclient.java:270) i have searched lot didn't find solutionand not able figure out causing issue.