Have just updated from GitHub source to Axelor Open Suite 6.1.0, ran « gradlew generateCode », « gradlew -x test build » and copied resulting WAR file to deployment directory. Now, as soon as I log in, I get the error
Cannot invoke method getEnterpriseCommunication() on null object
and can get no further. Anyone else had this problem?
I’m facing the same problem when migrating from Open Suite 6.0.9 to 6.1.1.
FYI, after requesting support, a member answered that migration script is only for licenced user.
The migration script is thousands of lines long!! It contains database updates that presumably are too awkward to be handled by Hibernate.
If the application is open-source, then how can they legally justify withholding this script? Sounds like it needs taking up with Axelor senior management.
Glad that worked for you! But the script they gave me is almost 6000 lines long, and adds, drops and alters masses of tables and constraints. Much of it seemed superfluous, because when I ran it the output showed that it was e.g. adding constraints that already existed, so maybe that was duplicating what Hibernate had already effected automatically. I take it you ran your script on an existing, populated, database from a pre-6.1.0 instance?
Some feedback for other readers:
I applied the list of update by changing id with the corresponding value found in base_app table. Check the column « code » to help identifiying the id.
It solved the getEnterpiseCommunication() error.
In my case, I started from a database used with v6.0.9 and reused with v6.0.16.
Unfortunatly, upgrade is still failling after fixing app id : now I got a new error message : « Cannot invoke method getEnableAppBuilder() on null object ».