Bitcoin Forum
May 09, 2024, 10:31:23 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Crash when connected to network. stack trace included -issue with exchange rate?  (Read 2056 times)
mb300sd (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1000

Drunk Posts


View Profile WWW
October 08, 2013, 12:07:17 AM
 #1

Been using bitcoin wallet for a a few months now, everything was working fine until today.

Based on the stack trace, it looks like wherever its looking up the exchange rate is returning invalid data

=== stack trace ===
Code:
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:352)
at java.util.concurrent.FutureTask.setException(FutureTask.java:219)
at java.util.concurrent.FutureTask.run(FutureTask.java:239)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
at java.lang.Thread.run(Thread.java:856)
Caused by: java.lang.ArithmeticException: Amount larger than the total quantity of Bitcoins possible specified.
at com.google.bitcoin.core.Utils.toNanoCoins(Utils.java:118)
at de.schildbach.wallet.ExchangeRatesProvider.getBitcoinCharts(ExchangeRatesProvider.java:239)
at de.schildbach.wallet.ExchangeRatesProvider.query(ExchangeRatesProvider.java:109)
at android.content.ContentProvider.query(ContentProvider.java:652)
at android.content.ContentProvider$Transport.query(ContentProvider.java:189)
at android.content.ContentResolver.query(ContentResolver.java:375)
at android.content.ContentResolver.query(ContentResolver.java:318)
at android.support.v4.content.CursorLoader.loadInBackground(CursorLoader.java:35)
at android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground$42af7916(AsyncTaskLoader.java:40)
at android.support.v4.content.ModernAsyncTask$2.call(ModernAsyncTask.java:123)
at java.util.concurrent.FutureTask.run(FutureTask.java:234)
... 3 more

Cause:

java.lang.ArithmeticException: Amount larger than the total quantity of Bitcoins possible specified.
at com.google.bitcoin.core.Utils.toNanoCoins(Utils.java:118)
at de.schildbach.wallet.ExchangeRatesProvider.getBitcoinCharts(ExchangeRatesProvider.java:239)
at de.schildbach.wallet.ExchangeRatesProvider.query(ExchangeRatesProvider.java:109)
at android.content.ContentProvider.query(ContentProvider.java:652)
at android.content.ContentProvider$Transport.query(ContentProvider.java:189)
at android.content.ContentResolver.query(ContentResolver.java:375)
at android.content.ContentResolver.query(ContentResolver.java:318)
at android.support.v4.content.CursorLoader.loadInBackground(CursorLoader.java:35)
at android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground$42af7916(AsyncTaskLoader.java:40)
at android.support.v4.content.ModernAsyncTask$2.call(ModernAsyncTask.java:123)
at java.util.concurrent.FutureTask.run(FutureTask.java:234)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
at java.lang.Thread.run(Thread.java:856)

1D7FJWRzeKa4SLmTznd3JpeNU13L1ErEco
1715250683
Hero Member
*
Offline Offline

Posts: 1715250683

View Profile Personal Message (Offline)

Ignore
1715250683
Reply with quote  #2

1715250683
Report to moderator
1715250683
Hero Member
*
Offline Offline

Posts: 1715250683

View Profile Personal Message (Offline)

Ignore
1715250683
Reply with quote  #2

1715250683
Report to moderator
1715250683
Hero Member
*
Offline Offline

Posts: 1715250683

View Profile Personal Message (Offline)

Ignore
1715250683
Reply with quote  #2

1715250683
Report to moderator
"Bitcoin: mining our own business since 2009" -- Pieter Wuille
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715250683
Hero Member
*
Offline Offline

Posts: 1715250683

View Profile Personal Message (Offline)

Ignore
1715250683
Reply with quote  #2

1715250683
Report to moderator
1715250683
Hero Member
*
Offline Offline

Posts: 1715250683

View Profile Personal Message (Offline)

Ignore
1715250683
Reply with quote  #2

1715250683
Report to moderator
M31
Full Member
***
Offline Offline

Activity: 139
Merit: 100


View Profile
October 08, 2013, 04:28:20 AM
 #2

i'm having the exact same issue.  quite the piss off as i was at dinner, about to pay for it all in btc for the first time -- this also being the first time this wallet has failed me!
stevenf
Member
**
Offline Offline

Activity: 75
Merit: 10


View Profile
October 08, 2013, 06:46:52 AM
 #3

Same problem here.

When it crashes, choose 'Cancel' when asked to send a report. You should be able to get into the app then. Not sure if you can send/receive coins.
Andreas Schildbach
Moderator
Hero Member
*
Offline Offline

Activity: 483
Merit: 501


View Profile
October 08, 2013, 06:58:41 AM
 #4

It should work again now, since the bad exchange rate has been corrected.

If it happens again, I'll release an update. Too bad things like this always happen while sleeping...

Sorry for the inconvenience.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!