Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||||||||||||||||
View Issue Details | |||||||||||||||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||||||||||||||||
0054490 | Openbravo ERP | Y. DBSourceManager | public | 2024-01-29 13:42 | 2024-03-06 18:06 | ||||||||||||||||||||||||||||
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 | Fixed in Version | PR24Q2 | |||||||||||||||||||||||||||||||
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 | 0054490: 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-29 13:42 | shuehner | New Issue | |||||||||||||||||||||||||||||||
2024-01-29 13:42 | shuehner | Assigned To | => Triage Platform Base | ||||||||||||||||||||||||||||||
2024-01-29 13:42 | shuehner | Modules | => Core | ||||||||||||||||||||||||||||||
2024-01-29 13:42 | shuehner | Triggers an Emergency Pack | => No | ||||||||||||||||||||||||||||||
2024-01-29 13:42 | shuehner | Relationship added | blocks 0054449 | ||||||||||||||||||||||||||||||
2024-01-29 13:44 | shuehner | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=27414#r27414 | ||||||||||||||||||||||||||||||
2024-01-29 16:20 | hgbot | Note Added: 0159887 | |||||||||||||||||||||||||||||||
2024-01-29 16:21 | shuehner | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=27415#r27415 | ||||||||||||||||||||||||||||||
2024-01-31 14:09 | shuehner | Status | new => scheduled | ||||||||||||||||||||||||||||||
2024-01-31 14:09 | shuehner | Note Added: 0160011 | |||||||||||||||||||||||||||||||
2024-02-05 14:50 | hgbot | Note Added: 0160261 | |||||||||||||||||||||||||||||||
2024-03-06 18:05 | hgbot | Note Added: 0161782 | |||||||||||||||||||||||||||||||
2024-03-06 18:05 | hgbot | Note Added: 0161783 | |||||||||||||||||||||||||||||||
2024-03-06 18:06 | hgbot | Resolution | open => fixed | ||||||||||||||||||||||||||||||
2024-03-06 18:06 | hgbot | Status | scheduled => closed | ||||||||||||||||||||||||||||||
2024-03-06 18:06 | hgbot | Fixed in Version | => PR24Q2 | ||||||||||||||||||||||||||||||
2024-03-06 18:06 | hgbot | Note Added: 0161784 | |||||||||||||||||||||||||||||||
2024-03-06 18:06 | hgbot | Note Added: 0161785 | |||||||||||||||||||||||||||||||
2024-07-17 10:07 | shuehner | Relationship added | causes 0056039 | ||||||||||||||||||||||||||||||
2024-10-10 11:42 | shuehner | Relationship added | related to 0056729 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|