Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0056921 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2024-10-29 11:44 | 2024-10-29 11:45 | |||||||
Reporter | AugustoMauch | View Status | public | |||||||||
Assigned To | Triage Platform Base | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0056921: generate.entities.quick does not detect data origin type changes | |||||||||||
Description | When the data origin type of a table changes (i.e. from Table to HQL Query), the generate.entities.quick does not detect the change, and as a consequence the entities are not regenerated, resulting in a failed build: generate.entities.quick: init: compile.src.gen: [copy] Copying 61 files to /srv/ci/workspace/pos2-inc-pgsql/build/classes generate.entities.quick: [java] 1520 [main] INFO org.openbravo.base.gen.GenerateEntitiesTask - Model has not changed since last run, not re-generating entities ... BUILD FAILED /srv/ci/workspace/pos2-inc-pgsql/modules/org.openbravo.core2/build.xml:54: org.openbravo.base.exception.OBException: java.lang.NullPointerException at org.openbravo.base.session.SessionFactoryController.initialize(SessionFactoryController.java:186) at org.openbravo.dal.core.DalLayerInitializer.initialize(DalLayerInitializer.java:86) at org.openbravo.dal.core.DalInitializingTask.execute(DalInitializingTask.java:115) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) 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 java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99) at org.apache.tools.ant.Task.perform(Task.java:350) at org.apache.tools.ant.Target.execute(Target.java:449) at org.apache.tools.ant.Target.performTasks(Target.java:470) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1391) at org.apache.tools.ant.Project.executeTarget(Project.java:1364) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1254) at org.apache.tools.ant.Main.runBuild(Main.java:830) at org.apache.tools.ant.Main.startAnt(Main.java:223) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101) Caused by: java.lang.NullPointerException at org.hibernate.metamodel.internal.AttributeFactory.determineSingularAssociationAttributeType(AttributeFactory.java:645) at org.hibernate.metamodel.internal.AttributeFactory.determineAttributeMetadata(AttributeFactory.java:520) at org.hibernate.metamodel.internal.AttributeFactory.buildAttribute(AttributeFactory.java:92) at org.hibernate.metamodel.internal.MetadataContext.wrapUp(MetadataContext.java:263) at org.hibernate.metamodel.internal.MetamodelImpl.initialize(MetamodelImpl.java:275) at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:319) at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:471) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:728) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:746) at org.openbravo.base.session.SessionFactoryController.initialize(SessionFactoryController.java:177) ... 19 more | |||||||||||
Steps To Reproduce | See above | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Issue History | |||
Date Modified | Username | Field | Change |
2024-10-29 11:44 | AugustoMauch | New Issue | |
2024-10-29 11:44 | AugustoMauch | Assigned To | => Triage Platform Base |
2024-10-29 11:44 | AugustoMauch | Modules | => Core |
2024-10-29 11:44 | AugustoMauch | Triggers an Emergency Pack | => No |
2024-10-29 11:45 | shuehner | Issue Monitored: shuehner |
Copyright © 2000 - 2009 MantisBT Group |