Skip to main content

.WebServiceException: Method Parameter foo cannot be null

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2009-12-22

Recently I migrated my application from jboss5.1 to Glassfish 3.1.2. Despite other problems I`ve found, now I cannot pass a null parameter to my web method anymore. And it was not a problem in Jboss. What should I do? Is there a flag to allow null parameter through my web melhod.
(My application uses icefaces3.0.1 and JSF 2.0; the WS is a EJB project, also in the same server for now) tks

error: Method Parameter: toDate cannot be null. This is BP 1.1 R2211 violation.