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

examples fail #8

Open
goldalworming opened this issue Jul 24, 2014 · 0 comments
Open

examples fail #8

goldalworming opened this issue Jul 24, 2014 · 0 comments

Comments

@goldalworming
Copy link

2014/07/24 15:31:39 http: panic serving 127.0.0.1:57957: runtime error: invalid memory address or nil pointer dereference
goroutine 4 [running]:
net/http.func·007()
/usr/lib/go/src/pkg/net/http/server.go:1022 +0xac
main.func·001(0xc2000cf040, 0xc2000b05b0, 0xc2000ba5b0)
/home/arief/web/go/ant0ine/go-urlrouter-master/examples/webserver/main.go:37 +0x55
net/http.HandlerFunc.ServeHTTP(0xc2000765a0, 0xc2000cf040, 0xc2000b05b0, 0xc2000ba5b0)
/usr/lib/go/src/pkg/net/http/server.go:1149 +0x3e
net/http.(_ServeMux).ServeHTTP(0xc2000994e0, 0xc2000cf040, 0xc2000b05b0, 0xc2000ba5b0)
/usr/lib/go/src/pkg/net/http/server.go:1416 +0x11d
net/http.serverHandler.ServeHTTP(0xc2000969b0, 0xc2000cf040, 0xc2000b05b0, 0xc2000ba5b0)
/usr/lib/go/src/pkg/net/http/server.go:1517 +0x16c
net/http.(_conn).serve(0xc2000ae1b0)
/usr/lib/go/src/pkg/net/http/server.go:1096 +0x765
created by net/http.(_Server).Serve
/usr/lib/go/src/pkg/net/http/server.go:1564 +0x266
2014/07/24 15:31:39 http: panic serving 127.0.0.1:57958: runtime error: invalid memory address or nil pointer dereference
goroutine 5 [running]:
net/http.func·007()
/usr/lib/go/src/pkg/net/http/server.go:1022 +0xac
main.func·001(0xc2000cf040, 0xc2000b07e0, 0xc2000ba680)
/home/arief/web/go/ant0ine/go-urlrouter-master/examples/webserver/main.go:37 +0x55
net/http.HandlerFunc.ServeHTTP(0xc2000765a0, 0xc2000cf040, 0xc2000b07e0, 0xc2000ba680)
/usr/lib/go/src/pkg/net/http/server.go:1149 +0x3e
net/http.(_ServeMux).ServeHTTP(0xc2000994e0, 0xc2000cf040, 0xc2000b07e0, 0xc2000ba680)
/usr/lib/go/src/pkg/net/http/server.go:1416 +0x11d
net/http.serverHandler.ServeHTTP(0xc2000969b0, 0xc2000cf040, 0xc2000b07e0, 0xc2000ba680)
/usr/lib/go/src/pkg/net/http/server.go:1517 +0x16c
net/http.(_conn).serve(0xc2000ae2d0)
/usr/lib/go/src/pkg/net/http/server.go:1096 +0x765
created by net/http.(_Server).Serve
/usr/lib/go/src/pkg/net/http/server.go:1564 +0x266
2014/07/24 15:31:39 http: panic serving 127.0.0.1:57959: runtime error: invalid memory address or nil pointer dereference
goroutine 6 [running]:
net/http.func·007()
/usr/lib/go/src/pkg/net/http/server.go:1022 +0xac
main.func·001(0xc2000cf040, 0xc2000b0a80, 0xc2000ba8f0)
/home/arief/web/go/ant0ine/go-urlrouter-master/examples/webserver/main.go:37 +0x55
net/http.HandlerFunc.ServeHTTP(0xc2000765a0, 0xc2000cf040, 0xc2000b0a80, 0xc2000ba8f0)
/usr/lib/go/src/pkg/net/http/server.go:1149 +0x3e
net/http.(_ServeMux).ServeHTTP(0xc2000994e0, 0xc2000cf040, 0xc2000b0a80, 0xc2000ba8f0)
/usr/lib/go/src/pkg/net/http/server.go:1416 +0x11d
net/http.serverHandler.ServeHTTP(0xc2000969b0, 0xc2000cf040, 0xc2000b0a80, 0xc2000ba8f0)
/usr/lib/go/src/pkg/net/http/server.go:1517 +0x16c
net/http.(_conn).serve(0xc2000ae3f0)
/usr/lib/go/src/pkg/net/http/server.go:1096 +0x765
created by net/http.(*Server).Serve
/usr/lib/go/src/pkg/net/http/server.go:1564 +0x266
^Cexit status 2

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