Cuba Studio - Null Pointer

I’ve created a newish project.

Now whenever I click on my data models with an association type attribute I get an error and a null pointer exception.

It also happens if I try to create a new associated type attribute in a data model.

Any suggestions?

[11:17:47.599] Unexpected error
java.lang.NullPointerException
[11:17:57.477] Exception has been thrown by com.haulmont.studio.ui.app.a@d8cf867:
[11:17:57.478] java.lang.NullPointerException

at com.haulmont.studio.ui.d.a.a.a(SourceFile:272)

at com.haulmont.studio.ui.d.a.a.l(SourceFile:259)

at com.haulmont.studio.ui.d.a.a.k(SourceFile:230)

at com.haulmont.studio.ui.d.a.a.(SourceFile:147)

at com.haulmont.studio.ui.d.d.c.valueChange(SourceFile:197)

at sun.reflect.GeneratedMethodAccessor23.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.AbstractField.fireValueChange(AbstractField.java:1181)

at com.vaadin.ui.AbstractField.setValue(AbstractField.java:580)

at com.vaadin.ui.AbstractSelect.setValue(AbstractSelect.java:742)

at com.vaadin.ui.AbstractField.setValue(AbstractField.java:474)

at com.vaadin.ui.AbstractSelect.changeVariables(AbstractSelect.java:552)

at com.vaadin.ui.Table.changeVariables(Table.java:3025)

at com.vaadin.server.communication.ServerRpcHandler.changeVariables(ServerRpcHandler.java:615)


[11:17:57.490] Unexpected error
java.lang.NullPointerException

Untitled

Hi!

Unfortunately, we cannot reproduce the issue.
What Studio version are you using?
Please attach a test project with the issue.

1 Like

It’s ok now.

Since it was such a new project I just recreated a new.

Not sure why this was happening.