I’m finding that Cuba Studio 7 cannot load any screen that uses a grid layout. Breaks with the following error:
Validation error
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.haulmont.studio.ui.sd.layout.model.prop.TableColumnsComponentProperty.setValue(TableColumnsComponentProperty.java:56)
at com.haulmont.studio.ui.sd.layout.ComponentModelMapper.setComponentProperties(ComponentModelMapper.java:535)
at com.haulmont.studio.ui.sd.layout.ComponentModelMapper.updateComponentFromModel(ComponentModelMapper.java:396)
at com.haulmont.studio.ui.sd.layout.ComponentModelMapper.updateComponentFromModel(ComponentModelMapper.java:452)
at com.haulmont.studio.ui.sd.layout.ComponentModelMapper.updateComponentFromModel(ComponentModelMapper.java:452)
at com.haulmont.studio.ui.sd.layout.ComponentModelMapper.updateComponentFromModel(ComponentModelMapper.java:452)
at com.haulmont.studio.ui.sd.layout.ScreenLayoutDesigner.editModel(ScreenLayoutDesigner.java:205)
at com.haulmont.studio.ui.sd.layout.ScreenLayoutDesigner.lambda$activate$5(ScreenLayoutDesigner.java:377)
at com.intellij.openapi.application.ReadAction.lambda$run$1(ReadAction.java:53)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:959)
at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:57)
at com.intellij.openapi.application.ReadAction.run(ReadAction.java:53)
at com.haulmont.studio.ui.sd.layout.ScreenLayoutDesigner.activate(ScreenLayoutDesigner.java:350)
at com.haulmont.studio.intellij.ui.sd.ScreenDesignerEditor.lambda$selectNotify$0(ScreenDesignerEditor.java:103)
at com.haulmont.studio.intellij.ui.browser.WebBrowser.lambda$loadEditor$2(WebBrowser.java:173)
at com.haulmont.studio.ui.app.EditorPanelStorage.register(EditorPanelStorage.java:35)
at com.haulmont.studio.ui.app.MainUi.createAndRegisterDesigner(MainUi.java:97)
at com.haulmont.studio.ui.app.MainUi.init(MainUi.java:69)
at com.vaadin.ui.UI.doInit(UI.java:693)
at com.vaadin.server.communication.UIInitHandler.getBrowserDetailsUI(UIInitHandler.java:216)
at com.vaadin.server.communication.UIInitHandler.synchronizedHandleRequest(UIInitHandler.java:74)
at com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:41)
at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1422)
at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:361)
at com.haulmont.studio.ui.app.StudioApplicationServlet.service(StudioApplicationServlet.java:81)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:499)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:258)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at com.haulmont.studio.ui.sd.layout.LocCaptionProvider.getLocalizedAttributeName(LocCaptionProvider.java:147)
at com.haulmont.studio.ui.sd.layout.LocCaptionProvider.getLocalizedAttributeName(LocCaptionProvider.java:156)
at com.haulmont.studio.ui.sd.layout.LocCaptionProvider.getLocalizedAttributeName(LocCaptionProvider.java:156)
at com.haulmont.studio.ui.sd.layout.LocCaptionProvider.getAttributeCaptionById(LocCaptionProvider.java:124)
at com.haulmont.studio.ui.sd.layout.ModelHelper.attributeNameLocalized(ModelHelper.java:93)
at com.haulmont.studio.ui.sd.layout.gui.impl.AbstractTable.processColumnElement(AbstractTable.java:362)
at com.haulmont.studio.ui.sd.layout.gui.impl.AbstractTable.setColumns(AbstractTable.java:307)
... 49 more