I'm trying to use SimpleError for the first time. I've got an instance
created, but when Stripes is working on getting the message for display,
something weird happens. The code in SimpleMessage that tries to override
the "getMessageTemplate" function is instead ending up in
ScopedLocalizableError's getMessageTemplate function, and it in turn throws
an exception because it can't find a message catalog entry.

I have no idea how this can be happening to me, but it is.  I'm using
Stripes 1.5.2 with JDK 6. Here's the relevant part of the stack trace:

        at
net.sourceforge.stripes.validation.ScopedLocalizableError.getMessageTemplate(ScopedLocalizableError.java:164)
        at
net.sourceforge.stripes.action.SimpleMessage.getMessage(SimpleMessage.java:91)
        at
net.sourceforge.stripes.validation.SimpleError.getMessage(SimpleError.java:102)
        at
net.sourceforge.stripes.tag.ErrorsTag.doEndTag(ErrorsTag.java:349)

By my reading of the source code that should be completely impossible.
However, there's the stack trace.

Ideas?

-- 
Turtle, turtle, on the ground,
Pink and shiny, turn around.
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to