java.lang.NoSuchMethodError: No virtual method initParser(Ljava/lang/reflect/Type;Ljava/lang/reflect/Type;Lcom/qb/gson/JsonDeserializer;)V in class Lcom/quickblox/core/parser/QBJsonParser; or its super classes (declaration of 'com.quickblox.core.parser.QBJsonParser' appears in /data/app/br.com.test.app-1/base.apk)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by pedrofsn
, 1 year ago
No virtual method initParser(Ljava/lang/reflect/Type;Ljava/lang/reflect/Type;Lcom/qb/gson/JsonDeserializer;)V in class Lcom/quickblox/core/parser/QBJsonParser; or its super classes (declaration of 'com.quickblox.core.parser.QBJsonParser' appears in /data/app/br.com.test.app-1/base.apk)
java.lang.NoSuchMethodError: No virtual method initParser(Ljava/lang/reflect/Type;Ljava/lang/reflect/Type;Lcom/qb/gson/JsonDeserializer;)V in class Lcom/quickblox/core/parser/QBJsonParser; or its super classes (declaration of 'com.quickblox.core.parser.QBJsonParser' appears in /data/app/br.com.test.app-1/base.apk)
at com.quickblox.content.query.QueryBaseFile.(QueryBaseFile.java:22)
at com.quickblox.content.query.QueryCreateFile.(QueryCreateFile.java:18)
at com.quickblox.content.QBContent.createFile(QBContent.java:58)
at com.quickblox.content.task.TaskEntityUploadFile.performTask(TaskEntityUploadFile.java:57)
at com.quickblox.content.QBContent.uploadFileTask(QBContent.java:560)
at br.com.test.app.chat.utils.chat.ChatHelper.loadFileAsAttachment(ChatHelper.java:285)
at br.com.test.app.chat.ui.adapter.AttachmentPreviewAdapter.add(AttachmentPreviewAdapter.java:55)
at br.com.test.app.chat.ui.activity.ChatActivity.onImagePicked(ChatActivity.java:239)
at com.quickblox.sample.core.utils.imagepick.GetFilepathFromUriTask.onResult(GetFilepathFromUriTask.java:80)
at com.quickblox.sample.core.utils.imagepick.GetFilepathFromUriTask.onResult(GetFilepathFromUriTask.java:22)
at com.quickblox.sample.core.async.BaseAsyncTask.onPostExecute(BaseAsyncTask.java:33)
at android.os.AsyncTask.finish(AsyncTask.java:651)

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.

Know the solutions? Share your knowledge to help other developers to debug faster.