This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EvaluationException: Cannot get value for expression

 
Charles McGuire
Ranch Hand
Posts: 99
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Jim Egerton
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic