FastTags in production mode does not work

Bug #504973 reported by dunsun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
play framework
Status tracked in 1.0
1.0
Fix Released
Undecided
Unassigned
1.1
Fix Committed
Undecided
Unassigned

Bug Description

package tags;

import groovy.lang.*;
import java.util.*;
import java.io.*;

import models.MovieImage;

import play.Logger;
import play.mvc.Controller;
import play.mvc.Scope.RenderArgs;
import play.mvc.results.RenderTemplate;
import play.templates.*;
import play.templates.Template.*;

@FastTags.Namespace("myspace")
public class Fast extends FastTags {

       public static void _movieImageTypeSelector(Map<?, ?> args, Closure body,
               out.println("upps");
       }
}

Template execution error (In /app/views/Movies/editImage.html around line 38)
Execution error occured in template /app/views/Movies/editImage.html.
Exception raised was NullPointerException : Cannot get property 'Fast'
on null object.

play.exceptions.TemplateExecutionException: Cannot get property 'Fast'
on null object
       at play.templates.Template.throwException(Template.java:266)
       at play.templates.Template.render(Template.java:231)
       at play.mvc.results.RenderTemplate.<init>(RenderTemplate.java:22)
       at play.mvc.Controller.renderTemplate(Controller.java:388)
       at play.mvc.Controller.render(Controller.java:420)
       at controllers.Movies.editImage(Movies.java:318)
       at play.utils.Java.invokeStatic(Java.java:129)
       at play.mvc.ActionInvoker.invoke(ActionInvoker.java:138)
       at Invocation.HTTP Request(Play!)
Caused by: java.lang.NullPointerException: Cannot get property 'Fast'
on null object
       at /app/views/Movies/editImage.html.(line:38)
       at play.templates.Template.render(Template.java:208)
       ... 7 more

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.