Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Breakpoints is null
Hi!
I'm working on Vaadin-based project. Currently I'm trying to make RWD and have a problem. In browser console errors like this:
Wed Aug 12 12:23:38 GMT+200 2015 com.vaadin.client.LayoutManager
SEVERE: Error in resize listenercom.google.gwt.core.client.JavaScriptException: (TypeError) : breakpoints is undefined
at Unknown.com_vaadin_client_extensions_ResponsiveConnector_resolveBreakpoint__Ljava_lang_String_2ILjava_lang_String_2(com.mcx.pilot.DashboardWidgetSet-0.js)
at Unknown.com_vaadin_client_extensions_ResponsiveConnector_updateRanges__V(com.mcx.pilot.DashboardWidgetSet-0.js) at Unknown.com_vaadin_client_extensions_ResponsiveConnector_onElementResize__Lcom_vaadin_client_ui_layout_ElementResizeEvent_2V(com.mcx.pilot.DashboardWidgetSet-0.js)
at Unknown.com_vaadin_client_LayoutManager_doLayout__V(com.mcx.pilot.DashboardWidgetSet-0.js)
at Unknown.com_vaadin_client_LayoutManager_layoutNow__V(com.mcx.pilot.DashboardWidgetSet-0.js)
at Unknown.com_vaadin_client_ApplicationConnection$10_execute__V(com.mcx.pilot.DashboardWidgetSet-0.js)
at Unknown.com_vaadin_client_ApplicationConfiguration_runWhenDependenciesLoaded__Lcom_google_gwt_user_client_Command_2V(com.mcx.pilot.DashboardWidgetSet-0.js)
at Unknown.com_vaadin_client_ApplicationConnection_handleUIDLMessage__Ljava_util_Date_2Ljava_lang_String_2Lcom_vaadin_client_ValueMap_2V(com.mcx.pilot.DashboardWidgetSet-0.js)
at Unknown.com_vaadin_client_ApplicationConnection_handleReceivedJSONMessage__Ljava_util_Date_2Ljava_lang_String_2Lcom_vaadin_client_ValueMap_2V(com.mcx.pilot.DashboardWidgetSet-0.js)
at Unknown.com_vaadin_client_ApplicationConnection_handleWhenCSSLoaded__Ljava_lang_String_2Lcom_vaadin_client_ValueMap_2V(com.mcx.pilot.DashboardWidgetSet-0.js)
at Unknown.com_vaadin_client_ApplicationConnection_handleJSONText__Ljava_lang_String_2IV(com.mcx.pilot.DashboardWidgetSet-0.js)
at Unknown.com_vaadin_client_ApplicationConnection_start__V(com.mcx.pilot.DashboardWidgetSet-0.js)
at Unknown.com_vaadin_client_ApplicationConfiguration$1_execute__V(com.mcx.pilot.DashboardWidgetSet-0.js)
at Unknown.com_google_gwt_core_client_impl_SchedulerImpl$Task_$executeScheduled__Lcom_google_gwt_core_client_impl_SchedulerImpl$Task_2V(com.mcx.pilot.DashboardWidgetSet-0.js)
at Unknown.com_google_gwt_core_client_impl_SchedulerImpl_runScheduledTasks__Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_JsArray_2(com.mcx.pilot.DashboardWidgetSet-0.js)
at Unknown.com_google_gwt_core_client_impl_SchedulerImpl_flushPostEventPumpCommands__V(com.mcx.pilot.DashboardWidgetSet-0.js)
at Unknown.com_google_gwt_core_client_impl_SchedulerImpl$Flusher_execute__Z(com.mcx.pilot.DashboardWidgetSet-0.js)
at Unknown.com_google_gwt_core_client_impl_SchedulerImpl_execute__Lcom_google_gwt_core_client_Scheduler$RepeatingCommand_2Z(com.mcx.pilot.DashboardWidgetSet-0.js)
at Unknown.com_google_gwt_core_client_impl_Impl_apply__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(com.mcx.pilot.DashboardWidgetSet-0.js)
at Unknown.com_google_gwt_core_client_impl_Impl_entry0__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(com.mcx.pilot.DashboardWidgetSet-0.js)
at Unknown.com_google_gwt_core_client_impl_Impl_entry__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2/<(com.mcx.pilot.DashboardWidgetSet-0.js)
at Unknown.callback(com.mcx.pilot.DashboardWidgetSet-0.js) at Unknown.anonymous(Unknown)
Where is the problems?
Hi, I think I have the same problem here.
Wed Nov 25 11:48:12 GMT+100 2015 com.vaadin.client.LayoutManager
SEVERE: Error in resize listenercom.google.gwt.core.client.JavaScriptException: (TypeError) : breakpoints is undefined
at Unknown.$resolveBreakpoint(com.swisscreate.scbm.ui.widgetset.widgetset-0.js)
at Unknown.$updateRanges(com.swisscreate.scbm.ui.widgetset.widgetset-0.js)
at Unknown.onElementResize_1(com.swisscreate.scbm.ui.widgetset.widgetset-0.js)
at Unknown.$doLayout(com.swisscreate.scbm.ui.widgetset.widgetset-0.js)
...
This is the firebug output. I came across it when trying to create a responsive layout and it worked in IE and Chrome but not in FF. The width-range attribute was not added to the element. Then I removed the Responsive.makeResponsive(component) but I still got the mentioned error in Firefox.
Has anyone from the Vaadin team come accross this before?
Ok I upgraded to Vaadin 7.5.9 and the problem is gone!