Studio error after adding GroupTable

When the using version 6.8.1, after I add a GroupTable, set the DataSource then try to add Columns, I get the following error:

image

Stacktrace:

[18:23:43.748] Exception has been thrown by com.haulmont.studio.ui.app.App$DefaultErrorHandler@696ee7f0:
[18:23:43.748] java.lang.NullPointerException

 at com.haulmont.studio.ui.sd.layout.model.prop.edit.TableColumnsEditor.addNewItem(TableColumnsEditor.java:505)

 at com.haulmont.studio.ui.sd.layout.model.prop.edit.AbstractTabularEditor$1.buttonClick(AbstractTabularEditor.java:91)

 at sun.reflect.GeneratedMethodAccessor168.invoke(Unknown Source)

 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

 at java.lang.reflect.Method.invoke(Method.java:498)

 at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510)

 at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:200)

 at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:163)

 at com.vaadin.server.AbstractClientConnector.fireEvent(AbstractClientConnector.java:1037)

 at com.vaadin.ui.Button.fireClick(Button.java:377)

 at com.vaadin.ui.Button$1.click(Button.java:54)

 at sun.reflect.GeneratedMethodAccessor167.invoke(Unknown Source)

 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

 at java.lang.reflect.Method.invoke(Method.java:498)

 at com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:158)

 at com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:119)

 at com.vaadin.server.communication.ServerRpcHandler.handleInvocation(ServerRpcHandler.java:444)

 at com.vaadin.server.communication.ServerRpcHandler.handleInvocations(ServerRpcHandler.java:409)

 at com.vaadin.server.communication.ServerRpcHandler.handleRpc(ServerRpcHandler.java:274)

 ...
[18:23:43.748] Unexpected error
java.lang.NullPointerException

My work around is to go into the xml and add a Column manually. As long as there is one column, it works fine after that.

Thanks,

Ian

Hi, @IanE

This issue was fixed in the 6.8.2 release. Please update your CUBA Studio installation.

An issue in YouTrack: link.

Regards,
Daniil.

Thanks, I thought I was on the latest … I guess automatic updates to studio se are not working. In the future, I will try reproduce issues in the unstable version to see if they have been fixed.

Do you mean that autoupdate in Studio SE does not work for you?

Correct. Auto updates were working in the past, but I can’t remember if it was the browser or SE version.

I have not reporting anything yet as I am having other issues with Studio SE hanging (Chromium locks up) so I want to make sure it’s not my environment. In order to better get a handle on the issues, I have re-installed 6.8.2.and 6.9-SNAPSHOT. I have located the log files and have a reference point on how they are supposed to look when everything is working.

If have either of the issues again, I will create a support topic and pass along the log files.

Note that my issues are on two Windows 10 PC’s (laptop and desktop) when using multiple versions of Cuba Studio SE.

I’ve checked the autoupdate feature and Studio SE was correctly updated from 6.8.1 to 6.8.2 version.

If you will have some problems with Studio later, please report them.

Regards,
Daniil.