Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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?