Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030406
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2015-07-22 10:562015-08-20 23:16
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisiondcf8b6e81b7b
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toinigosanchez
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0030406: NPE when stopping Tomcat if there are no ImportEntry services available

DescriptionWhen 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)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0029766RR15Q3 closedmtaal Retail Modules Retail Operations Buffer: store all transactions in operations table before processing 

-  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
Powered by Mantis Bugtracker