nebulasio / wiki

This repository is out of date, please check the new wiki:
http://wiki.nebulas.io/en/latest/
GNU General Public License v3.0
421 stars 154 forks source link

./neb account new 错误 #81

Open includeleec opened 6 years ago

includeleec commented 6 years ago

$ ./neb account new Your new account is locked with a passphrase. Please give a passphrase. Do not forget this passphrase. Passphrase: Repeat passphrase: panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0xa6c502]

goroutine 1 [running]: github.com/nebulasio/go-nebulas/core.(Address).String(0x0, 0xc4200149b0, 0x5) /home/ubuntu/workspace/blockchain/src/github.com/nebulasio/go-nebulas/core/address.go:138 +0x22 main.accountCreate(0xc420012b00, 0x0, 0x0) /home/ubuntu/workspace/blockchain/src/github.com/nebulasio/go-nebulas/cmd/neb/accountcmd.go:109 +0xf6 main.MergeFlags.func1(0xc420012b00, 0x0, 0xc420012b00) /home/ubuntu/workspace/blockchain/src/github.com/nebulasio/go-nebulas/cmd/neb/flags.go:356 +0x103 github.com/nebulasio/go-nebulas/vendor/github.com/urfave/cli.HandleAction(0xceb220, 0xc4201af720, 0xc420012b00, 0xc420062500, 0x0) /home/ubuntu/workspace/blockchain/src/github.com/nebulasio/go-nebulas/vendor/github.com/urfave/cli/app.go:490 +0xd2 github.com/nebulasio/go-nebulas/vendor/github.com/urfave/cli.Command.Run(0xe36a0b, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe458be, 0x14, 0x0, ...) /home/ubuntu/workspace/blockchain/src/github.com/nebulasio/go-nebulas/vendor/github.com/urfave/cli/command.go:210 +0xa95 github.com/nebulasio/go-nebulas/vendor/github.com/urfave/cli.(App).RunAsSubcommand(0xc42006d1e0, 0xc420012840, 0x0, 0x0) /home/ubuntu/workspace/blockchain/src/github.com/nebulasio/go-nebulas/vendor/github.com/urfave/cli/app.go:379 +0xa7b github.com/nebulasio/go-nebulas/vendor/github.com/urfave/cli.Command.startApp(0xe39cb2, 0x7, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe40fe6, 0xf, 0x0, ...) /home/ubuntu/workspace/blockchain/src/github.com/nebulasio/go-nebulas/vendor/github.com/urfave/cli/command.go:298 +0x944 github.com/nebulasio/go-nebulas/vendor/github.com/urfave/cli.Command.Run(0xe39cb2, 0x7, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe40fe6, 0xf, 0x0, ...) /home/ubuntu/workspace/blockchain/src/github.com/nebulasio/go-nebulas/vendor/github.com/urfave/cli/command.go:98 +0x1319 github.com/nebulasio/go-nebulas/vendor/github.com/urfave/cli.(*App).Run(0xc42006cd00, 0xc420010090, 0x3, 0x3, 0x0, 0x0) /home/ubuntu/workspace/blockchain/src/github.com/nebulasio/go-nebulas/vendor/github.com/urfave/cli/app.go:255 +0x6f8 main.main() /home/ubuntu/workspace/blockchain/src/github.com/nebulasio/go-nebulas/cmd/neb/main.go:76 +0xaa0

act262 commented 6 years ago

u should deploy your local server firstly, and then use thoseadmin command.

weiht12 commented 5 years ago

你好,此版本为星云旧版wiki,欢迎将您的问题提交星云新版wiki,以便于及时与星云开发人员及其他社区开发者进行交流。同时,参与wiki的编辑维护工作还会有奖励哦。新版wiki链接:https://wiki.nebulas.io/en/latest/ (英文);https://wiki.nebulas.io/zh_CN/latest/ (中文) Hello, this version is the nebulas old wiki (later stop maintenance), welcome to submit your question to the new nebulas wiki, in order to get timely answers. At the same time, there will be rewards for editing and maintaining the wiki. New wiki link: https://wiki.nebulas.io/en/latest/ (English); https://wiki.nebulas.io/zh_CN/latest/ (Chinese)