- 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 FinancialsEmailDeliveryMessageBean () {
// Call super constructor
- super("jms/jfinancials-queue-factory", "jms/jfinancials-email-queue"); //NOI18N
+ super();
// Init mailer instance
this.mailer = new FinancialsMailer();
*/
public FinancialsAdminUserSessionBean () {
// Call super constructor
- super();
+ super("jms/jfinancials-queue-factory", "jms/jfinancials-email-queue"); //NOI18N
}
@Override
*/
public FinancialsUserSessionBean () {
// Call super constructor
- super();
+ super("jms/jfinancials-queue-factory", "jms/jfinancials-email-queue"); //NOI18N
}
@Override
*/
public FinancialsUserEmailChangeSessionBean () {
// Call super constructor
- super();
+ super("jms/jfinancials-queue-factory", "jms/jfinancials-email-queue"); //NOI18N
}
@Override
*/
public FinancialsUserRegistrationSessionBean () {
// Call super constructor
- super();
+ super("jms/jfinancials-queue-factory", "jms/jfinancials-email-queue"); //NOI18N
}
@Override
*/
public FinancialsResendLinkSessionBean () {
// Call super constructor
- super();
+ super("jms/jfinancials-queue-factory", "jms/jfinancials-email-queue"); //NOI18N
}
@Override