Sounds like bugs to me! On 3/8/07, Robert Zeigler <[EMAIL PROTECTED]> wrote:
I was playing around with PageTester in tapestry5. Very cool. Except, pages/components which inject a context asset throw a null pointer exception (somewhere within Request). Classpath assets seem to work fine. I followed the basic documentation on the tapestry-core site, double-checked my package, path, and application name, and they all checked out. Is there something I'm missing, or should I file a bug report? The stack trace looks very similar to the one in tapestry-1279. You can see it just by trying to inject a context asset into, eg, TestPageForForm.javaAlso, use of PageTester and injecting ApplicationStateObjects seems not to work together. Eg: @ApplicationStateObject private MyObject _obj; public getObjName() { return _obj.getName(); } will throw a NPE if you're using PageTester because _obj will be null. Again... is there something I'm missing? Do I need to override some service? Or is this a bug? Thanks, Robert --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Howard M. Lewis Ship TWD Consulting, Inc. Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Apache HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
