-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 22
-
Component/s: Layouts & Widgets, Validation
The following error appears in logs since widget properties validation has been put in place, when using a tab with the "toggleable layout" widget, using target platform 5.6 only:
2015-01-19 12:24:02,679 ERROR [catalina-exec-5] [com.nuxeo.studio.core.impl.DefaultProject] Validation failed for feature 'XXX_tab' java.lang.NullPointerException at com.nuxeo.studio.client.features.layout.WidgetTypeDefContribution.getWidgetForPropertyPerModeMap(WidgetTypeDefContribution.java:90) at com.nuxeo.studio.client.features.layout.WidgetTypeDefContribution.getWidgetDefinitionFor(WidgetTypeDefContribution.java:112) at com.nuxeo.studio.core.validators.LayoutValidator.validateDeprecatedWidgetProperties(LayoutValidator.java:265) at com.nuxeo.studio.core.validators.LayoutValidator.validateWidget(LayoutValidator.java:182) at com.nuxeo.studio.core.validators.GridLayoutValidator.validate(GridLayoutValidator.java:68) at com.nuxeo.studio.core.builders.TabFeatureBuilder.validate(TabFeatureBuilder.java:53) at com.nuxeo.studio.core.builders.TabFeatureBuilder.validate(TabFeatureBuilder.java:35) at com.nuxeo.studio.core.impl.DefaultProject.validate(DefaultProject.java:617) at com.nuxeo.studio.servlet.StudioServiceImpl.getProject(StudioServiceImpl.java:164) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606)