Bug #429 (closed)
Opened 13 years ago
Closed 13 years ago
Calling StatefulServiceInterface.destroy() results in NPE
| Reported by: | jamoore | Owned by: | jamoore |
|---|---|---|---|
| Priority: | critical | Cc: | |
| Sprint: | n.a. | ||
| Total Remaining Time: | n.a. |
Description
The @PreDestroy? method should not be called, but rather the @Remove method.
- Take destroy() out of SSI
- Add close()
This belongs with #418.
Change History (3)
comment:1 Changed 13 years ago by jmoore
- Keywords changed from iteration2 to iteration2, REVIEW
- Status changed from new to assigned
comment:2 Changed 13 years ago by jmoore
- Keywords changed from iteration2, REVIEW to REVIEW
- Milestone changed from 3.0-RC1 to 3.0-Beta1
comment:3 Changed 13 years ago by jmoore
- Resolution set to fixed
- Status changed from assigned to closed
close() does indeed result in destroy() getting called. Closing.
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
r1046 provides the suggested fix. Also removed create() a la #418
Need to check if close() also calls destroy().