Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

odoo version 8 OpenERP android version

By
jewel
on 11/27/16, 9:20 AM 113 views

i have added a drawer menu in my android app.but when i click on that menu it appears "Unfortunately nERP has stopped".

I have added the error code.
 

com.odoo.crm E/AndroidRuntime:

FATAL EXCEPTION: ModernAsyncTask #4 Process: com.odoo.crm, PID: 2926 java.

lang.RuntimeException: An error occured while executing doInBackground() at android.support.v4.content.ModernAsyncTask$3.done(ModernAsyncTask.java:137)

at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)

at java.util.concurrent.FutureTask.setException(FutureTask.java:223)

at java.util.concurrent.FutureTask.run(FutureTask.java:242)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)

at java.lang.Thread.run(Thread.java:818)

Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String

com.odoo.core.orm.OModel.getModelName()' on a null object reference at

com.odoo.core.orm.provider.BaseModelProvider.setMatcher(BaseModelProvider.java:85) at

com.odoo.core.orm.provider.BaseModelProvider.query(BaseModelProvider.java:92) at

android.content.ContentProvider.query(ContentProvider.java:1017) at

android.content.ContentProvider$Transport.query(ContentProvider.java:238) at

android.content.ContentResolver.query(ContentResolver.java:491) at

android.content.ContentResolver.query(ContentResolver.java:434) at

android.support.v4.content.CursorLoader.loadInBackground(CursorLoader.java:49) at

android.support.v4.content.CursorLoader.loadInBackground(CursorLoader.java:35) at

android.support.v4.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:242) at

android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:51) at

android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:40) at

android.support.v4.content.ModernAsyncTask$2.call(ModernAsyncTask.java:123) at

java.util.concurrent.FutureTask.run(FutureTask.java:237) at

java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)  at

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)  at

java.lang.Thread.run(Thread.java:818)


can anybody help me???

 

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 11/27/16, 9:20 AM
Seen: 113 times
Last updated: 11/27/16, 12:15 PM