- 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 PizzaEmailDeliveryMessageBean () {
// Call super constructor
- super("jms/pizzaservice-queue-factory", "jms/pizzaservice-email-queue"); //NOI18N
+ super();
// Init mailer instance
this.mailer = new PizzaMailer();
*/
public PizzaAdminUserSessionBean () {
// Call super constructor
- super();
+ super("jms/pizzaservice-queue-factory", "jms/pizzaservice-email-queue"); //NOI18N
}
@Override
*/
public PizzaUserSessionBean () {
// Call super constructor
- super();
+ super("jms/pizzaservice-queue-factory", "jms/pizzaservice-email-queue"); //NOI18N
}
@Override
*/
public PizzaUserEmailChangeSessionBean () {
// Call super constructor
- super();
+ super("jms/pizzaservice-queue-factory", "jms/pizzaservice-email-queue"); //NOI18N
}
@Override
*/
public PizzaUserRegistrationSessionBean () {
// Call super constructor
- super();
+ super("jms/pizzaservice-queue-factory", "jms/pizzaservice-email-queue"); //NOI18N
}
@Override
*/
public PizzaResendLinkSessionBean () {
// Call super constructor
- super();
+ super("jms/pizzaservice-queue-factory", "jms/pizzaservice-email-queue"); //NOI18N
}
@Override