Below are some useful find outs
1) When running Junits we have to change the application db credentials to a local db.
2) Set the Run/Debug profile option of Test project to :: -Xms512m -Xmx1280m -XX:MaxPermSize=1024m to avoid permGen memory/space issue.
3) To avoid security errors run the ant command :: ant -f build-analytics.xml secure-workspace from fusionapps/hcm directory.
4) Caused by: java.lang.ExceptionInInitializerError: null --> occurs when an uninitialized object is used.
5) java.lang.AssertionError: No row found to use in test --> Test data provided is wrong, correct it.
6) oracle.apps.common.applicationsTestFramework.service.view.AtfAbstractCrudVOTest.voRowImplHasAttributeMetadata(AtfAbstractCrudVOTest.java:174)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
View object is not found or vo instance is null, to run JUnit.
7) oracle.jbo.InvalidOwnerException: --> VO's are wrongly added in AM data-model tab
8) oracle.security.jps.internal.idstore.xml.idm.IdmXmlIdentityStore persist
SEVERE: /filepath/src/META-INF/jazn-data.xml (Read-only file system)
java.io.FileNotFoundException: /filepath/src/META-INF/jazn-data.xml (Read-only file system)
Check out the jazn-data.xml and continue your work.
1) When running Junits we have to change the application db credentials to a local db.
2) Set the Run/Debug profile option of Test project to :: -Xms512m -Xmx1280m -XX:MaxPermSize=1024m to avoid permGen memory/space issue.
3) To avoid security errors run the ant command :: ant -f build-analytics.xml secure-workspace from fusionapps/hcm directory.
4) Caused by: java.lang.ExceptionInInitializerError: null --> occurs when an uninitialized object is used.
5) java.lang.AssertionError: No row found to use in test --> Test data provided is wrong, correct it.
6) oracle.apps.common.applicationsTestFramework.service.view.AtfAbstractCrudVOTest.voRowImplHasAttributeMetadata(AtfAbstractCrudVOTest.java:174)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
View object is not found or vo instance is null, to run JUnit.
7) oracle.jbo.InvalidOwnerException: --> VO's are wrongly added in AM data-model tab
8) oracle.security.jps.internal.idstore.xml.idm.IdmXmlIdentityStore persist
SEVERE: /filepath/src/META-INF/jazn-data.xml (Read-only file system)
java.io.FileNotFoundException: /filepath/src/META-INF/jazn-data.xml (Read-only file system)
Check out the jazn-data.xml and continue your work.