Android Question Crash report

Robert Valentino

Well-Known Member
Licensed User
Starting using Release (obfuscated) and got a crash report

B4X:
--------- beginning of main

--------- beginning of system

~i:** Service (starter) Create **

~i:** Service (starter) Start **

~i:** Activity (main) Create, isFirst =rue **

~i:** Activity (main) Resume **

~i:** Service (httputils2service) Create **

~i:** Service (httputils2service) Start **

~i:** Service (httputils2service) Start **

~i:** Service (httputils2service) Start ** <!DOCTYPE HTML> <html>



  <head>

  <title>404 Error - Page Not Found</title>



  <script src=/ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>

  <script type=ext/javascript" language=avaScript">

  var url =http://notfound01.domainparkingserver.net/?domain_name=

  + document.domain + '&a_id1686';



  $(document).ready(function() {

  $('#content').attr('src', url);

  });

  </script>

  </head>

  <body>

  <iframe src=ttp://notfound01.domainparkingserver.net/" id=ontent"

  frameborder=" height=00" scrolling=uto" width=00%">



  <!-- browser does not support iframe's -->



  </iframe>

  </body>



</html>

~i:** Activity (main) Pause, UserClosed =alse **

~i:** Activity (main) Resume **

~i:** Activity (main) Pause, UserClosed =alse **

~i:** Activity (asubscriptions) Create, isFirst =rue **

~i:** Activity (asubscriptions) Resume ** 1.87k 1.76k 1.87k 1.76k

~e:asubscriptions_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7 (java line: 1136)

~e:java.lang.NullPointerException: Attempt to invoke interface method 'android.os.Bundle com.android.vending.billing.IInAppBillingService.getBuyIntent(int, java.lang.String, java.lang.String, java.lang.String, java.lang.String)' on a null object reference

~e:  at anywheresoftware.b4a.objects.IbHelper.launchPurchaseFlow(IbHelper.java:363)

~e:  at anywheresoftware.b4a.inappbilling3.BillingManager3.RequestPayment(BillingManager3.java:91)

~e:  at com.BOBs.BBS.asubscriptions._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7(asubscriptions.java:1136)

~e:  at com.BOBs.BBS.asubscriptions._ssubscriptions_adddevice_click(asubscriptions.java:1701)

~e:  at java.lang.reflect.Method.invoke(Native Method)

~e:  at anywheresoftware.b4a.BA.raiseEvent2(BA.java:169)

~e:  at anywheresoftware.b4a.BA.raiseEvent2(BA.java:157)

~e:  at anywheresoftware.b4a.BA.raiseEvent(BA.java:153)

~e:  at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:78)

~e:  at android.view.View.performClick(View.java:5698)

~e:  at android.widget.TextView.performClick(TextView.java:10888)

~e:  at android.view.View$PerformClick.run(View.java:22570)

~e:  at android.os.Handler.handleCallback(Handler.java:739)

and not sure what Null Object reference this is talking about.

Any help please.

BobVal

PS: Have been looking at this all day and trying it and it always seems to work. Just have not idea why it would fail this one time
 
Last edited:

Robert Valentino

Well-Known Member
Licensed User
Yes. But I just realized that I save the supported flag but never check it.

So when I was trying to do a RequestPayment for some reason billing wasn't available.

What does Supported as false mean.
That billing is not available or that the user hasn't setup there machine properly (No google id, etc)

BobVal

PS: I am sure this user just got the device (know there last one died) so probably they hadn't made a google account.

Thanks so much for Application_Error routine and Log reports. This has help me debug a lot of problems I would not have know about.
 
Last edited:
Upvote 0
Top