Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Java Local Development Environments Advanced Tooling Finishing TreeStory

Shoko Ishigaki
Shoko Ishigaki
21,826 Points

Presenting the story

I got "Bummer: Looks like you didn't present the TreeStory (3)" for this challenge even though it works in IntelliJ IDEA.

I do output the story in the run method in Prompter class.

public void run(Template tmpl) {
        List<String> results = null;
        try {
            results = promptForWords(tmpl);
        } catch (IOException e) {
            System.out.println("There was a problem prompting for words");

and the output.html looks like this.

Please enter a story template: 
Please enter the first prompt: Please enter the second prompt: Testing null and then null

Can someone help me pass this code challenge?