Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0035834 | Openbravo ERP | A. Platform | public | 2017-04-25 15:55 | 2017-05-29 17:43 | |||||||
Reporter | alostale | |||||||||||
Assigned To | alostale | |||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | 3.0PR17Q3 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | caristu | |||||||||||
OBNetwork customer | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0035834: platform modules fail in CI | |||||||||||
Description | CI for platform modules is failing in org.openbravo.client.application.test.MenuTemplateTest.testApplication (see [1]). With the following error: java.lang.IllegalStateException: freemarker.template.TemplateModelException: get(navigationBarComponents) failed on instance of org.openbravo.client.application.MainLayoutComponent at org.openbravo.client.kernel.freemarker.FreemarkerTemplateProcessor.processTemplate(FreemarkerTemplateProcessor.java:69) at org.openbravo.client.kernel.freemarker.FreemarkerTemplateProcessor.processTemplate(FreemarkerTemplateProcessor.java:48) at org.openbravo.client.kernel.BaseTemplateProcessor.process(BaseTemplateProcessor.java:60) ... Caused by: java.lang.IllegalStateException: Exception when creating component E918C30CA7DB434AA854720F4FCA32A4 at org.openbravo.client.application.NavigationBarComponentGenerator.generateComponent(NavigationBarComponentGenerator.java:138) at org.openbravo.client.application.NavigationBarComponentGenerator.generateNavigationBarComponents(NavigationBarComponentGenerator.java:92) at org.openbravo.client.application.NavigationBarComponentGenerator.getDynamicNavigationBarComponents(NavigationBarComponentGenerator.java:76) at org.openbravo.client.application.MainLayoutComponent.getNavigationBarComponents(MainLayoutComponent.java:47) Caused by: 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:692) at org.jboss.weld.injection.FieldInjectionPoint.inject(FieldInjectionPoint.java:136) [1] https://ci.openbravo.com/job/mod-simple/12411/testReport/ [^] | |||||||||||
Steps To Reproduce | See CI for platform modules (ie. https://ci.openbravo.com/job/mod-simple/12411/testReport/ [^]) | |||||||||||
Proposed Solution | This problem started after login refactor project (0035553). It seems to be caused because there are 2 different instances of bean manager which are not able to properly create contexts for Dependent scope. The solution is to change test infrastructure to force to use the same manager. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2017-04-25 15:55 | alostale | New Issue | ||||||||||
2017-04-25 15:55 | alostale | Assigned To | => platform | |||||||||
2017-04-25 15:55 | alostale | Modules | => Core | |||||||||
2017-04-25 15:55 | alostale | Triggers an Emergency Pack | => No | |||||||||
2017-04-25 15:56 | alostale | Relationship added | related to 0035553 | |||||||||
2017-04-25 15:56 | alostale | Assigned To | platform => alostale | |||||||||
2017-04-25 15:56 | alostale | Review Assigned To | => caristu | |||||||||
2017-04-25 16:00 | hgbot | Checkin | ||||||||||
2017-04-25 16:00 | hgbot | Note Added: 0096159 | ||||||||||
2017-04-25 16:00 | hgbot | Status | new => resolved | |||||||||
2017-04-25 16:00 | hgbot | Resolution | open => fixed | |||||||||
2017-04-25 16:00 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/a157881ce09679dfddc16ccf6eb4e610fba13683 [^] | |||||||||
2017-04-25 16:43 | alostale | Note Added: 0096161 | ||||||||||
2017-04-28 08:16 | caristu | Note Added: 0096246 | ||||||||||
2017-04-28 08:16 | caristu | Status | resolved => closed | |||||||||
2017-04-28 08:16 | caristu | Fixed in Version | => 3.0PR17Q3 | |||||||||
2017-05-29 17:43 | hudsonbot | Checkin | ||||||||||
2017-05-29 17:43 | hudsonbot | Note Added: 0096906 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|