Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0030647 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2015-08-24 13:16 | 2015-08-24 13:44 | |||
Reporter | mtaal | View Status | public | |||||
Assigned To | mtaal | |||||||
Priority | normal | Resolution | duplicate | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | 3.0PR15Q4 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | alostale | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0030647: Prevent NPE in log when shutting down | |||||||
Description | When shutting down the application the following NPE's can be seen in the log: 680677 [Import Entry Manager Main] ERROR org.openbravo.service.importprocess.ImportEntryManager - java.lang.NullPointerException at org.openbravo.service.importprocess.ImportEntryManager$ImportEntryManagerThread.run(ImportEntryManager.java:488) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) 640352 [Import Entry Manager Main] ERROR org.openbravo.service.importprocess.ImportEntryManager - java.lang.NullPointerException at org.openbravo.service.importprocess.ImportEntryManager$ImportEntryManagerThread.run(ImportEntryManager.java:488) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) 980678 [Import Entry Manager Main] ERROR org.openbravo.service.importprocess.ImportEntryManager - java.lang.NullPointerException at org.openbravo.service.importprocess.ImportEntryManager$ImportEntryManagerThread.run(ImportEntryManager.java:488) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) 940352 [Import Entry Manager Main] ERROR org.openbravo.service.importprocess.ImportEntryManager - java.lang.NullPointerException at org.openbravo.service.importprocess.ImportEntryManager$ImportEntryManagerThread.run(ImportEntryManager.java:488) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) 1280678 [Import Entry Manager Main] ERROR org.openbravo.service.importprocess.ImportEntryManager - java.lang.NullPointerException at org.openbravo.service.importprocess.ImportEntryManager$ImportEntryManagerThread.run(ImportEntryManager.java:488) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) 1240386 [Import Entry Manager Main] ERROR org.openbravo.service.importprocess.ImportEntryManager - java.lang.NullPointerException at org.openbravo.service.importprocess.ImportEntryManager$ImportEntryManagerThread.run(ImportEntryManager.java:488) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) 1580709 [Import Entry Manager Main] ERROR org.openbravo.service.importprocess.ImportEntryManager - java.lang.NullPointerException at org.openbravo.service.importprocess.ImportEntryManager$ImportEntryManagerThread.run(ImportEntryManager.java:488) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) 1477317 [http-bio-8080-exec-28] INFO org.openbravo.mobile.core.MobileStaticResourceComponent - A new javascript file have been created: 7976e358c9acd6d5c8b3907a7175d4fc_WebPOS | |||||||
Steps To Reproduce | Run retail and enter some tickets, then shut down tomcat. Sometimes the above errors will show up. Is caused by the fact that the import thread is still running while the executorService is already set to null. | |||||||
Proposed Solution | When the executorService is null then leave the running thread. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
2015-08-24 13:16 | mtaal | New Issue | |
2015-08-24 13:16 | mtaal | Assigned To | => mtaal |
2015-08-24 13:16 | mtaal | Modules | => Core |
2015-08-24 13:16 | mtaal | Triggers an Emergency Pack | => No |
2015-08-24 13:16 | mtaal | Review Assigned To | => alostale |
2015-08-24 13:44 | mtaal | Relationship added | duplicate of 0030485 |
2015-08-24 13:44 | mtaal | Status | new => closed |
2015-08-24 13:44 | mtaal | Resolution | open => duplicate |
Copyright © 2000 - 2009 MantisBT Group |