Odoo-mobile / framework

Odoo Mobile Framework
https://play.google.com/store/apps/dev?id=8607973775002477408
Other
327 stars 374 forks source link

App Crashes when we run the release apk #378

Open mustafal opened 6 years ago

mustafal commented 6 years ago

When I create a debug apk it runs fine. But when I release the apk it crashes when we enter the server URL and go to the Username edit text and the server URL is correct. The Error I got is as follow.

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference at com.example.security.core.rpc.wrapper.OdooWrapper.connect(Unknown Source) at com.example.security.core.rpc.wrapper.OdooWrapper.onResponse(Unknown Source) at com.android.volley.toolbox.JsonRequest.deliverResponse(Unknown Source) at com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run(Unknown Source) at android.os.Handler.handleCallback(Handler.java:815) at android.os.Handler.dispatchMessage(Handler.java:104) at android.os.Looper.loop(Looper.java:207) at android.app.ActivityThread.main(ActivityThread.java:5769) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)

Please Help me out, Thanks