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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030485
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminorhave not tried2015-08-03 16:272015-09-15 13:03
ReportershuehnerView Statuspublic 
Assigned Tomtaal 
PriorityimmediateResolutionfixedFixed in VersionRR15Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0030485: Lots of errors in log during tomcat shutdown related to new import entry project

DescriptionI.e. in the try-ret-modules test there are often or always many errors on tomcat shutdown which look related to the new import entry project.

Example:
https://ci.openbravo.com/job/try-ret-modules-pgsql/393/artifact/SANDBOX/tomcat-logs/try-ret-modules-pgsql.log [^]

Note: there are many (like 50) errors with all that content in that
2015-08-03 07:13:04,457 [Import Entry Archiver] ERROR org.openbravo.service.importprocess.ImportEntryArchiveManager - WELD-001303 No active contexts for scope type javax.enterprise.context.Dependent
org.jboss.weld.context.ContextNotActiveException: WELD-001303 No active contexts for scope type javax.enterprise.context.Dependent
    at org.jboss.weld.manager.BeanManagerImpl.getContext(BeanManagerImpl.java:596)
    at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:626)
    at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:653)
    at org.jboss.weld.bean.builtin.InstanceImpl.iterator(InstanceImpl.java:133)
    at org.openbravo.service.importprocess.ImportEntryArchiveManager$ImportEntryArchiveThread.run(ImportEntryArchiveManager.java:151)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

If that bug also happens in Q3 (probably likely) that this should be backported also.
Steps To Reproducerun latest retail for in try-retail and check openbravo.log after the job finishes
TagsNo tags attached.
Attached Fileszip file icon log files.zip [^] (33,315 bytes) 2015-08-26 23:07

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 00307983.0PR15Q3.4 closedRetail Openbravo ERP Lots of errors in log during tomcat shutdown related to new import entry project 
has duplicate defect 00306473.0PR15Q4 closedmtaal Openbravo ERP Prevent NPE in log when shutting down 
has duplicate backport 0030682RR15Q4 closedmtaal Retail Modules Lots of errors in log during tomcat shutdown related to new import entry project 
blocks defect 0030603RR15Q4 closedOrekaria Retail Modules Stabilization: RR15Q4 related issues 

-  Notes
(0079164)
shuehner (administrator)
2015-08-03 16:28

Marking as immediate as probably affects Q3 also which is very close to be published.
(0079636)
mtaal (manager)
2015-08-24 13:43

Other log statement:
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)
(0079764)
hgbot (developer)
2015-08-26 22:46

Repository: erp/devel/pi
Changeset: 69d8860e9335c7a0e3239e8e7e827330180031f8
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon Aug 24 15:20:53 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/69d8860e9335c7a0e3239e8e7e827330180031f8 [^]

Related to issue 30485: Lots of errors in log during tomcat shutdown related to new import entry project

---
M src/org/openbravo/service/importprocess/ImportEntryArchiveManager.java
M src/org/openbravo/service/importprocess/ImportEntryManager.java
---
(0079766)
mtaal (manager)
2015-08-26 23:08

The commit noted in the notes solves the issue. The attached log files.zip shows the result of several try builds, the errors did not re-appear in the try builds.
(0079767)
hudsonbot (developer)
2015-08-27 06:28

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/744a968b3198 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2015-08-03 16:27 shuehner New Issue
2015-08-03 16:27 shuehner Assigned To => Retail
2015-08-03 16:27 shuehner Triggers an Emergency Pack => No
2015-08-03 16:28 shuehner Note Added: 0079164
2015-08-03 16:28 shuehner Priority normal => immediate
2015-08-24 13:43 mtaal Note Added: 0079636
2015-08-24 13:44 mtaal Relationship added has duplicate 0030647
2015-08-24 13:52 mtaal Review Assigned To => alostale
2015-08-24 13:52 mtaal Assigned To Retail => mtaal
2015-08-26 16:40 Orekaria Relationship added blocks 0030603
2015-08-26 22:46 hgbot Checkin
2015-08-26 22:46 hgbot Note Added: 0079764
2015-08-26 23:07 mtaal File Added: log files.zip
2015-08-26 23:07 mtaal Status new => scheduled
2015-08-26 23:08 mtaal Note Added: 0079766
2015-08-26 23:08 mtaal Status scheduled => resolved
2015-08-26 23:08 mtaal Fixed in Version => RR15Q4
2015-08-26 23:08 mtaal Resolution open => fixed
2015-08-27 06:28 hudsonbot Checkin
2015-08-27 06:28 hudsonbot Note Added: 0079767
2015-09-09 09:24 mtaal Relationship replaced has duplicate 0030682
2015-09-09 09:45 marvintm Status resolved => new
2015-09-09 09:45 marvintm Resolution fixed => open
2015-09-09 09:45 marvintm Fixed in Version RR15Q4 =>
2015-09-09 09:45 marvintm Status new => scheduled
2015-09-09 09:45 marvintm Status scheduled => resolved
2015-09-09 09:45 marvintm Resolution open => fixed
2015-09-09 09:46 marvintm Fixed in Version => RR15Q4
2015-09-15 13:03 marvintm Review Assigned To alostale => marvintm
2015-09-15 13:03 marvintm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker