Hell to recurring PropertyNotFoundException Problem

Recurring PropertyNotFoundException Problem

Environment:

Window 2003 Server

Netbean 5.5 with Visual web 5.5

Assumption:

Not a novice

Problem:

IDE log says:

Caused by: javax.el.ELException: javax.faces.el.EvaluationException: javax.el.ELException: javax.faces.el.PropertyNotFoundException: addressFormBeanat javax.faces.component.ValueExpressionValueBindingAdapter.getValue(ValueExpressi onValueBindingAdapter.java:76) at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:402)

This is rubbish! 慳ddressFormBean? is in my backing bean as it has been for the last two days. Yesterday, it was in the 慜utline?under the root of the page but not any more, although it is still in the backing bean with get/setter methods. I return to it today to find the aforementioned error.

My question is whether there is a meta or hidden file interfering with the pages and/or backing bean or is this a bug? How frustrating to spend a whole day trying to find the real cause to no avail. Last time it happened, I deleted and recreated the page and backing bean. Now I know why one needs lots of coffee (java logo) to work with java.

[1239 byte] By [cokneylonesoftneera] at [2007-11-26 15:59:23]
# 1
Hi!I'n not sure that it helps, but try to 'Clean and Build Project', then close it and reopen. There was such bug and there was such workaround for it. Maybe it helps.Thanks,Roman.
-Grif-a at 2007-7-8 22:20:37 > top of Java-index,Development Tools,Java Tools...
# 2

Thanks Roman,

I tried your recommendation to no avail, but I found the problem elsewhere. Let me explain in case anyone is interested:

Original Problem:

IDE log says:

Caused by: javax.el.ELException: javax.faces.el.EvaluationException: javax.el.ELException: javax.faces.el.PropertyNotFoundException: addressFormBean at javax.faces.component.ValueExpressionValueBindingAdapter.getValue(ValueExpressi onValueBindingAdapter.java:76) at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:402)

The actual cause was found in the super class AddressEntity of AddressFormBean where

class AddressFormBean extends AddressEntity{}

There was an error in AddressEntity, and after correcting the error, the problem with addressFormBean PropertyNotFoundException was solved. Weird world of software development!!

cokneylonesoftneera at 2007-7-8 22:20:37 > top of Java-index,Development Tools,Java Tools...