NullPointerException in "Create New.." command of custom filter conditions

Hello CUBA Team,

after the update to Cuba 6.9.1 I cannot create new custom conditions for any filters.
The option “Crea nuova…” (“Create new…”)

filter-screenshot

raises the following NullPointerException:

12:24:22.698 ERROR com.haulmont.cuba.web.log.AppLog - Exception in com.haulmont.cuba.web.toolkit.ui.CubaTree: 
com.vaadin.event.ListenerMethod$MethodException: Invocation of method itemClick in com.haulmont.cuba.web.gui.components.WebTree$$Lambda$244/1805027320 failed.
	at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:530) ~[vaadin-server-7.7.13.cuba.9.jar:7.7.13.cuba.9]
	at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:200) ~[vaadin-server-7.7.13.cuba.9.jar:7.7.13.cuba.9]
	at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:163) ~[vaadin-server-7.7.13.cuba.9.jar:7.7.13.cuba.9]
	at com.vaadin.server.AbstractClientConnector.fireEvent(AbstractClientConnector.java:1037) ~[vaadin-server-7.7.13.cuba.9.jar:7.7.13.cuba.9]
	at com.vaadin.ui.Tree.changeVariables(Tree.java:511) ~[vaadin-server-7.7.13.cuba.9.jar:7.7.13.cuba.9]
	at com.haulmont.cuba.web.toolkit.ui.CubaTree.changeVariables(CubaTree.java:92) ~[cuba-web-6.9.1.jar:6.9.1]
	at com.vaadin.server.communication.ServerRpcHandler.changeVariables(ServerRpcHandler.java:623) [vaadin-server-7.7.13.cuba.9.jar:7.7.13.cuba.9]
	at com.vaadin.server.communication.ServerRpcHandler.handleInvocation(ServerRpcHandler.java:470) [vaadin-server-7.7.13.cuba.9.jar:7.7.13.cuba.9]
	at com.vaadin.server.communication.ServerRpcHandler.handleInvocations(ServerRpcHandler.java:413) [vaadin-server-7.7.13.cuba.9.jar:7.7.13.cuba.9]
	at com.vaadin.server.communication.ServerRpcHandler.handleRpc(ServerRpcHandler.java:274) [vaadin-server-7.7.13.cuba.9.jar:7.7.13.cuba.9]
	at com.vaadin.server.communication.UidlRequestHandler.synchronizedHandleRequest(UidlRequestHandler.java:90) [vaadin-server-7.7.13.cuba.9.jar:7.7.13.cuba.9]
	at com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:41) [vaadin-server-7.7.13.cuba.9.jar:7.7.13.cuba.9]
	at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1435) [vaadin-server-7.7.13.cuba.9.jar:7.7.13.cuba.9]
	at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:361) [vaadin-server-7.7.13.cuba.9.jar:7.7.13.cuba.9]
	at com.haulmont.cuba.web.sys.CubaApplicationServlet.serviceAppRequest(CubaApplicationServlet.java:312) [cuba-web-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.web.sys.CubaApplicationServlet.service(CubaApplicationServlet.java:203) [cuba-web-6.9.1.jar:6.9.1]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) [servlet-api.jar:na]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [catalina.jar:8.5.23]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.23]
	at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:232) [javamelody-core-1.70.0.jar:1.70.0]
	at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:209) [javamelody-core-1.70.0.jar:1.70.0]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.23]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.23]
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.5.23]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.23]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.23]
	at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:107) [spring-web-4.3.14.RELEASE.jar:4.3.14.RELEASE]
	at org.springframework.web.filter.CompositeFilter.doFilter(CompositeFilter.java:73) [spring-web-4.3.14.RELEASE.jar:4.3.14.RELEASE]
	at com.haulmont.cuba.web.sys.CubaHttpFilter.doFilter(CubaHttpFilter.java:107) [cuba-web-6.9.1.jar:6.9.1]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.23]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.23]
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) [catalina.jar:8.5.23]
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [catalina.jar:8.5.23]
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478) [catalina.jar:8.5.23]
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) [catalina.jar:8.5.23]
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) [catalina.jar:8.5.23]
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650) [catalina.jar:8.5.23]
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [catalina.jar:8.5.23]
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) [catalina.jar:8.5.23]
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803) [tomcat-coyote.jar:8.5.23]
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-coyote.jar:8.5.23]
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) [tomcat-coyote.jar:8.5.23]
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459) [tomcat-coyote.jar:8.5.23]
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:8.5.23]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_171]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_171]
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.5.23]
	at java.lang.Thread.run(Thread.java:748) [na:1.8.0_171]
Caused by: java.lang.NullPointerException: null
	at java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011) ~[na:1.8.0_171]
	at java.util.concurrent.ConcurrentHashMap.putAll(ConcurrentHashMap.java:1084) ~[na:1.8.0_171]
	at com.haulmont.cuba.client.sys.config.ConfigPersisterClientImpl.loadCache(ConfigPersisterClientImpl.java:79) ~[cuba-client-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.client.sys.config.ConfigPersisterClientImpl.getProperty(ConfigPersisterClientImpl.java:60) ~[cuba-client-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.core.config.ConfigGetter.getProperty(ConfigGetter.java:110) ~[cuba-global-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.core.config.ConfigGetter.getProperty(ConfigGetter.java:95) ~[cuba-global-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.core.config.ConfigGetter.invoke(ConfigGetter.java:67) ~[cuba-global-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.core.config.ConfigHandler.invoke(ConfigHandler.java:79) ~[cuba-global-6.9.1.jar:6.9.1]
	at com.sun.proxy.$Proxy323.getGenericFilterColumnsCount(Unknown Source) ~[na:na]
	at com.haulmont.cuba.gui.components.filter.edit.ConditionFrame.initComponents(ConditionFrame.java:69) ~[cuba-gui-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.gui.components.filter.edit.CustomConditionFrame.initComponents(CustomConditionFrame.java:111) ~[cuba-gui-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.gui.components.filter.edit.ConditionFrame.init(ConditionFrame.java:55) ~[cuba-gui-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.gui.components.filter.edit.CustomConditionFrame.init(CustomConditionFrame.java:105) ~[cuba-gui-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.gui.xml.layout.loaders.FrameLoader$FrameLoaderInitTask.execute(FrameLoader.java:271) ~[cuba-gui-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.gui.xml.layout.loaders.ComponentLoaderContext$InitTaskExecutor.run(ComponentLoaderContext.java:266) ~[cuba-gui-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.gui.xml.layout.loaders.ComponentLoaderContext.executeInitTasks(ComponentLoaderContext.java:160) ~[cuba-gui-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.gui.WindowManager.initWrapperFrame(WindowManager.java:1233) ~[cuba-gui-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.gui.WindowManager.createWindow(WindowManager.java:581) ~[cuba-gui-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.gui.WindowManager.openWindow(WindowManager.java:750) ~[cuba-gui-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.web.WebWindowManager.openWindow(WebWindowManager.java:158) ~[cuba-web-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.gui.components.filter.AddConditionHelper._addCondition(AddConditionHelper.java:114) ~[cuba-gui-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.gui.components.filter.AddConditionHelper.lambda$addCondition$0(AddConditionHelper.java:99) ~[cuba-gui-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.web.gui.WebWindow.fireWindowClosed(WebWindow.java:910) ~[cuba-web-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.web.gui.WebWindow.onClose(WebWindow.java:902) ~[cuba-web-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.web.gui.WebWindow.close(WebWindow.java:1199) ~[cuba-web-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.gui.components.AbstractWindow.close(AbstractWindow.java:283) ~[cuba-gui-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.gui.components.filter.addcondition.AddConditionWindow.select(AddConditionWindow.java:132) ~[cuba-gui-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.gui.components.filter.addcondition.AddConditionWindow$1.actionPerform(AddConditionWindow.java:78) ~[cuba-gui-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.web.gui.components.WebTree.lambda$setItemClickAction$1cd57308$1(WebTree.java:254) ~[cuba-web-6.9.1.jar:6.9.1]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_171]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_171]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_171]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_171]
	at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510) ~[vaadin-server-7.7.13.cuba.9.jar:7.7.13.cuba.9]
	... 47 common frames omitted

Is the problem related to the Cuba version?
Do you have any ideas about the solution?
Thank you.

Kind regards,
Nicole

Hi,
Which version of the platform you have upgraded from?

We tried to reproduce the problem but could not.
Probably the application was deployed incorrectly. Try to launch the dropTomcat task before deployment. Or deploy the application to a brand new Tomcat.

Platform 6.9.1.
We get the problem in studio-se-6.9.1.AppImage.
This when we try to open “User Sessions” screen :

18:00:24.032 ERROR com.haulmont.cuba.web.log.AppLog - Exception in com.haulmont.cuba.web.toolkit.ui.CubaMenuBar: 
java.lang.NullPointerException: null
	at java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011) ~[na:1.8.0_171]
	at java.util.concurrent.ConcurrentHashMap.putAll(ConcurrentHashMap.java:1084) ~[na:1.8.0_171]
	at com.haulmont.cuba.client.sys.config.ConfigPersisterClientImpl.loadCache(ConfigPersisterClientImpl.java:79) ~[cuba-client-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.client.sys.config.ConfigPersisterClientImpl.getProperty(ConfigPersisterClientImpl.java:60) ~[cuba-client-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.core.config.ConfigGetter.getProperty(ConfigGetter.java:110) ~[cuba-global-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.core.config.ConfigGetter.getProperty(ConfigGetter.java:95) ~[cuba-global-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.core.config.ConfigGetter.invoke(ConfigGetter.java:67) ~[cuba-global-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.core.config.ConfigHandler.invoke(ConfigHandler.java:79) ~[cuba-global-6.9.1.jar:6.9.1]
	at com.sun.proxy.$Proxy343.getUserSessionLogEnabled(Unknown Source) ~[na:na]
	at com.haulmont.cuba.gui.app.security.session.log.SessionLogBrowser.init(SessionLogBrowser.java:22) ~[cuba-gui-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.gui.WindowManager.init(WindowManager.java:1242) ~[cuba-gui-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.gui.WindowManager.initWrapperFrame(WindowManager.java:1231) ~[cuba-gui-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.gui.WindowManager.createWindow(WindowManager.java:581) ~[cuba-gui-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.gui.WindowManager.openWindow(WindowManager.java:750) ~[cuba-gui-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.web.WebWindowManager.openWindow(WebWindowManager.java:158) ~[cuba-web-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.gui.config.MenuCommand$ScreenCommand.run(MenuCommand.java:181) ~[cuba-gui-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.gui.config.MenuCommand.execute(MenuCommand.java:76) ~[cuba-gui-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.web.sys.MenuBuilder.lambda$createMenuCommandExecutor$0(MenuBuilder.java:197) ~[cuba-web-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.web.gui.components.mainwindow.WebAppMenu$MenuItemImpl.lambda$setCommand$2434f46b$1(WebAppMenu.java:351) ~[cuba-web-6.9.1.jar:6.9.1]
	at com.vaadin.ui.MenuBar.changeVariables(MenuBar.java:212) ~[vaadin-server-7.7.13.cuba.9.jar:7.7.13.cuba.9]
	at com.vaadin.server.communication.ServerRpcHandler.changeVariables(ServerRpcHandler.java:623) [vaadin-server-7.7.13.cuba.9.jar:7.7.13.cuba.9]
	at com.vaadin.server.communication.ServerRpcHandler.handleInvocation(ServerRpcHandler.java:470) [vaadin-server-7.7.13.cuba.9.jar:7.7.13.cuba.9]
	at com.vaadin.server.communication.ServerRpcHandler.handleInvocations(ServerRpcHandler.java:413) [vaadin-server-7.7.13.cuba.9.jar:7.7.13.cuba.9]
	at com.vaadin.server.communication.ServerRpcHandler.handleRpc(ServerRpcHandler.java:274) [vaadin-server-7.7.13.cuba.9.jar:7.7.13.cuba.9]
	at com.vaadin.server.communication.UidlRequestHandler.synchronizedHandleRequest(UidlRequestHandler.java:90) [vaadin-server-7.7.13.cuba.9.jar:7.7.13.cuba.9]
	at com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:41) [vaadin-server-7.7.13.cuba.9.jar:7.7.13.cuba.9]
	at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1435) [vaadin-server-7.7.13.cuba.9.jar:7.7.13.cuba.9]
	at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:361) [vaadin-server-7.7.13.cuba.9.jar:7.7.13.cuba.9]
	at com.haulmont.cuba.web.sys.CubaApplicationServlet.serviceAppRequest(CubaApplicationServlet.java:312) [cuba-web-6.9.1.jar:6.9.1]
	at com.haulmont.cuba.web.sys.CubaApplicationServlet.service(CubaApplicationServlet.java:203) [cuba-web-6.9.1.jar:6.9.1]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) [servlet-api.jar:na]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [catalina.jar:8.5.23]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.23]
	at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:232) [javamelody-core-1.70.0.jar:1.70.0]
	at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:209) [javamelody-core-1.70.0.jar:1.70.0]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.23]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.23]
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.5.23]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.23]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.23]
	at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:107) [spring-web-4.3.14.RELEASE.jar:4.3.14.RELEASE]
	at org.springframework.web.filter.CompositeFilter.doFilter(CompositeFilter.java:73) [spring-web-4.3.14.RELEASE.jar:4.3.14.RELEASE]
	at com.haulmont.cuba.web.sys.CubaHttpFilter.doFilter(CubaHttpFilter.java:107) [cuba-web-6.9.1.jar:6.9.1]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.23]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.23]
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) [catalina.jar:8.5.23]
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [catalina.jar:8.5.23]
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478) [catalina.jar:8.5.23]
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) [catalina.jar:8.5.23]
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) [catalina.jar:8.5.23]
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650) [catalina.jar:8.5.23]
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [catalina.jar:8.5.23]
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) [catalina.jar:8.5.23]
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803) [tomcat-coyote.jar:8.5.23]
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-coyote.jar:8.5.23]
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) [tomcat-coyote.jar:8.5.23]
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459) [tomcat-coyote.jar:8.5.23]
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:8.5.23]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_171]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_171]
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.5.23]
	at java.lang.Thread.run(Thread.java:748) [na:1.8.0_171]

Hi,

we upgraded the project from Cuba 6.8.8.
W tried to launch the dropTomcat command but the nothing changes.
Do you have any other ideas?

Nicole

1 Like

Could you please attach the full app.log file ?

app.log (2.5 MB)

Any ideas to resolve this problem?
Thanks

Manuel

Hi,
As I see in your logs you have not updated the database after migration. Try to update it (execute Run->Update database).

2018-06-29 18:49:23.450 WARN  [localhost-startStop-1] com.haulmont.cuba.core.sys.dbupdate.DbUpdaterEngine - 
====================================================================
WARNING: The application contains unapplied database update scripts:

10-cuba/update/postgres/18/180312-renameColumns.sql
10-cuba/update/postgres/18/180321-addContentBodyTypeColumnToSendingMessage.sql
10-cuba/update/postgres/18/180331-truncateQueryResultTable.sql

Set 'cuba.automaticDatabaseUpdate' application property to 'true' to
 initialize and update database on startup.
====================================================================
2018-06-29 18:49:23.456 INFO  [localhost-startStop-1] com.haulmont.addo
1 Like

Hi,
We have reproduced the problem. The probable reason of the NPE is that some application property has null value. For more information see the following ticket: https://github.com/cuba-platform/cuba/issues/1016

To solve the problem locally, find the record in the sys_config table, delete it or define a correct value.
image