You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2025-01-13 07:56:15,705 ERROR | http-nio-18443-exec-27 | com.vaadin.flow.shared.BrowserDetails | Browser engine version parsing failed for: mozilla/5.0 (windows nt 6.1; wow64) applewebkit/534+ (khtml, like gecko) bingpreview/1.0b java.lang.NumberFormatException: For input string: "534+ (khtml, like gecko) bingpreview/1.0" at java.base/jdk.internal.math.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2054) at java.base/jdk.internal.math.FloatingDecimal.parseFloat(FloatingDecimal.java:122) at java.base/java.lang.Float.parseFloat(Float.java:476) at com.vaadin.flow.shared.BrowserDetails.<init>(BrowserDetails.java:124) at com.vaadin.flow.server.WebBrowser$1.<init>(WebBrowser.java:70) at com.vaadin.flow.server.WebBrowser.<init>(WebBrowser.java:70) at com.vaadin.flow.server.VaadinService.createAndRegisterSession(VaadinService.java:1015) at com.vaadin.flow.server.VaadinService.doFindOrCreateVaadinSession(VaadinService.java:979) at com.vaadin.flow.server.VaadinService.findOrCreateVaadinSession(VaadinService.java:921) at com.vaadin.flow.server.VaadinService.findVaadinSession(VaadinService.java:760) at com.vaadin.flow.server.VaadinService.handleRequest(VaadinService.java:1658) at com.vaadin.flow.server.VaadinServlet.service(VaadinServlet.java:398) at com.vaadin.flow.spring.SpringServlet.service(SpringServlet.java:106) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:195) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:108) at org.springframework.security.web.FilterChainProxy.lambda$doFilterInternal$3(FilterChainProxy.java:231) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:365) at org.springframework.security.web.access.intercept.AuthorizationFilter.doFilter(AuthorizationFilter.java:101) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:126) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:120) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:100) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) at
Minimal reproducible example
Since Vaadin 24.6.0
Versions
Vaadin / Flow version: 24.6.1
Java version: 17
OS version: CentOS
The text was updated successfully, but these errors were encountered:
Seems it's from BingPreview for Windows 8 app? As the latest agent they give is a little different
from Bing crawlers
BingPreview generates page snapshots for Bing. You can find more details about BingPreview here. Note that BingPreview has "desktop" and "mobile" variants.
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) Chrome/W.X.Y.Z Safari/537.36
Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/W.X.Y.Z Mobile Safari/537.36 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)
OT: Now that Browser "parsing" is not really needed anymore to determine usability of flow.. I'm wondering if the log message should be lowered to e.g. INFO without an exception.. it isn't really harmful and can create a lot of noise.
Description of the bug
Same/similar issue as #20784
Expected behavior
Error in the logfile:
2025-01-13 07:56:15,705 ERROR | http-nio-18443-exec-27 | com.vaadin.flow.shared.BrowserDetails | Browser engine version parsing failed for: mozilla/5.0 (windows nt 6.1; wow64) applewebkit/534+ (khtml, like gecko) bingpreview/1.0b java.lang.NumberFormatException: For input string: "534+ (khtml, like gecko) bingpreview/1.0" at java.base/jdk.internal.math.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2054) at java.base/jdk.internal.math.FloatingDecimal.parseFloat(FloatingDecimal.java:122) at java.base/java.lang.Float.parseFloat(Float.java:476) at com.vaadin.flow.shared.BrowserDetails.<init>(BrowserDetails.java:124) at com.vaadin.flow.server.WebBrowser$1.<init>(WebBrowser.java:70) at com.vaadin.flow.server.WebBrowser.<init>(WebBrowser.java:70) at com.vaadin.flow.server.VaadinService.createAndRegisterSession(VaadinService.java:1015) at com.vaadin.flow.server.VaadinService.doFindOrCreateVaadinSession(VaadinService.java:979) at com.vaadin.flow.server.VaadinService.findOrCreateVaadinSession(VaadinService.java:921) at com.vaadin.flow.server.VaadinService.findVaadinSession(VaadinService.java:760) at com.vaadin.flow.server.VaadinService.handleRequest(VaadinService.java:1658) at com.vaadin.flow.server.VaadinServlet.service(VaadinServlet.java:398) at com.vaadin.flow.spring.SpringServlet.service(SpringServlet.java:106) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:195) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:108) at org.springframework.security.web.FilterChainProxy.lambda$doFilterInternal$3(FilterChainProxy.java:231) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:365) at org.springframework.security.web.access.intercept.AuthorizationFilter.doFilter(AuthorizationFilter.java:101) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:126) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:120) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:100) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) at
Minimal reproducible example
Since Vaadin 24.6.0
Versions
The text was updated successfully, but these errors were encountered: