Hi Richard,

> I was playing around with stripes layouts and ran into a null pointer
> exception.
> [...]
> If I change the path to a relative style:

There's the problem. Relative paths don't work with Stripes layout.
Always use absolute paths.

> Is this expected behavior?

Yes, although it was not detected in the code.
This issue has been fixed in Stripes 1.5.1:

http://www.stripesframework.org/jira/browse/STS-591

And is also clearly documentated (see "Use absolute path names"):

http://www.stripesframework.org/display/stripes/Layout+Reuse

Hope that helps.

Cheers,
Freddy
http://www.stripesbook.com

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to