File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes UISelectMany and EvaluationException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "UISelectMany and EvaluationException" Watch "UISelectMany and EvaluationException" New topic

UISelectMany and EvaluationException

Daniel Gee
Ranch Hand

Joined: Aug 29, 2003
Posts: 202
I found that if I use UISelectMany, users' multiple selections from a list box will be in an Object[].

But, I got a runtime error: "EvaluationException: Error getting property 'dataFile' from bean of type actions.FileManagementBean: java.lang.NullPointerException'

I have the getter and setter for the property 'dataFile' in my backing bean. In my JSP, I create a list box:

And this is my backing bean:
I agree. Here's the link:
subject: UISelectMany and EvaluationException
It's not a secret anymore!