Try disabling the usage of Tor in the wallettemplate sourcecode. Or maybe switch to the bitcoinj master branch, we removed Tor there.
On 12/02/2017 01:49 AM, Satoru Nakayama wrote: > I'm trying to make simple GUI wallet on linux(ubuntu 16.04 LTS) with > reference to the video of the official website > (https://bitcoinj.github.io/simple-gui-wallet). > According to the tutorial, I compiled with intllij using bitcoinj > (Release 0.14.5), but the processing does not complete. > In this part > <%20https://github.com/bitcoinj/bitcoinj/blob/release-0.14/wallettemplate/src/main/java/wallettemplate/Main.java#L45>,I > replace 「MainNetParams.get ();」 with 「TestNet3Params.get ();」,and > executed.(If it run without replacing, it will succeed.) > > 09:40:27 19 WalletAppKit.startUp: Starting up with directory = . > 09:40:27 19 MnemonicCode.toSeed: PBKDF2 took 411ms > 09:40:27 19 KeyChainGroup.createAndActivateNewHDChain: Creating and > activating a new HD chain: > org.bitcoinj.wallet.DeterministicKeyChain@1b6ee6bd > 09:40:27 19 DeterministicKeyChain.maybeLookAhead: 133 keys needed for > M/0H/0 = 1 issued + 100 lookahead size + 33 lookahead threshold - 1 num > children > 09:40:27 19 DeterministicKeyChain.maybeLookAhead: Took 101 msec > 09:40:27 19 DeterministicKeyChain.maybeLookAhead: 133 keys needed for > M/0H/1 = 0 issued + 100 lookahead size + 33 lookahead threshold - 0 num > children > 09:40:27 19 DeterministicKeyChain.maybeLookAhead: Took 78 msec > 09:40:27 19 AbstractBlockChain.<init>: chain head is at height 270144: > v2 block: > previous block: > 000000000000312a7718fc616b0ecfdbf6066f71ec1a4a8c43f50f02f61cc398 > merkle root: > 34c749b12299b0f894da3ec0d21009927103230df77be41286227afec3232bc5 > time: [1405876258] Mon Jul 21 02:10:58 JST 2014 > difficulty target (nBits): 453018342 > nonce: 493258929 > > 09:40:27 19 DRMWorkaround.maybeDisableExportControls: Failed to > deactivate AES-256 barrier logic, Tor mode/BIP38 decryption may crash if > this JVM requires it: Can not set static final boolean field > javax.crypto.JceSecurity.isRestricted to (boolean)false > 09:40:27 19 AbstractBlockChain.addWallet: Wallet/chain height mismatch: > -1 vs 270144 > 09:40:27 19 AbstractBlockChain.addWallet: Hashes: null vs > 00000000000077b9692e5d4fe4f27b372067638da43bd05d8c6c654600cd520b > 09:40:27 23 PeerGroup.startUp: Starting Tor/Orchid ... > 09:40:27 23 TorClient.start: Starting Orchid (version: 1.0.0) > 09:40:27 23 TorClient.verifyUnlimitedStrengthPolicyInstalled: Unlimited > Strength Jurisdiction Policy Files are required but not installed. > 09:40:27 23 ExecutionQueue$RunnableExecutorPair.submit: Exception while > executing listener > com.google.common.util.concurrent.AbstractService$10@4693667c with > executor > com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService@345217d9 > java.lang.RuntimeException: com.subgraph.orchid.TorException: Unlimited > Strength Jurisdiction Policy Files are required but not installed. > at org.bitcoinj.kits.WalletAppKit$1.failed(WalletAppKit.java:310) > at > com.google.common.util.concurrent.AbstractService$10.run(AbstractService.java:551) > at > com.google.common.util.concurrent.ExecutionQueue$RunnableExecutorPair.run(ExecutionQueue.java:154) > at > com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:297) > at > com.google.common.util.concurrent.ExecutionQueue$RunnableExecutorPair.submit(ExecutionQueue.java:130) > at > com.google.common.util.concurrent.ExecutionQueue$RunnableExecutorPair.access$000(ExecutionQueue.java:109) > at > com.google.common.util.concurrent.ExecutionQueue.execute(ExecutionQueue.java:90) > at > com.google.common.util.concurrent.AbstractService.executeListeners(AbstractService.java:496) > at > com.google.common.util.concurrent.AbstractService.notifyFailed(AbstractService.java:431) > at > com.google.common.util.concurrent.AbstractExecutionThreadService$1$2.run(AbstractExecutionThreadService.java:76) > at com.google.common.util.concurrent.Callables$3.run(Callables.java:93) > at java.lang.Thread.run(Thread.java:748) > Caused by: com.subgraph.orchid.TorException: Unlimited Strength > Jurisdiction Policy Files are required but not installed. > at > com.subgraph.orchid.TorClient.verifyUnlimitedStrengthPolicyInstalled(TorClient.java:208) > at com.subgraph.orchid.TorClient.start(TorClient.java:79) > at org.bitcoinj.core.PeerGroup.startUp(PeerGroup.java:818) > at > com.google.common.util.concurrent.AbstractExecutionThreadService$1$2.run(AbstractExecutionThreadService.java:55) > ... 2 more > Exception in thread "PeerGroup" com.subgraph.orchid.TorException: > Unlimited Strength Jurisdiction Policy Files are required but not installed. > at > com.subgraph.orchid.TorClient.verifyUnlimitedStrengthPolicyInstalled(TorClient.java:208) > at com.subgraph.orchid.TorClient.start(TorClient.java:79) > at org.bitcoinj.core.PeerGroup.startUp(PeerGroup.java:818) > at > com.google.common.util.concurrent.AbstractExecutionThreadService$1$2.run(AbstractExecutionThreadService.java:55) > at com.google.common.util.concurrent.Callables$3.run(Callables.java:93) > at java.lang.Thread.run(Thread.java:748) > > > waited for a couple of hours,but this state does not change. > Is there something wrong? > > Many thanks, > > -- > You received this message because you are subscribed to the Google > Groups "bitcoinj" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to bitcoinj+unsubscr...@googlegroups.com > <mailto:bitcoinj+unsubscr...@googlegroups.com>. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "bitcoinj" group. To unsubscribe from this group and stop receiving emails from it, send an email to bitcoinj+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.