Exported LUA Config file from one LUA server and uploading as an import on a new server does not work.
Error in the LUA logs:
...
2022-10-12 11:18:13,952 [http-nio-7070-exec-3] ERROR server.DAOClientUserSettings [] - Unknown exception while saving the specified Location profile. com.symantec.lua.mdl.server.LocationProfile@xxxxx <name>
com.symantec.lua.util.exception.systemexceptions.LuaDataException: java.lang.IllegalStateException: org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: com.symantec.lua.mdl.server.BaseServer
at com.symantec.lua.dao.server.DAOClientUserSettings.saveLocationProfile(Unknown Source) [classes/:?]
at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:577) ~[?:?]
...
2022-10-12 11:18:13,974 [http-nio-7070-exec-3] ERROR importexport.UserSettingsConfigHandler [] - ****Error Importing LocationProfile: xxxxxx****
com.symantec.lua.util.exception.systemexceptions.LuaDataException: java.lang.IllegalStateException: org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: com.symantec.lua.mdl.server.BaseServer
at com.symantec.lua.dao.server.DAOClientUserSettings.saveLocationProfile(Unknown Source) ~[classes/:?]
at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:577) ~[?:?]
...
2022-10-12 11:18:14,036 [http-nio-7070-exec-3] ERROR productcatalog.DAOProductCatalog [] - Unknown exception while getAllExistingLanguages
com.symantec.lua.util.exception.systemexceptions.LuaDataException: java.lang.IllegalStateException: org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: com.symantec.lua.mdl.server.BaseServer
at com.symantec.lua.dao.productcatalog.DAOProductCatalog.getAllExistingLanguages(Unknown Source) [classes/:?]
at com.symantec.lua.dao.productcatalog.DAOProductCatalog.getProductCatalogFromDB(Unknown Source) [classes/:?]
at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) ~[?:?]
...
2022-10-12 11:18:14,039 [http-nio-7070-exec-3] ERROR productcatalog.DAOProductCatalog [] - Unknown exception while getProductCatalogFromDB
com.symantec.lua.util.exception.systemexceptions.LuaDataException: LuaException [UserMessage[
ERROR:EXCEPTION_FINDING_CONFIGURATION:
]
Nested Exception is:
[ java.lang.IllegalStateException ] org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: com.symantec.lua.mdl.server.BaseServer
java.lang.IllegalStateException: org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: com.symantec.lua.mdl.server.BaseServer
at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:146)
at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:157)
at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1423)
...
2022-10-12 11:18:14,069 [http-nio-7070-exec-3] ERROR event.DAOEvent [] - Unknown exception while saving the specified Event. com.symantec.lua.mdl.event.LuaEvent@xxxxx
com.symantec.lua.util.exception.systemexceptions.LuaDataException: java.lang.IllegalStateException: org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: com.symantec.lua.mdl.server.BaseServer
at com.symantec.lua.dao.event.DAOEvent.createEvent(Unknown Source) [classes/:?]
at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:577) ~[?:?]
...
2022-10-12 11:18:14,069 [http-nio-7070-exec-3] ERROR importexport.DownloadDistributionScheduleConfigHandler [] - ****Error Importing LuaSchedule : <name>****
com.symantec.lua.util.exception.systemexceptions.LuaDataException: LuaException [UserMessage[
ERROR:EXCEPTION_FINDING_CONFIGURATION:
]
Nested Exception is:
[ java.lang.IllegalStateException ] org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: com.symantec.lua.mdl.server.BaseServer
java.lang.IllegalStateException: org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: com.symantec.lua.mdl.server.BaseServer
at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:146)
at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:157)
at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1423)
Release : 2.3.10-2.3.11
This is a known issue.
There's an issue when generating some exports, specifically with the "Client Settings" portion of the LUA config. It is fixed in LUA 2.3.12.
In some cases, we have a workaround that may help if access to the old LUA where you generated the backup from is available. Follow these steps before generating a new config export.
Create a new LUA export by click on the Export button, then click "Export configuration recovery file". Import this new file into the new LUA.