I just spent 3 hours tracking a NullPointerException which occured during
deployment of an ejb-jar.xml (Orion 1.5.2 Windows 2000, JDK 1.3.1).  For the
benefit of everyone else:

If you get a NullPointerException without any other messages from orion
during deployment, check to make sure that any bean entities which are
referenced from deployed beans are also deployed.

For example (EJB2.0 CMP), if you have UserEntityBean which references
AddressEntity, as in:

class UserEntityBean ... {
  public abstract AddressEntity getAddress();
  public abstract void setAddress(AddressEntity address);
}

Make sure that you have also deployed AddressEntity bean in ejb-jar.xml The
same goes for orion-ejb-jar.xml.  Any beans that you reference which are not
deployed might cause a NullPointerException to occur during deployment.

-AP_


Reply via email to