jQuery in Action, 3rd edition
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
Author

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: UISelectMany and EvaluationException
 
It's not a secret anymore!