Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0053215 | Openbravo ERP | Z. Others | public | 2023-08-14 15:25 | 2023-08-17 12:37 | |||||||
Reporter | aferraz | |||||||||||
Assigned To | fermin_gascon | |||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | PR23Q4 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | caristu | |||||||||||
OBNetwork customer | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | pi | |||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0053215: ReducedTranslationExportTests test failure | |||||||||||
Description | The problem is in the test ReducedTranslationExportTests when calling org.openbravo.service.db.CallProcess.callProcess() This method requires now Weld to be initiated in order to execute extension hooks. The stacktrace of executing this test is the following: java.lang.IllegalStateException: java.lang.NullPointerException at org.openbravo.service.db.CallProcess.callProcess(CallProcess.java:223) at org.openbravo.service.db.CallProcess.call(CallProcess.java:121) at org.openbravo.service.db.CallProcess.call(CallProcess.java:97) at org.openbravo.service.db.CallProcess.call(CallProcess.java:255) at org.openbravo.test.reducedtranslation.ReducedTranslationExportTests.doVerifyLanguageIfNotPreviouslyDoneBefore(ReducedTranslationExportTests.java:68) at org.openbravo.test.reducedtranslation.ReducedTranslationExportTests.exportReducedTranslation(ReducedTranslationExportTests.java:56) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at org.jboss.arquillian.junit.Arquillian$StatementLifecycleExecutor.invoke(Arquillian.java:378) at org.jboss.arquillian.container.test.impl.execution.ClientBeforeAfterLifecycleEventExecuter.execute(ClientBeforeAfterLifecycleEventExecuter.java:88) at org.jboss.arquillian.container.test.impl.execution.ClientBeforeAfterLifecycleEventExecuter.on(ClientBeforeAfterLifecycleEventExecuter.java:57) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86) at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:90) at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:83) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86) at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95) at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:69) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86) at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95) at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:133) at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:105) at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeClass(EventTestRunnerAdaptor.java:89) at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:163) at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:350) at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:54) at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:177) at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:115) at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) Caused by: java.lang.NullPointerException at org.openbravo.base.weld.WeldUtils.getStaticInstanceBeanManager(WeldUtils.java:55) at org.openbravo.base.weld.WeldUtils.getInstances(WeldUtils.java:149) at org.openbravo.base.weld.WeldUtils.getInstancesSortedByPriority(WeldUtils.java:174) at org.openbravo.service.db.CallProcess.getHooks(CallProcess.java:299) at org.openbravo.service.db.CallProcess.callProcess(CallProcess.java:218) | |||||||||||
Steps To Reproduce | See the following CI job: https://builds.openbravo.com/view/modules/job/mod-translations/1367/ [^] | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2023-08-14 15:25 | aferraz | New Issue | ||||||||||
2023-08-14 15:25 | aferraz | Assigned To | => Triage Platform Conn | |||||||||
2023-08-14 15:25 | aferraz | Modules | => Core | |||||||||
2023-08-14 15:25 | aferraz | Regression introduced in release | => pi | |||||||||
2023-08-14 15:25 | aferraz | Triggers an Emergency Pack | => No | |||||||||
2023-08-14 15:25 | aferraz | Relationship added | caused by 0050364 | |||||||||
2023-08-14 15:53 | adrianromero | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=26642#r26642 | |||||||||
2023-08-14 15:57 | adrianromero | Description Updated | bug_revision_view_page.php?rev_id=26644#r26644 | |||||||||
2023-08-14 15:57 | adrianromero | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=26645#r26645 | |||||||||
2023-08-17 12:36 | hgbot | Resolution | open => fixed | |||||||||
2023-08-17 12:36 | hgbot | Status | new => resolved | |||||||||
2023-08-17 12:36 | hgbot | Fixed in Version | => PR23Q4 | |||||||||
2023-08-17 12:36 | hgbot | Note Added: 0153583 | ||||||||||
2023-08-17 12:37 | caristu | Review Assigned To | => caristu | |||||||||
2023-08-17 12:37 | caristu | Status | resolved => closed | |||||||||
2023-08-17 12:37 | caristu | Assigned To | Triage Platform Conn => fermin_gascon | |||||||||
2023-08-17 12:37 | caristu | Note Added: 0153585 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|