- 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 JobsEmailDeliveryMessageBean () {
// Call super constructor
- super("jms/jjobs-queue-factory", "jms/jjobs-email-queue"); //NOI18N
+ super();
// Init mailer instance
this.mailer = new JobsMailer();
*/
public JobsAdminUserSessionBean () {
// Call super constructor
- super();
+ super("jms/jjobs-queue-factory", "jms/jjobs-email-queue"); //NOI18N
}
@Override
*/
public JobsUserSessionBean () {
// Call super constructor
- super();
+ super("jms/jjobs-queue-factory", "jms/jjobs-email-queue"); //NOI18N
}
@Override
*/
public JobsUserEmailChangeSessionBean () {
// Call super constructor
- super();
+ super("jms/jjobs-queue-factory", "jms/jjobs-email-queue"); //NOI18N
}
@Override
*/
public JobsUserRegistrationSessionBean () {
// Call super constructor
- super();
+ super("jms/jjobs-queue-factory", "jms/jjobs-email-queue"); //NOI18N
}
@Override
*/
public JobsResendLinkSessionBean () {
// Call super constructor
- super();
+ super("jms/jjobs-queue-factory", "jms/jjobs-email-queue"); //NOI18N
}
@Override