Closed
Description
What version of Hugo are you using (hugo version
)?
$ hugo version Hugo Static Site Generator v0.63.0/extended windows/amd64 BuildDate: unknown
My site is unable to build using Hugo 0.63 extended version. It worked fine on 0.62.2.
Building sites … ERROR 2020/01/23 16:16:37 [BUG] Got panic:
runtime error: invalid memory address or nil pointer dereference
goroutine 110 [running]:
runtime/debug.Stack(0x1e639c8, 0x2, 0xc006bb5600)
/usr/local/go/src/runtime/debug/stack.go:24 +0xa4
github.com/gohugoio/hugo/hugolib.newPageContentOutput.func1.1(0xc006bb5f20, 0xc0015ef050)
/root/project/hugo/hugolib/page__per_output.go:93 +0xce
panic(0x1bec8c0, 0x19a2f70)
/usr/local/go/src/runtime/panic.go:679 +0x1c0
github.com/gohugoio/hugo/tpl/tplimpl.(*templateNamespace).parse(0x0, 0xc00afe5740, 0x35, 0xc012522000, 0xb899, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/root/project/hugo/tpl/tplimpl/template.go:797 +0x55
github.com/gohugoio/hugo/tpl/tplimpl.(*templateHandler).AddLateTemplate(0xc0008252c0, 0xc00afe5740, 0x35, 0xc012522000, 0xb899, 0x0, 0x0)
/root/project/hugo/tpl/tplimpl/template.go:280 +0x195
github.com/gohugoio/hugo/hugolib.(*pageContentOutput).addSelfTemplate(0xc0047c5dc0, 0xc003b1be80, 0x31)
/root/project/hugo/hugolib/page__per_output.go:433 +0x173
github.com/gohugoio/hugo/hugolib.newPageContentOutput.func1(0x22beb80, 0xc01100db00)
/root/project/hugo/hugolib/page__per_output.go:200 +0x5c3
github.com/gohugoio/hugo/hugolib.newPageContentOutput.func2(0x22e7040, 0xc0111b5b00, 0x1e63941, 0x1, 0x4, 0xc0009abfa8)
/root/project/hugo/hugolib/page__per_output.go:215 +0x2d
github.com/gohugoio/hugo/lazy.(*Init).withTimeout.func1(0xc003f36070, 0x22e7040, 0xc0111b5b00, 0xc0111b5b60)
/root/project/hugo/lazy/init.go:177 +0x4e
created by github.com/gohugoio/hugo/lazy.(*Init).withTimeout
/root/project/hugo/lazy/init.go:176 +0x115
Built in 3272 ms
Activity