Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0030406 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2015-07-22 10:56 | 2015-08-20 23:16 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | dcf8b6e81b7b | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | inigosanchez | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0030406: NPE when stopping Tomcat if there are no ImportEntry services available | |||||||
Description | When trying to stop Tomcat a NPE is thrown in case there are no ImportEntry services available. It is caused by ContextListener trying to stop those services which are null. | |||||||
Steps To Reproduce | -Install a clean pi (without reatail modules) -Start tomcat -Stop tomcat -> See openbravo.log: SEVERE: Exception sending context destroyed event to listener instance of class org.openbravo.service.importprocess.ImportProcessContextListener java.lang.NullPointerException at org.openbravo.service.importprocess.ImportEntryManager.shutdown(ImportEntryManager.java:226) at org.openbravo.service.importprocess.ImportEntryManager$Proxy$_$$_WeldClientProxy.shutdown(ImportEntryManager$Proxy$_$$_WeldClientProxy.java) at org.openbravo.service.importprocess.ImportProcessContextListener.contextDestroyed(ImportProcessContextListener.java:42) at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4245) | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||
|
Notes | |
(0079024) hgbot (developer) 2015-07-22 11:03 |
Repository: erp/devel/pi Changeset: dcf8b6e81b7b01c3c54a37e2780bd43f7720e6a5 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Wed Jul 22 11:02:34 2015 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/dcf8b6e81b7b01c3c54a37e2780bd43f7720e6a5 [^] fixed bug 30406: NPE when stopping Tomcat if no ImportEntry service available Check if ImportEntry service is present before trying to shutdown it --- M src/org/openbravo/service/importprocess/ImportEntryArchiveManager.java M src/org/openbravo/service/importprocess/ImportEntryManager.java --- |
(0079069) inigosanchez (developer) 2015-07-27 10:43 |
Code reviewed and verified in pi@f9a8f174d429 |
(0079502) hudsonbot (developer) 2015-08-20 23:16 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/8c91718397a5 [^] Maturity status: Test |
Issue History | |||
Date Modified | Username | Field | Change |
2015-07-22 10:56 | alostale | New Issue | |
2015-07-22 10:56 | alostale | Assigned To | => platform |
2015-07-22 10:56 | alostale | Modules | => Core |
2015-07-22 10:56 | alostale | Triggers an Emergency Pack | => No |
2015-07-22 10:56 | alostale | Relationship added | related to 0029766 |
2015-07-22 10:57 | alostale | Review Assigned To | => inigosanchez |
2015-07-22 11:03 | hgbot | Checkin | |
2015-07-22 11:03 | hgbot | Note Added: 0079024 | |
2015-07-22 11:03 | hgbot | Status | new => resolved |
2015-07-22 11:03 | hgbot | Resolution | open => fixed |
2015-07-22 11:03 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/dcf8b6e81b7b01c3c54a37e2780bd43f7720e6a5 [^] |
2015-07-22 12:40 | alostale | Assigned To | platform => alostale |
2015-07-27 10:43 | inigosanchez | Note Added: 0079069 | |
2015-07-27 10:43 | inigosanchez | Status | resolved => closed |
2015-08-20 23:16 | hudsonbot | Checkin | |
2015-08-20 23:16 | hudsonbot | Note Added: 0079502 |
Copyright © 2000 - 2009 MantisBT Group |