Application crashes on startup

I attached the print screen of app.log, the ScopeUser entity which replaces the Cuba default User and the error i get.
The error came out of the blue and if i go to older versions in git it persists - which makes totally no sense…

Did you encountered this issue?
Thank you in advance guys.

Screen Shot 2017-10-03 at 7.01.40 PM

Screen Shot 2017-10-03 at 7.04.05 PM

Screen Shot 2017-10-03 at 7.04.26 PM


As we see in log, ‘dtype’ column doesn’t exist in sec_user table. It is necessary in case you extending User entity.
CUBA Studio should handle this case and generate update script which adds that column.
Did you run script generation and database update after User was extended?
If yes, could you please attach contents of \modules\core\db folder of your project?

It is not the case, the column exists in sec_user table (91.0K)

So can you successfully run select query from app.log provided on your screenshot via pgAdmin?


Can you reproduce the issue on a small sample project?

Also I would ask you to attach app.log file.

Just to be sure, you can check if …\tomcat\webapps\app-core\META-INF\context.xml points to the correct database.
It is highly unlikely that jdbc driver returns “column doesn’t exist” exception while the column does exist.