How to resolve --- [ +/- ] Exception: Unable to read OGNL expression 'parsed OGNL expression' ----
Hi, Getting the following exception for the select jwcid=cities/select in Home.html The code in the Home.page is given below component id=city type=PropertySelection binding name=model value=cities / binding name=value value=city/ /component changes related to city in Home.java - public IPropertySelectionModel getCities(){ if (getCountry().equals(US)) { return new StringPropertySelectionModel(new String[] { New York, Boston, Chicago }); } else if(getCountry().equals(China)){ return new StringPropertySelectionModel(new String[] { Beijing, Shanghai }); } else if(getCountry().equals(UK)){ return new StringPropertySelectionModel(new String[] { London , Birmingham }); } else { return new StringPropertySelectionModel(new String[] { Santiago, Arica }); } } Exception - - [ +/- ] Exception: Unable to read OGNL expression 'parsed OGNL expression' of $DropDown_0@3c1[Home]: cities org.apache.tapestry.BindingException binding:ExpressionBinding[Home cities] location: context:/WEB-INF/Home.page, line 14, column 45 9component id=country type=Autocompleter 10 binding name=value value=country/ 11 binding name=model value=countryAutoCompleteModel/ 12 /component 13 component id=city type=PropertySelection 14binding name=model value=cities / 15 binding name=value value=city/ 16/component 17 /page-specification Can anybody suggest what needs to be done in this case? -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-resolve-Exception-Unable-to-read-OGNL-expression-parsed-OGNL-expression-tp4315469p4315469.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
What causes Unable to read OGNL expression 'parsed OGNL expression' errors?
Could someone tell me what causes this error: Unable to read OGNL expression 'parsed OGNL expression' ... ognl.NoSuchPropertyException: $BasePage_0.rawDataFeedList I'm a little confused becuase I'm getting this exception toss when it looks like I have everything setup correctly. I am using Tapestry 4 with Java 1.5. My Home.html file has the following: tr jwcid=@For source=ognl:rawDataFeedList value=ognl:rawDataFeed element=tr . and my java file looks like this: public abstract class Home extends BasePage { public final static String PAGE_NAME = Home; public abstract RawDataFeed getRawDataFeed(); public abstract void setRawDataFeed(RawDataFeed aRawDataFeed); @InjectPage(RawDataFeedAddPage.PAGE_NAME) public abstract RawDataFeedAddPage getRawDataFeedAddPage(); @InjectPage(RawDataFeedInspectorPage.PAGE_NAME) public abstract RawDataFeedInspectorPage getRawDataFeedInspector(); public ListRawDataFeed getRawDataFeedList() { return getFeedManager().getManagedFeeds(); } public IPage addFeedAction() { RawDataFeed rawDataFeed = new RawDataFeed(); RawDataFeedAddPage page = getRawDataFeedAddPage(); page.setRawDataFeed(rawDataFeed); return page; } public IPage viewRawDataFeed(String aName) { RawDataFeedInspectorPage rawDataFeedInspector = getRawDataFeedInspector(); RawDataFeed rawDataFeed = getFeedManager().rawDataFeedWithName(aName); rawDataFeedInspector.setRawDataFeed(rawDataFeed.deepClone()); return rawDataFeedInspector; } public void deleteFeedAction(String aName) { getFeedManager().deleteFeedWithName(aName); try { getFeedManager().save(); } catch (ApplicationException e) { e.printStackTrace(); } } private FeedManager getFeedManager() { return Application.sharedInstance().getFeedManager(); } } Looks to me like I have a getRawDataFeedList method, which should map to ognl:rawDataFeedList. I've tried adding a setter method (though I don't need one) but nothing changed. Can someone explain what I'm missing? Thanks, Dave
Re: What causes Unable to read OGNL expression 'parsed OGNL expression' errors?
Just taking a quick stab at it... It says it can't find property $BasePage_0.rawDataFeedList, so it looks like maybe Tapestry is using an enhanced version of BasePage, not your Home page. Does your page specification XML file point to your class or to Tapestry's BasePage? On 10/7/06, Dave Rathnow [EMAIL PROTECTED] wrote: Could someone tell me what causes this error: Unable to read OGNL expression 'parsed OGNL expression' ... ognl.NoSuchPropertyException: $BasePage_0.rawDataFeedList I'm a little confused becuase I'm getting this exception toss when it looks like I have everything setup correctly. I am using Tapestry 4 with Java 1.5. My Home.html file has the following: tr jwcid=@For source=ognl:rawDataFeedList value=ognl:rawDataFeed element=tr . and my java file looks like this: public abstract class Home extends BasePage { public final static String PAGE_NAME = Home; public abstract RawDataFeed getRawDataFeed(); public abstract void setRawDataFeed(RawDataFeed aRawDataFeed); @InjectPage(RawDataFeedAddPage.PAGE_NAME) public abstract RawDataFeedAddPage getRawDataFeedAddPage(); @InjectPage(RawDataFeedInspectorPage.PAGE_NAME) public abstract RawDataFeedInspectorPage getRawDataFeedInspector(); public ListRawDataFeed getRawDataFeedList() { return getFeedManager().getManagedFeeds(); } public IPage addFeedAction() { RawDataFeed rawDataFeed = new RawDataFeed(); RawDataFeedAddPage page = getRawDataFeedAddPage(); page.setRawDataFeed(rawDataFeed); return page; } public IPage viewRawDataFeed(String aName) { RawDataFeedInspectorPage rawDataFeedInspector = getRawDataFeedInspector(); RawDataFeed rawDataFeed = getFeedManager().rawDataFeedWithName(aName); rawDataFeedInspector.setRawDataFeed(rawDataFeed.deepClone()); return rawDataFeedInspector; } public void deleteFeedAction(String aName) { getFeedManager().deleteFeedWithName(aName); try { getFeedManager().save(); } catch (ApplicationException e) { e.printStackTrace(); } } private FeedManager getFeedManager() { return Application.sharedInstance().getFeedManager(); } } Looks to me like I have a getRawDataFeedList method, which should map to ognl:rawDataFeedList. I've tried adding a setter method (though I don't need one) but nothing changed. Can someone explain what I'm missing? Thanks, Dave
RE: What causes Unable to read OGNL expression 'parsed OGNL expression' errors?
Hi, What is in your Home.page file ? Probably missing property name=rawDataFeed there? Or you might want to inject the property using annotation Good luck -Original Message- From: Dave Rathnow [mailto:[EMAIL PROTECTED] Sent: Saturday, October 07, 2006 3:53 PM To: Tapestry users Subject: What causes Unable to read OGNL expression 'parsed OGNL expression' errors? Could someone tell me what causes this error: Unable to read OGNL expression 'parsed OGNL expression' ... ognl.NoSuchPropertyException: $BasePage_0.rawDataFeedList I'm a little confused becuase I'm getting this exception toss when it looks like I have everything setup correctly. I am using Tapestry 4 with Java 1.5. My Home.html file has the following: tr jwcid=@For source=ognl:rawDataFeedList value=ognl:rawDataFeed element=tr . and my java file looks like this: public abstract class Home extends BasePage { public final static String PAGE_NAME = Home; public abstract RawDataFeed getRawDataFeed(); public abstract void setRawDataFeed(RawDataFeed aRawDataFeed); @InjectPage(RawDataFeedAddPage.PAGE_NAME) public abstract RawDataFeedAddPage getRawDataFeedAddPage(); @InjectPage(RawDataFeedInspectorPage.PAGE_NAME) public abstract RawDataFeedInspectorPage getRawDataFeedInspector(); public ListRawDataFeed getRawDataFeedList() { return getFeedManager().getManagedFeeds(); } public IPage addFeedAction() { RawDataFeed rawDataFeed = new RawDataFeed(); RawDataFeedAddPage page = getRawDataFeedAddPage(); page.setRawDataFeed(rawDataFeed); return page; } public IPage viewRawDataFeed(String aName) { RawDataFeedInspectorPage rawDataFeedInspector = getRawDataFeedInspector(); RawDataFeed rawDataFeed = getFeedManager().rawDataFeedWithName(aName); rawDataFeedInspector.setRawDataFeed(rawDataFeed.deepClone()); return rawDataFeedInspector; } public void deleteFeedAction(String aName) { getFeedManager().deleteFeedWithName(aName); try { getFeedManager().save(); } catch (ApplicationException e) { e.printStackTrace(); } } private FeedManager getFeedManager() { return Application.sharedInstance().getFeedManager(); } } Looks to me like I have a getRawDataFeedList method, which should map to ognl:rawDataFeedList. I've tried adding a setter method (though I don't need one) but nothing changed. Can someone explain what I'm missing? Thanks, Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What causes Unable to read OGNL expression 'parsed OGNL expression' errors?
Hmmmmaybe I'm more confused than I think. Is the .page file necessary with Tapestry 4 and java 1.5. I didn't create one and things seemed to be working fine until I moved the project from my work PC to my home. Does every Tapestry 4 component have to have a .page, .html, and .java file? - Original Message - From: DJ Gredler [EMAIL PROTECTED] To: Tapestry users users@tapestry.apache.org Sent: Saturday, October 07, 2006 7:57 AM Subject: Re: What causes Unable to read OGNL expression 'parsed OGNL expression' errors? Just taking a quick stab at it... It says it can't find property $BasePage_0.rawDataFeedList, so it looks like maybe Tapestry is using an enhanced version of BasePage, not your Home page. Does your page specification XML file point to your class or to Tapestry's BasePage? On 10/7/06, Dave Rathnow [EMAIL PROTECTED] wrote: Could someone tell me what causes this error: Unable to read OGNL expression 'parsed OGNL expression' ... ognl.NoSuchPropertyException: $BasePage_0.rawDataFeedList I'm a little confused becuase I'm getting this exception toss when it looks like I have everything setup correctly. I am using Tapestry 4 with Java 1.5. My Home.html file has the following: tr jwcid=@For source=ognl:rawDataFeedList value=ognl:rawDataFeed element=tr . and my java file looks like this: public abstract class Home extends BasePage { public final static String PAGE_NAME = Home; public abstract RawDataFeed getRawDataFeed(); public abstract void setRawDataFeed(RawDataFeed aRawDataFeed); @InjectPage(RawDataFeedAddPage.PAGE_NAME) public abstract RawDataFeedAddPage getRawDataFeedAddPage(); @InjectPage(RawDataFeedInspectorPage.PAGE_NAME) public abstract RawDataFeedInspectorPage getRawDataFeedInspector(); public ListRawDataFeed getRawDataFeedList() { return getFeedManager().getManagedFeeds(); } public IPage addFeedAction() { RawDataFeed rawDataFeed = new RawDataFeed(); RawDataFeedAddPage page = getRawDataFeedAddPage(); page.setRawDataFeed(rawDataFeed); return page; } public IPage viewRawDataFeed(String aName) { RawDataFeedInspectorPage rawDataFeedInspector = getRawDataFeedInspector(); RawDataFeed rawDataFeed = getFeedManager().rawDataFeedWithName(aName); rawDataFeedInspector.setRawDataFeed(rawDataFeed.deepClone()); return rawDataFeedInspector; } public void deleteFeedAction(String aName) { getFeedManager().deleteFeedWithName(aName); try { getFeedManager().save(); } catch (ApplicationException e) { e.printStackTrace(); } } private FeedManager getFeedManager() { return Application.sharedInstance().getFeedManager(); } } Looks to me like I have a getRawDataFeedList method, which should map to ognl:rawDataFeedList. I've tried adding a setter method (though I don't need one) but nothing changed. Can someone explain what I'm missing? Thanks, Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What causes Unable to read OGNL expression 'parsed OGNL expression' errors?
On 10/7/06, Dave Rathnow [EMAIL PROTECTED] wrote: Hmmmmaybe I'm more confused than I think. Is the .page file necessary with Tapestry 4 and java 1.5. I didn't create one and things seemed to be working fine until I moved the project from my work PC to my home. Does every Tapestry 4 component have to have a .page, .html, and .java file? No, I just assumed you had a .page file. Maybe you can whip up a small .page file real quick to see if it can find the property when you specify a page class explicitly. This page documents the page class resolution process: http://tapestry.apache.org/tapestry4/UsersGuide/page-class.html
RE: Hibernate and binding Exception - Unable to read OGNL expression 'parsed OGNL expression'
I'm not sure why I couldn't get the exception logged but for those who care, the problem was a Hibernate configuration problem on my end. eh-cache couldn't be found (I assumed jboss came with this). I used the below link to remedy the situation: http://jira.jboss.com/jira/browse/JBAS-2868 -Original Message- From: Damian Sobieralski [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 2:55 PM To: Tapestry users Subject: Hibernate and binding Exception - Unable to read OGNL expression 'parsed OGNL expression' I'm a complete newbie when it comes to Tapestry. So forgive my inexperience here. I'm having a problem taking my Hello World Tapestry Application to do a simple Hibernate thing. A good chance I'm doing something way wrong so I hope a kind soul can point out where I am making my error. I Have a Home.html that looks like: html head /head body This is a test Applicationp Word = span jwcid=insertWordThis text will be replaced by Tapesty/span p Opportunity = 'span jwcid=insertNameThis text will be replaced by Tapesty/span' /body /html Home.page: ?xml version=1.0 encoding=UTF-8? !DOCTYPE page-specification PUBLIC -//Apache Software Foundation//Tapestry Specification 3.0//EN http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd; !-- generated by Spindle, http://spindle.sourceforge.net -- page-specification class=edu.asu.clas.TapestryHibernate.Home descriptionadd a description/description component id=insertWord type=Insert binding name=value expression=word/ /component component id=insertName type=Insert binding name=value expression=name/ /component Home.java: (This is the troublesome spot): package edu.asu.clas.TapestryHibernate; import org.apache.log4j.*; import org.apache.tapestry.html.BasePage; import org.hibernate.*; import org.hibernate.cfg.*; import edu.asu.clas.TapestryHibernate.Opportunity; import java.util.List; import java.util.ListIterator; public class Home extends BasePage { Session session = null; static SessionFactory sessionFactory = null; public String getWord() { Category.getInstance(Home.class).error(Returning Hubba); return hubba; } public String getName() { initSessionFactory(); return AA; } private void initSessionFactory() { try { if (sessionFactory == null) { // This step will read hibernate.cfg.xml and prepare hibernate for use // sessionFactory = new Configuration().configure().buildSessionFactory(); Category.getInstance(Home.class).error(I'm ready to create a configuration); Configuration cfg = new Configuration(); Category.getInstance(Home.class).error(I created a configuration); Category.getInstance(Home.class).error(I'm ready to configure the configuration); cfg.configure(hibernate.cfg.xml); Category.getInstance(Home.class).error(I configured the configuration); Category.getInstance(Home.class).error(I'm ready to build the sessionFactory); sessionFactory = cfg.buildSessionFactory(); Category.getInstance(Home.class).error(I built the sessionFactory); } } catch(Exception e) { Category.getInstance(Home.class).error(Transaction- + e.getMessage()); } } } --- Here's the problem. In getName(), if I comment out the call to initSessionFactory() all runs as expected. If I make a call to initSessionFactory() from getName I get the error: org.apache.tapestry.BindingException Unable to read OGNL expression 'parsed OGNL expression' of [EMAIL PROTECTED]: name binding: ExpressionBinding[Home name] location: context:/WEB-INF/Home.page, line 16, column 44 11component id=insertWord type=Insert 12binding name=value expression=word/ 13/component 14 15component id=insertName type=Insert 16binding name=value expression=name/ 17/component 18 19/page-specification With line 16 highlighted. I'm using log4j but not all of the error lines are logged. The log looks as follows: 14:41:01,927 INFO [TomcatDeployer] deploy, ctxPath=/TapestryHibernate, warUrl=.../tmp/deploy/tmp216TapestryHibernate.war/ 14:41:04,416 INFO [ApplicationServlet] Initialized application servlet 'TapestryHibernate': 791 millis to create HiveMind Registry, 2,337 millis overall. 14:41:17,204 ERROR [Home] Returning Hubba 14:41:17,291 ERROR [Home] I'm ready to create a configuration 14:41:17,293 ERROR [Home] I created a configuration 14:41:17,294 ERROR [Home] I'm ready to configure the configuration 14:41:17,295 INFO [Configuration] configuring from resource: hibernate.cfg.xml 14:41:17,296 INFO [Configuration] Configuration resource: hibernate.cfg.xml 14:41:17,319 INFO [Configuration] Reading mappings from resource: edu/asu/clas
Hibernate and binding Exception - Unable to read OGNL expression 'parsed OGNL expression'
I'm a complete newbie when it comes to Tapestry. So forgive my inexperience here. I'm having a problem taking my Hello World Tapestry Application to do a simple Hibernate thing. A good chance I'm doing something way wrong so I hope a kind soul can point out where I am making my error. I Have a Home.html that looks like: html head /head body This is a test Applicationp Word = span jwcid=insertWordThis text will be replaced by Tapesty/span p Opportunity = 'span jwcid=insertNameThis text will be replaced by Tapesty/span' /body /html Home.page: ?xml version=1.0 encoding=UTF-8? !DOCTYPE page-specification PUBLIC -//Apache Software Foundation//Tapestry Specification 3.0//EN http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd; !-- generated by Spindle, http://spindle.sourceforge.net -- page-specification class=edu.asu.clas.TapestryHibernate.Home descriptionadd a description/description component id=insertWord type=Insert binding name=value expression=word/ /component component id=insertName type=Insert binding name=value expression=name/ /component Home.java: (This is the troublesome spot): package edu.asu.clas.TapestryHibernate; import org.apache.log4j.*; import org.apache.tapestry.html.BasePage; import org.hibernate.*; import org.hibernate.cfg.*; import edu.asu.clas.TapestryHibernate.Opportunity; import java.util.List; import java.util.ListIterator; public class Home extends BasePage { Session session = null; static SessionFactory sessionFactory = null; public String getWord() { Category.getInstance(Home.class).error(Returning Hubba); return hubba; } public String getName() { initSessionFactory(); return AA; } private void initSessionFactory() { try { if (sessionFactory == null) { // This step will read hibernate.cfg.xml and prepare hibernate for use // sessionFactory = new Configuration().configure().buildSessionFactory(); Category.getInstance(Home.class).error(I'm ready to create a configuration); Configuration cfg = new Configuration(); Category.getInstance(Home.class).error(I created a configuration); Category.getInstance(Home.class).error(I'm ready to configure the configuration); cfg.configure(hibernate.cfg.xml); Category.getInstance(Home.class).error(I configured the configuration); Category.getInstance(Home.class).error(I'm ready to build the sessionFactory); sessionFactory = cfg.buildSessionFactory(); Category.getInstance(Home.class).error(I built the sessionFactory); } } catch(Exception e) { Category.getInstance(Home.class).error(Transaction- + e.getMessage()); } } } --- Here's the problem. In getName(), if I comment out the call to initSessionFactory() all runs as expected. If I make a call to initSessionFactory() from getName I get the error: org.apache.tapestry.BindingException Unable to read OGNL expression 'parsed OGNL expression' of [EMAIL PROTECTED]: name binding:ExpressionBinding[Home name] location: context:/WEB-INF/Home.page, line 16, column 44 11 component id=insertWord type=Insert 12 binding name=value expression=word/ 13 /component 14 15 component id=insertName type=Insert 16 binding name=value expression=name/ 17 /component 18 19 /page-specification With line 16 highlighted. I'm using log4j but not all of the error lines are logged. The log looks as follows: 14:41:01,927 INFO [TomcatDeployer] deploy, ctxPath=/TapestryHibernate, warUrl=.../tmp/deploy/tmp216TapestryHibernate.war/ 14:41:04,416 INFO [ApplicationServlet] Initialized application servlet 'TapestryHibernate': 791 millis to create HiveMind Registry, 2,337 millis overall. 14:41:17,204 ERROR [Home] Returning Hubba 14:41:17,291 ERROR [Home] I'm ready to create a configuration 14:41:17,293 ERROR [Home] I created a configuration 14:41:17,294 ERROR [Home] I'm ready to configure the configuration 14:41:17,295 INFO [Configuration] configuring from resource: hibernate.cfg.xml 14:41:17,296 INFO [Configuration] Configuration resource: hibernate.cfg.xml 14:41:17,319 INFO [Configuration] Reading mappings from resource: edu/asu/clas/TapestryHibernate/Opportunity.hbm.xml 14:41:17,412 INFO [HbmBinder] Mapping class: edu.asu.clas.TapestryHibernate.Opportunity - opportunity 14:41:17,415 INFO [Configuration] Configured SessionFactory: researchopps 14:41:17,416 ERROR [Home] I configured the configuration 14:41:17,417 ERROR [Home] I'm ready to build the sessionFactory 14:41:17,418 INFO [Configuration] processing extends queue 14:41:17,419 INFO [Configuration] processing collection mappings 14:41:17,419 INFO [Configuration] processing association property references 14:41:17,420 INFO [Configuration
Re: Unable to read OGNL expression 'parsed OGNL expression'
Hi again Yes, exactly what Jesse said. After hitting my head against the wall for two hours I realized I was not initializing my model inside that listener. On 6/2/06, Jesse Kuhnert [EMAIL PROTECTED] wrote: Perhaps a message sort of like source is null for expression blah blah? On 6/1/06, Bryan Lewis [EMAIL PROTECTED] wrote: Hard to say without seeing the java code and page spec. It looks like the page class should have a property model that's returned by a getModel() method. (That's the object you're calling the bean?) I'm guessing you should have something like: public abstract class MyPage ... { public abstract MyBean getModel(); } and public class MyBean ... { public String getWord() { // this getter shouldn't be abstract return word; } } Is there more to the error message? You could put some log messages in the various getter methods to see if they're being called, or whether there's some other problem after they're called like a NPE. Rui Pacheco wrote: Hi all I have a couple of webpages on my web application where this error occurrs and I cant find out whats causing. Apparently these pages are no different from the other pages that work correctly. When I call my page, it complains of the getter method of one of my form elements. I checked the class I use as a model and both the variable and the getter and setter are there. I checked the HTML tag and it seems to be ok. The bean that corresponds the template also has a getter and setter for that field, both public and abstract. This is the offending line. Could you give me a hand, please? tdtextarea jwcid=[EMAIL PROTECTED] value=ognl:model.word validators=validators:required,maxLength=150 cols=50 rows=15 class=itemsarea/textarea/td - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jesse Kuhnert Tacos/Tapestry, team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. -- Cumprimentos, Rui Pacheco
Re: Unable to read OGNL expression 'parsed OGNL expression'
Hard to say without seeing the java code and page spec. It looks like the page class should have a property model that's returned by a getModel() method. (That's the object you're calling the bean?) I'm guessing you should have something like: public abstract class MyPage ... { public abstract MyBean getModel(); } and public class MyBean ... { public String getWord() { // this getter shouldn't be abstract return word; } } Is there more to the error message? You could put some log messages in the various getter methods to see if they're being called, or whether there's some other problem after they're called like a NPE. Rui Pacheco wrote: Hi all I have a couple of webpages on my web application where this error occurrs and I cant find out whats causing. Apparently these pages are no different from the other pages that work correctly. When I call my page, it complains of the getter method of one of my form elements. I checked the class I use as a model and both the variable and the getter and setter are there. I checked the HTML tag and it seems to be ok. The bean that corresponds the template also has a getter and setter for that field, both public and abstract. This is the offending line. Could you give me a hand, please? tdtextarea jwcid=[EMAIL PROTECTED] value=ognl:model.word validators=validators:required,maxLength=150 cols=50 rows=15 class=itemsarea/textarea/td - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Unable to read OGNL expression 'parsed OGNL expression'
Perhaps a message sort of like source is null for expression blah blah? On 6/1/06, Bryan Lewis [EMAIL PROTECTED] wrote: Hard to say without seeing the java code and page spec. It looks like the page class should have a property model that's returned by a getModel() method. (That's the object you're calling the bean?) I'm guessing you should have something like: public abstract class MyPage ... { public abstract MyBean getModel(); } and public class MyBean ... { public String getWord() { // this getter shouldn't be abstract return word; } } Is there more to the error message? You could put some log messages in the various getter methods to see if they're being called, or whether there's some other problem after they're called like a NPE. Rui Pacheco wrote: Hi all I have a couple of webpages on my web application where this error occurrs and I cant find out whats causing. Apparently these pages are no different from the other pages that work correctly. When I call my page, it complains of the getter method of one of my form elements. I checked the class I use as a model and both the variable and the getter and setter are there. I checked the HTML tag and it seems to be ok. The bean that corresponds the template also has a getter and setter for that field, both public and abstract. This is the offending line. Could you give me a hand, please? tdtextarea jwcid=[EMAIL PROTECTED] value=ognl:model.word validators=validators:required,maxLength=150 cols=50 rows=15 class=itemsarea/textarea/td - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jesse Kuhnert Tacos/Tapestry, team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind.