- need to provide email queues for these EJBs as they will attempt to call
sendEmail() which would then throw a NPE:
----------------------------
Caused by: java.lang.NullPointerException
at org.mxchange.jfinancials.database.BaseFinancialsDatabaseBean.sendEmail(BaseFinancialsDatabaseBean.java:555)
at org.mxchange.jusercore.model.user.register.FinancialsUserRegistrationSessionBean.registerUser(FinancialsUserRegistrationSessionBean.java:208)
----------------------------
However, I will expand sendEmail() a bit to verify that the field session is
really there and not run in such ugly NPE.
Signed-off-by: Roland Häder <roland@mxchange.org>
*/
public AddressbookEmailDeliveryMessageBean () {
// Call super constructor
- super("jms/addressbook-queue-factory", "jms/addressbook-email-queue"); //NOI18N
+ super();
// Init mailer instance
this.mailer = new AddressbookMailer();
*/
public AddressbookAdminUserSessionBean () {
// Call super constructor
- super();
+ super("jms/addressbook-queue-factory", "jms/addressbook-email-queue"); //NOI18N
}
@Override
*/
public AddressbookUserSessionBean () {
// Call super constructor
- super();
+ super("jms/addressbook-queue-factory", "jms/addressbook-email-queue"); //NOI18N
}
@Override
*/
public AddressbookUserEmailChangeSessionBean () {
// Call super constructor
- super();
+ super("jms/addressbook-queue-factory", "jms/addressbook-email-queue"); //NOI18N
}
@Override
*/
public AddressbookUserRegistrationSessionBean () {
// Call super constructor
- super();
+ super("jms/addressbook-queue-factory", "jms/addressbook-email-queue"); //NOI18N
}
@Override
*/
public AddressbookResendLinkSessionBean () {
// Call super constructor
- super();
+ super("jms/addressbook-queue-factory", "jms/addressbook-email-queue"); //NOI18N
}
@Override