logs.txt
1Aug 13 14:04:21 appview appview[2857389]:
2time=2025-08-13T14:04:21.623Z level=INFO msg="http:
3panic serving 127.0.0.1:60984: runtime error:
4invalid memory address or nil pointer dereference\ngoroutine 189886 [running]:\nnet/http.(*conn).serve.func1()\n\tnet/http/server.go:1947 +0xbe\npanic({0x15cf700?, 0x2f36e40?})\n\truntime/panic.go:
5792 +0x132\ntangled.sh/tangled.sh/core/appview/state.(*State).profilePage(0xc004c92b00, {0x207af00, 0xc0089f5ea0}, 0xc005d888c0)\n\ttangled.sh/tangled.sh/core/appview/state/profile.go:114 +0x1145\ntangled.sh/tangled.sh/core/appview/state.(*State).Profile(0xc004c92b00, {0x207af00, 0xc0089f5ea0}, 0xc005d888c0)\n\ttangled.sh/tangled.sh/core/appview/state/profile.go:27 +0xae\nnet/http.HandlerFunc.ServeHTTP(0xc0000d1a40?, {0x207af00?, 0xc0089f5ea0?}, 0x2067158?)\n\tnet/http/server.go:
62294 +0x29\ngithub.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc0097aff20, {0x207af00, 0xc0089f5ea0}, 0xc005d888c0)\n\tgithub.com/go-chi/chi/v5/mux.go:480 +0x2e2\nnet/http.HandlerFunc.ServeHTTP(0xc00535b610?, {0x207af00?, 0xc0089f5ea0?}, 0x7d648b8c60e0?)\n\tnet/http/server.go:2294 +0x29\ngithub.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc0097aff20, {0x207af00, 0xc0089f5ea0}, 0xc005d888c0)\n\tgithub.com/go-chi/chi/v5/mux.go:
773 +0x32f\ngithub.com/go-chi/chi/v5.(*Mux).Mount.func1({0x207af00, 0xc0089f5ea0}, 0xc005d888c0)\n\tgithub.com/go-chi/chi/v5/mux.go:327 +0x1bb\nnet/http.HandlerFunc.ServeHTTP(0xc005d88000?, {0x207af00?, 0xc0089f5ea0?}, 0x20691e0?)\n\tnet/http/server.go:2294 +0x29\ntangled.sh/tangled.sh/core/appview/state.(*State).UserRouter.Middleware.ResolveIdent.func3.1({0x207af00, 0xc0089f5ea0}, 0xc005d88000)\n\ttangled.sh/tangled.sh/core/appview/middleware/middleware.go:
8193 +0x26b\nnet/http.HandlerFunc.ServeHTTP(0xc007d70035?, {0x207af00?, 0xc0089f5ea0?}, 0xc00198bc10?)\n\tnet/http/server.go:2294 +0x29\ngithub.com/go-chi/chi/v5.(*ChainHandler).ServeHTTP(0xc0000d1a40?, {0x207af00?, 0xc0089f5ea0?}, 0xc007d70034?)\n\tgithub.com/go-chi/chi/v5/chain.go:31 +0x26\ngithub.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc0097afe60, {0x207af00, 0xc0089f5ea0}, 0xc005d88000)\n\tgithub.com/go-chi/chi/v5/mux.go:
9480 +0x2e2\nnet/http.HandlerFunc.ServeHTTP(0xc007094f00?, {0x207af00?, 0xc0089f5ea0?}, 0xc004dc2000?)\n\tnet/http/server.go:2294 +0x29\ngithub.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc0097afe60, {0x207af00, 0xc0089f5ea0}, 0xc005d88000)\n\tgithub.com/go-chi/chi/v5/mux.go:73 +0x32f\ntangled.sh/tangled.sh/core/appview/state.(*State).Router.func1({0x207af00, 0xc0089f5ea0}, 0xc005d88000)\n\ttangled.sh/tangled.sh/core/appview/state/router.go:
1038 +0xcc\nnet/http.HandlerFunc.ServeHTTP(0xc0000d1a40?, {0x207af00?, 0xc0089f5ea0?}, 0xc007d70034?)\n\tnet/http/server.go:2294 +0x29\ngithub.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc004dc4300, {0x207af00, 0xc0089f5ea0}, 0xc005d88000)\n\tgithub.com/go-chi/chi/v5/mux.go:480 +0x2e2\nnet/http.HandlerFunc.ServeHTTP(0x207d118?, {0x207af00?, 0xc0089f5ea0?}, 0x2f37710?)\n\tnet/http/server.go:
112294 +0x29\ngithub.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc004dc4300, {0x207af00, 0xc0089f5ea0}, 0xc005ce5e00)\n\tgithub.com/go-chi/chi/v5/mux.go:90 +0x2ee\nnet/http.serverHandler.ServeHTTP({0xc007094e40?}, {0x207af00?, 0xc0089f5ea0?}, 0x6?)\n\tnet/http/server.go:3301 +0x8e\nnet/http.(*conn).serve(0xc005cc2120, {0x207d0e0, 0xc004e4fad0})\n\tnet/http/server.go:
122102 +0x625\ncreated by net/http.(*Server).Serve in goroutine 1\n\tnet/http/server.go:3454 +0x485"
13