novitski / bitcoinj

Automatically exported from code.google.com/p/bitcoinj
Apache License 2.0
0 stars 0 forks source link

IllegalArgumentException while reading wallet: Could not connect #400

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This type of exception is on the rise. Could it be reorg related? 

java.lang.RuntimeException: Unable to create application 
de.schildbach.wallet.WalletApplication: java.lang.IllegalArgumentException: 
Could not connect 
d4c58c0e65e5c9bcc286a4cdaabe096b1219eb63eee97b4e0888091ab0e6dedb to 
5d1c2d0244e4975dcad556f43a0710dec883b7d9557aa9b9a8c0b1ea5c23b7f9
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4254)
at android.app.ActivityThread.access$1400(ActivityThread.java:140)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1297)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4921)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalArgumentException: Could not connect 
d4c58c0e65e5c9bcc286a4cdaabe096b1219eb63eee97b4e0888091ab0e6dedb to 
5d1c2d0244e4975dcad556f43a0710dec883b7d9557aa9b9a8c0b1ea5c23b7f9
at 
com.google.bitcoin.store.WalletProtobufSerializer.connectTransactionOutputs(Wall
etProtobufSerializer.java:467)
at 
com.google.bitcoin.store.WalletProtobufSerializer.readWallet(WalletProtobufSeria
lizer.java:375)
at 
de.schildbach.wallet.WalletApplication.loadWalletFromProtobuf(WalletApplication.
java:186)
at de.schildbach.wallet.WalletApplication.onCreate(WalletApplication.java:106)
at 
android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1014)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4251)
... 10 more

Original issue reported on code.google.com by andreas....@gmail.com on 28 Apr 2013 at 12:15

GoogleCodeExporter commented 9 years ago
Are you disconnecting the outputs/connected inputs of spent transactions when 
you delete them? If not then it could cause these kinds of errors.

Original comment by hearn@google.com on 29 Apr 2013 at 9:41