Exception: source is null for getProperty(null, “agent”)

heretical

New Member
I am just learning how to use tapestry and I keep coming across the following error\[code\]Exception: source is null for getProperty(null, "agent") ognl.OgnlRuntime.getProperty(OgnlRuntime.java:2203)\[/code\]This is the code in my html page\[code\]<tr> <td valign="center" align="right" height="30"><span class="label1"> <span key="agentDeletionSalesParentActivityType" />&nbsp;:&nbsp;</span></td> <td valign="center" align="left" height="30"><select jwcid="agentDeletionSalesParentActivityType@ActivityTypePropertySelection" regions="ognl:{activity.agent.region}" emptyOption="true" disabled="ognl:disabled" value="http://stackoverflow.com/questions/12818156/ognl:parentActivityType" /></td> </tr> <tr> <td valign="center" align="right" height="30"><span class="label1"> <span key="agentDeletionSalesChildActivityType" />&nbsp;:&nbsp;</span></td> <td valign="center" align="left" height="30"><select jwcid="agentDeletionSalesChildActivityType" regions="ognl:{activity.agent.region}" emptyOption="true" disabled="ognl:disabled" value="http://stackoverflow.com/questions/12818156/ognl:childActivityType" parent="component:agentDeletionSalesParentActivityType" /></td> </tr>\[/code\]This is my java code\[code\]@Persistpublic abstract ActivityType getParentActivityType();public abstract void setParentActivityType(ActivityType parent);@Persistpublic abstract ActivityType getChildActivityType();public abstract void setChildActivityType(ActivityType child);@Component(id="agentDeletionSalesChildActivityType", type="ActivityTypePropertySelection")public abstract ActivityTypePropertySelection getChildActivityPropertySelection();\[/code\]If you need more code i will be happy to put it up (kept it small so as not to pile code into the page), can anyone see why this is returning this exception?
 
Back
Top