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

text/template: panic during "Templates" execution on new template #3872

Closed
gopherbot opened this issue Jul 27, 2012 · 3 comments
Closed

text/template: panic during "Templates" execution on new template #3872

gopherbot opened this issue Jul 27, 2012 · 3 comments
Milestone

Comments

@gopherbot
Copy link

by sokolcjrjk:

What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. Execute template.New("Name").Templates()

http://play.golang.org/p/myKyI7LmZF

What is the expected output?
None

What do you see instead?
panic: runtime error: invalid memory address or nil pointer dereference

Which compiler are you using (5g, 6g, 8g, gccgo)?
6g

Which operating system are you using?
x86_64 GNU/Linux

Which version are you using?  (run 'go version')
go version go1.0.2

Please provide any additional information below.
@robpike
Copy link
Contributor

robpike commented Jul 27, 2012

Comment 1:

Labels changed: added priority-soon, removed priority-triage.

Owner changed to @robpike.

Status changed to Accepted.

@rsc
Copy link
Contributor

rsc commented Sep 12, 2012

Comment 2:

Labels changed: added go1.1.

@robpike
Copy link
Contributor

robpike commented Oct 6, 2012

Comment 4:

This issue was closed by revision bcccad4.

Status changed to Fixed.

@rsc rsc added this to the Go1.1 milestone Apr 14, 2015
@rsc rsc removed the go1.1 label Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
@rsc rsc unassigned robpike Jun 22, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants