Deuce1058 / yardi

backup of exlipse projects
0 stars 0 forks source link

com.yardi.QSECOFR.EditUniqueTokensService.doGet blows up with NullPointerException #81

Closed Deuce1058 closed 4 years ago

Deuce1058 commented 4 years ago

Attempting to get the user profile bean from the session when it is not in the session. EditUniqueTokensService needs to get a reference from JNDI when the user profile bean is not in the session and release the bean when the user requests another page from views/uniqueTokens_CRUD.html

Deuce1058 commented 4 years ago

com.yardi.ejb.UserProfileBean is stateful but com.yardi.QSECOFR.EditUniqueTokensService does not rely on any state in bean. com.yardi.ejb.UniqueTokensBean is stateless.

Just get a reference to these beans from JNDI every time. EditUniqueTokensService is a utility and will be needed infrequently

Deuce1058 commented 4 years ago

updateTokens() add logging. Cant tell whats going on here

Deuce1058 commented 4 years ago

see d5796856ea7e84e1460101bd8f19e5be2797f984