It's not a secret anymore!*
The moose likes JSF and the fly likes NullPointerException in selectManyCheckbox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "NullPointerException in selectManyCheckbox" Watch "NullPointerException in selectManyCheckbox" New topic
Author

NullPointerException in selectManyCheckbox

merve klug
Greenhorn

Joined: Oct 07, 2009
Posts: 17


i delete the upper codes and write lines which is below



i can see the contents of lists.

but i get servlet exception and nullpointer exception

log is here:




how can i debug where is the null pointer?

and any idea to solve the issue would be appreciated.

thanks in advance.
merve klug
Greenhorn

Joined: Oct 07, 2009
Posts: 17
issue has been resolved. the problem was string list. i used a string array instead of string list so it is ok now.
thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: NullPointerException in selectManyCheckbox
 
Similar Threads
paging problem
commandLink in table -> javax.servlet.ServletException: Can't find bundle
Problem with JPA under TOMCAT
Simple Example for Enums and selectOneRadio
Setting select items programatically