aspose file tools*
The moose likes JSF and the fly likes EvaluationException: Cannot get value for expression Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "EvaluationException: Cannot get value for expression" Watch "EvaluationException: Cannot get value for expression" New topic
Author

EvaluationException: Cannot get value for expression

Charles McGuire
Ranch Hand

Joined: Jan 18, 2005
Posts: 99
The full meesage is actually:



The bean properties and code portions are down at the end of the message. Now, I know the server has the backing bean. I put a System.out.println statement in the constructor to prove it. When I point my browser to the .jsf page, I can see my output from the constructor of the backing bean on my Tomcat console spew. That tells me it has the bean.

The getAllAgents method is the first method on the .jsp. And yes, I've deleted the application directory and .war file from Tomcat each time I deployed this bugger, which is numbering close to a million.

Other, simpler pages display okay. This one is a little more challenging in that it deals with Lists.

Why can't it load?

From the config file:



From the jsp:



And, most importantly, the offending method in the backing bean. In it's current state you can see where I've hacked at it to try to solve the problem. The System.out.println statements below DO NOT appear in the console. It blows up before it gets to that part.:






Thank you in advance!
[ April 18, 2006: Message edited by: Charles McGuire ]

There's no place like 127.0.0.1
Jim Egerton
Greenhorn

Joined: Jul 23, 2006
Posts: 1
Charles - I've run into what seems to be a similar problem. I can see that backing bean is instantiated, but I get an error accessing it with an expression. Did you ever get anywhere with resolving this?

thanks,
jim
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: EvaluationException: Cannot get value for expression