[Ethereum] Unable to send ether to contract

etherfallback-functionout-of-gaswallet-transfer

I am working on private test-net and trying to send ether to contract but ether is not being transferred. I tried using both geth console and Mist.

eth.sendTransaction({from:eth.accounts[0], to: "0x2D13f7fbBA77EF39bd21d661bc77cd85ECA0C230", value: web3.toWei(15, "ether"), gas: 1000000})
On using debug.traceTransaction(txHash) , I am getting
invalid jump destination (PUSH1) 2
undefined

Why can't I send ether to contract?

Best Answer

The contract probably has a fallback function that generates an exception or uses more than 1000000 gas (which would itself cause an exception).

Related:

What does a "bad JUMPDEST" error mean?

Why does a Solidity throw consume all gas?

Related Topic