BrowseDetection plugin .1 is broken for firefox 4.0

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

BrowseDetection plugin .1 is broken for firefox 4.0

SanjayGupta

Hi,

 

Here is the stack trace. I simply added a try/catch around the offending code for now since I only need to know the browser for my needs and nothing else.              

 

 

09:59:54 2011-03-22 ERROR 25748247@qtp-21299108-2 StackTrace - Sanitizing stacktrace:

java.lang.ArrayIndexOutOfBoundsException: 2

                at org.codehaus.groovy.runtime.DefaultGroovyMethods.getAt(DefaultGroovyMethods.java:2961)

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

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

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

                at org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:51)

                at org.codehaus.groovy.runtime.metaclass.NewInstanceMetaMethod.invoke(NewInstanceMetaMethod.java:54)

                at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)

                at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)

                at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:946)

                at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)

                at org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHelper.java:766)

                at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:754)

                at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:170)

                at org.geeks.browserdetection.UserAgentIdentService.getUserAgentInfo(org.geeks.browserdetection.UserAgentIdentService:123)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

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

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

                at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)

                at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)

                at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)

                at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:946)

                at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78)

                at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrent0(ScriptBytecodeAdapter.java:112)

                at org.geeks.browserdetection.UserAgentIdentService.isMsie(org.geeks.browserdetection.UserAgentIdentService:162)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

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

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

                at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)

                at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)

                at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)

                at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:946)

                at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)

                at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:778)

                at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:758)

                at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:170)

                at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod0(ScriptBytecodeAdapter.java:198)

                at com.bwse.controller.security.UserController$_closure2.doCall(UserController.groovy:303)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

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

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

                at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)

                at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)

                at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)

                at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:946)

                at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78)

                at com.bwse.controller.security.UserController$_closure2.doCall(UserController.groovy)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

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

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

                at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)

                at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)

                at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)

                at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:946)

                at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)

                at groovy.lang.Closure.call(Closure.java:292)

                at groovy.lang.Closure.call(Closure.java:287)

                at org.codehaus.groovy.grails.web.servlet.mvc.SimpleGrailsControllerHelper.handleAction(SimpleGrailsControllerHelper.java:507)

                at org.codehaus.groovy.grails.web.servlet.mvc.SimpleGrailsControllerHelper.executeAction(SimpleGrailsControllerHelper.java:398)

                at org.codehaus.groovy.grails.web.servlet.mvc.SimpleGrailsControllerHelper.handleURI(SimpleGrailsControllerHelper.java:233)

                at org.codehaus.groovy.grails.web.servlet.mvc.SimpleGrailsControllerHelper.handleURI(SimpleGrailsControllerHelper.java:154)

                at org.codehaus.groovy.grails.web.servlet.mvc.SimpleGrailsController.handleRequest(SimpleGrailsController.java:88)

                at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)

                at org.codehaus.groovy.grails.web.servlet.GrailsDispatcherServlet.doDispatch(GrailsDispatcherServlet.java:261)

                at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)

                at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)

                at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)

                at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)

                at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:380)

                at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

                at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)

                at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)

                at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)

                at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:334)

                at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)

                at org.codehaus.groovy.grails.web.util.WebUtils.forwardRequestForUrlMappingInfo(WebUtils.java:207)

                at org.codehaus.groovy.grails.web.util.WebUtils.forwardRequestForUrlMappingInfo(WebUtils.java:196)

                at org.codehaus.groovy.grails.web.mapping.filter.UrlMappingsFilter.doFilterInternal(UrlMappingsFilter.java:129)

                at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

                at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1139)

                at org.codehaus.groovy.grails.web.sitemesh.GrailsPageFilter.parsePage(GrailsPageFilter.java:122)

                at org.codehaus.groovy.grails.web.sitemesh.GrailsPageFilter.doFilter(GrailsPageFilter.java:85)

                at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1139)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)

                at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)

                at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.ui.rememberme.RememberMeProcessingFilter.doFilterHttp(RememberMeProcessingFilter.java:116)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:277)

                at org.codehaus.groovy.grails.plugins.springsecurity.GrailsAuthenticationProcessingFilter.super$3$doFilterHttp(GrailsAuthenticationProcessingFilter.groovy)

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

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

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

                at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)

                at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)

                at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)

                at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:946)

                at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:131)

                at org.codehaus.groovy.grails.plugins.springsecurity.GrailsAuthenticationProcessingFilter.doFilterHttp(GrailsAuthenticationProcessingFilter.groovy:57)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)

                at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)

                at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)

                at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1139)

                at org.codehaus.groovy.grails.web.servlet.filter.GrailsReloadServletFilter.doFilterInternal(GrailsReloadServletFilter.java:101)

                at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

                at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1139)

                at org.codehaus.groovy.grails.web.servlet.mvc.GrailsWebRequestFilter.doFilterInternal(GrailsWebRequestFilter.java:65)

                at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

                at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1139)

                at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)

                at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

                at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)

                at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)

                at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1139)

                at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:378)

                at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

                at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)

                at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)

                at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)

                at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

                at org.mortbay.jetty.Server.handle(Server.java:324)

                at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:535)

                at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:865)

                at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)

                at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)

                at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)

                at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)

                at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)

Reply | Threaded
Open this post in threaded view
|

Re: BrowseDetection plugin .1 is broken for firefox 4.0

davide.cavestro
I hit the same problem.
I've just mailed edvinas(et)geeks.lt to notify the issue. I also hope to gather some info about the plugin's maintenance status.

Cheers
Davide