0 Replies Latest reply on Apr 23, 2005 2:04 PM by dlmiles

    NullPointerException during Duke's Bank login.


      If I login with incorrect details I get back a error HTML page, when using the correct details 200/j2ee I get the following.

      There is no mention of "ejb/customerControllerCould" in the source, maybe something in the source is appending the "Could" to the name ?

      JNDI view shows that it does not exist in the Global JNDI namespace.

      18:54:07,124 INFO [STDOUT] Debug: hack - Creating bean manager.
      18:54:12,138 INFO [STDOUT] Debug: Unable to lookup home: java:comp/env/ejb/customerControllerCould not dereference object
      18:54:17,145 INFO [STDOUT] Debug: Unable to lookup home: java:comp/env/ejb/accountControllerCould not dereference object
      18:54:22,152 INFO [STDOUT] Debug: Unable to lookup home: java:comp/env/ejb/txControllerCould not dereference object
      18:54:22,156 INFO [STDOUT] Debug: hack - added customerBean to request
      18:54:22,157 INFO [STDOUT] Debug: /main
      18:54:22,157 INFO [STDOUT] Debug: Forwarding to template.
      18:54:22,242 ERROR [StandardWrapper[/bank:jsp]] Servlet.service() for servlet jsp threw exception
       at com.sun.ebank.web.CustomerBean.getAccounts(CustomerBean.java:107)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.apache.commons.el.ArraySuffix.evaluate(ArraySuffix.java:314)