Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

当我搭建好环境,运行时报错 #2

Closed
darrengame opened this issue Mar 3, 2020 · 1 comment
Closed

当我搭建好环境,运行时报错 #2

darrengame opened this issue Mar 3, 2020 · 1 comment

Comments

@darrengame
Copy link

当我搭建好环境,运行时报错,请问怎么解决或者指点下哪里出问题了。如下:
2020-03-02T23:13:38.470-0800 INFO storage/mysql_manager.go:21 MySQLManagerIns {"mysql": {"Mapper":{}}}
2020-03-02T23:13:38.471-0800 INFO storage/redis_manager.go:24 Redis {"ping": "PONG"}
2020-03-02T23:13:38.471-0800 INFO env_tools/load_pre_conf.go:16 Merging into MySQL from: {"SQLiteFilePath": ""}
2020-03-02T23:13:38.474-0800 INFO env_tools/load_pre_conf.go:53 truncate {"truncate mission": {"Locker":{}}}
2020-03-02T23:13:38.475-0800 INFO env_tools/load_pre_conf.go:61 loadSql query error {"err": "no such table: mission"}
2020-03-02T23:13:38.475-0800 INFO runtime/panic.go:967 load mission success
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xac4e2a]

@darrengame
Copy link
Author

已经解决,原来configs中的preconfigured数据库文件名和conf.go中的文件名不一样导致的。把文件名修改一致就解决了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant