Mensabot is broken #11

Open
opened 5 years ago by kolaente · 0 comments

Es gibt solche lustigen Fehlermeldungen, wenn man den Bot über Discord anspricht:

mensabot_1  | Bot is now running.  Press CTRL-C to exit.
mensabot_1  | panic: runtime error: invalid memory address or nil pointer dereference
mensabot_1  | [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x685c9d]
mensabot_1  | 
mensabot_1  | goroutine 100 [running]:
mensabot_1  | main.sendMealsForDate(0xc00008cea0, 0xbf6d7eb5e221b55a, 0x128cf1351, 0x987140, 0xc00028d0c0, 0x12)
mensabot_1  | 	/go/src/git.jonasfranz.software/JonasFranzDEV/mensabot/bot.go:116 +0x2dd
mensabot_1  | main.messageCreate(0xc00008cea0, 0xc0001640d8)
mensabot_1  | 	/go/src/git.jonasfranz.software/JonasFranzDEV/mensabot/bot.go:85 +0xfc
mensabot_1  | git.jonasfranz.software/JonasFranzDEV/mensabot/vendor/github.com/bwmarrin/discordgo.messageCreateEventHandler.Handle(0x749890, 0xc00008cea0, 0x6d8f80, 0xc0001640d8)
mensabot_1  | 	/go/src/git.jonasfranz.software/JonasFranzDEV/mensabot/vendor/github.com/bwmarrin/discordgo/eventhandlers.go:496 +0x57
mensabot_1  | created by git.jonasfranz.software/JonasFranzDEV/mensabot/vendor/github.com/bwmarrin/discordgo.(*Session).handle
mensabot_1  | 	/go/src/git.jonasfranz.software/JonasFranzDEV/mensabot/vendor/github.com/bwmarrin/discordgo/event.go:162 +0x111
Es gibt solche lustigen Fehlermeldungen, wenn man den Bot über Discord anspricht: ``` mensabot_1 | Bot is now running. Press CTRL-C to exit. mensabot_1 | panic: runtime error: invalid memory address or nil pointer dereference mensabot_1 | [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x685c9d] mensabot_1 | mensabot_1 | goroutine 100 [running]: mensabot_1 | main.sendMealsForDate(0xc00008cea0, 0xbf6d7eb5e221b55a, 0x128cf1351, 0x987140, 0xc00028d0c0, 0x12) mensabot_1 | /go/src/git.jonasfranz.software/JonasFranzDEV/mensabot/bot.go:116 +0x2dd mensabot_1 | main.messageCreate(0xc00008cea0, 0xc0001640d8) mensabot_1 | /go/src/git.jonasfranz.software/JonasFranzDEV/mensabot/bot.go:85 +0xfc mensabot_1 | git.jonasfranz.software/JonasFranzDEV/mensabot/vendor/github.com/bwmarrin/discordgo.messageCreateEventHandler.Handle(0x749890, 0xc00008cea0, 0x6d8f80, 0xc0001640d8) mensabot_1 | /go/src/git.jonasfranz.software/JonasFranzDEV/mensabot/vendor/github.com/bwmarrin/discordgo/eventhandlers.go:496 +0x57 mensabot_1 | created by git.jonasfranz.software/JonasFranzDEV/mensabot/vendor/github.com/bwmarrin/discordgo.(*Session).handle mensabot_1 | /go/src/git.jonasfranz.software/JonasFranzDEV/mensabot/vendor/github.com/bwmarrin/discordgo/event.go:162 +0x111 ```
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: JonasFranzDEV/mensabot#11
Loading…
There is no content yet.