I have a problem with a LocalInterface. My EJB 2.0 CMP-Bean has a finder Method to get a Collection of Objects. When I execute the finderMethod in my Home Interface I get a Collection of LocalObjects. I can get the PrimaryKey from them. but I can't call the getEJBLocalHome(). The method crashes with an Exception with the message "null". So I think my LocalInterfaces don't have a LocalHome or is there another possibility? How can I fix this error?
posted 13 years ago
An exception with the message "null" is going to be a NullPointerException. This would lead me to believe that the LocalHome is null. What application server are you using? Are you making these calls from inside the container? If not, well then there is no LocalHome! [ February 28, 2003: Message edited by: Dana Hanna ]