Wednesday, November 27, 2013

null pointer exception
































Hi I have developed an enterprise application, consisting of an ejb module, web app and also an enterprise client(desktop). I have designed a two fields form that will post to the database. Here’s how my app looks like: EJB container consists of an entity class, as stateful session bean and also a remote bean for accessing it as remote client which consists of my business methods. Then i also did a web service from the session bean i created.
































From my client, i have created a web service client to communicate with the web service deployed on the ejb module. i have also dragged the method that i want to use to my form that i want to send data with. Im getting a null pointer exception.
































It points to this stack trace
































stack trace : private static Registration register(java.lang.String name, java.lang.String surname) {































com.dariunhouse.ws.RegistrationWSSS port = service.getRegistrationWSSSPort();































return port.register(name, surname);































































No comments:

Post a Comment