Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0054526 | Openbravo ERP | Y. DBSourceManager | public | 2024-01-29 13:42 | 2024-03-08 13:34 | |||||||
Reporter | shuehner | |||||||||||
Assigned To | Triage Platform Base | |||||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | PR24Q1.1 | Fixed in Version | PR24Q1.1 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
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 | 0054526: update.database fails with jdk21 | |||||||||||
Description | Running update.database with jdk21 fails with following error: [java] 24523 [main] INFO org.openbravo.ddlutils.task.AlterDatabaseDataAll - Executing script postscript-PostgreSql.sql [java] 24535 [main] INFO org.apache.ddlutils.platform.PGStandardBatchEvaluator - Executed 10 SQL command(s) successfully in 12 ms [java] 25413 [main] ERROR org.apache.commons.betwixt.io.AbstractBeanWriter - [MethodExpression] Cannot evaluate method public default java.lang.Object java.util.List.getFirst() [java] java.lang.reflect.InvocationTargetException: null [java] at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118) ~[?:?] [java] at java.lang.reflect.Method.invoke(Method.java:580) ~[?:?] [java] at org.apache.commons.betwixt.expression.MethodExpression.evaluate(MethodExpression.java:62) [commons-betwixt-0.8.jar:0.8] [java] at org.apache.commons.betwixt.io.AbstractBeanWriter.writeElementContent(AbstractBeanWriter.java:940) [commons-betwixt-0.8.jar:0.8] [java] at org.apache.commons.betwixt.io.AbstractBeanWriter.writeElement(AbstractBeanWriter.java:756) [commons-betwixt-0.8.jar:0.8] [java] at org.apache.commons.betwixt.io.AbstractBeanWriter.writeBean(AbstractBeanWriter.java:391) [commons-betwixt-0.8.jar:0.8] [java] at org.apache.commons.betwixt.io.AbstractBeanWriter.writeBean(AbstractBeanWriter.java:245) [commons-betwixt-0.8.jar:0.8] [java] at org.apache.commons.betwixt.io.AbstractBeanWriter.write(AbstractBeanWriter.java:146) [commons-betwixt-0.8.jar:0.8] [java] at org.apache.commons.betwixt.io.BeanWriter.write(BeanWriter.java:211) [commons-betwixt-0.8.jar:0.8] [java] at org.apache.ddlutils.io.DatabaseIO.write(DatabaseIO.java:549) [dbsourcemanager.jar:?] [java] at org.openbravo.ddlutils.process.DBUpdater.checkFormalChanges(DBUpdater.java:311) [dbsourcemanager.jar:?] [java] at org.openbravo.ddlutils.process.DBUpdater.update(DBUpdater.java:141) [dbsourcemanager.jar:?] [java] at org.openbravo.ddlutils.task.AlterDatabaseDataAll.doExecute(AlterDatabaseDataAll.java:59) [dbsourcemanager.jar:?] [java] at org.openbravo.ddlutils.task.BaseDatabaseTask.execute(BaseDatabaseTask.java:56) [dbsourcemanager.jar:?] [java] at org.openbravo.ddlutils.task.AlterDatabaseJava.main(AlterDatabaseJava.java:63) [dbsourcemanager.jar:?] | |||||||||||
Steps To Reproduce | backoffice context with jdk21 Run update.database alternatively: - run try (backoffice) with jdk21 - check build output of try-upgrade-pgsql job - specifically it running update.database - Note: Job nor update.database fails (need to check output) alternatively: - run dbsm junit tests (with jdk21) They show 7 tests failing all related to this issue | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2024-01-31 14:09 | shuehner | Type | defect => backport | |||||||||
2024-01-31 14:09 | shuehner | Target Version | => PR24Q1 | |||||||||
2024-02-13 13:50 | AugustoMauch | Target Version | PR24Q1 => PR24Q1.1 | |||||||||
2024-03-04 15:25 | hgbot | Note Added: 0161627 | ||||||||||
2024-03-04 15:34 | hgbot | Note Added: 0161628 | ||||||||||
2024-03-08 13:23 | hgbot | Note Added: 0161896 | ||||||||||
2024-03-08 13:23 | hgbot | Note Added: 0161897 | ||||||||||
2024-03-08 13:34 | hgbot | Resolution | open => fixed | |||||||||
2024-03-08 13:34 | hgbot | Status | scheduled => closed | |||||||||
2024-03-08 13:34 | hgbot | Fixed in Version | => PR24Q1.1 | |||||||||
2024-03-08 13:34 | hgbot | Note Added: 0161898 | ||||||||||
2024-03-08 13:34 | hgbot | Note Added: 0161899 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|