Skip to content

Instantly share code, notes, and snippets.

@pdeva
Created January 6, 2015 07:38
Show Gist options
  • Save pdeva/fbcaf19bedff49deb388 to your computer and use it in GitHub Desktop.
Save pdeva/fbcaf19bedff49deb388 to your computer and use it in GitHub Desktop.
2015-01-05 23:24:20 XRebel: Class 'com.mongodb.QueryResultIterator' could not be processed by com.zeroturnaround.xrebel.do@null
2015-01-05 23:24:20 XRebel: ERROR com.zeroturnaround.xrebel.bundled.javassist.CannotCompileException: [source error] no such field: $4
at com.zeroturnaround.xrebel.bundled.javassist.CtBehavior.insertAfter(XRebel:877)
at com.zeroturnaround.xrebel.bundled.javassist.CtBehavior.insertAfter(XRebel:792)
at com.zeroturnaround.xrebel.do.process(XRebel:34)
at com.zeroturnaround.xrebel.sdk.trans.JavassistClassBytecodeProcessor.process(XRebel:36)
at com.zeroturnaround.xrebel.bootstrap.e.a(XRebel:32)
at com.zeroturnaround.xrebel.bootstrap.k.transform(XRebel:20)
at sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:428)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2450)
at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:852)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1262)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1145)
at com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:81)
at com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:66)
at com.mongodb.DBCollection.findOne(DBCollection.java:870)
at com.mongodb.DBCollection.findOne(DBCollection.java:844)
at com.mongodb.DBCollection.findOne(DBCollection.java:790)
at org.springframework.data.mongodb.core.MongoTemplate$FindOneCallback.doInCollection(MongoTemplate.java:2000)
at org.springframework.data.mongodb.core.MongoTemplate$FindOneCallback.doInCollection(MongoTemplate.java:1985)
at org.springframework.data.mongodb.core.MongoTemplate.executeFindOneInternal(MongoTemplate.java:1760)
at org.springframework.data.mongodb.core.MongoTemplate.doFindOne(MongoTemplate.java:1577)
at org.springframework.data.mongodb.core.MongoTemplate.findOne(MongoTemplate.java:497)
at org.springframework.data.mongodb.core.MongoTemplate.findOne(MongoTemplate.java:492)
at org.chronon.apm.frontend.AccountService.fetchMongoAccount(AccountService.java:23)
at org.chronon.apm.frontend.FrontEndController.currentUserAccount(FrontEndController.java:875)
at org.chronon.apm.frontend.FrontEndController.currentMasterAccount(FrontEndController.java:880)
at org.chronon.apm.frontend.FrontEndController.listApps(FrontEndController.java:703)
at sun.reflect.GeneratedMethodAccessor405.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:781)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:721)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:943)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:868)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:644)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:107)
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:112)
at com.dripstat.uibase.app.filters.CorsFilter.doFilter(CorsFilter.java:36)
at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:112)
at org.springframework.web.filter.CompositeFilter.doFilter(CompositeFilter.java:73)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at org.apache.catalina.core.StandardContextValve.__invoke(StandardContextValve.java:106)
at org.apache.catalina.core.StandardContextValve.__xr__invoke(StandardContextValve.java)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
at org.apache.catalina.core.StandardHostValve.__invoke(StandardHostValve.java:142)
at org.apache.catalina.core.StandardHostValve.__xr__invoke(StandardHostValve.java)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:537)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1081)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658)
at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:744)
Caused by: compile error: no such field: $4
at com.zeroturnaround.xrebel.bundled.javassist.compiler.TypeChecker.fieldAccess(XRebel:819)
at com.zeroturnaround.xrebel.bundled.javassist.compiler.TypeChecker.atFieldRead(XRebel:777)
at com.zeroturnaround.xrebel.bundled.javassist.compiler.TypeChecker.atMember(XRebel:962)
at com.zeroturnaround.xrebel.bundled.javassist.compiler.JvstTypeChecker.atMember(XRebel:66)
at com.zeroturnaround.xrebel.bundled.javassist.compiler.ast.Member.accept(XRebel:39)
at com.zeroturnaround.xrebel.bundled.javassist.compiler.TypeChecker.atFieldAssign(XRebel:276)
at com.zeroturnaround.xrebel.bundled.javassist.compiler.JvstTypeChecker.atFieldAssign(XRebel:84)
at com.zeroturnaround.xrebel.bundled.javassist.compiler.TypeChecker.atAssignExpr(XRebel:230)
at com.zeroturnaround.xrebel.bundled.javassist.compiler.ast.AssignExpr.accept(XRebel:39)
at com.zeroturnaround.xrebel.bundled.javassist.compiler.CodeGen.doTypeCheck(XRebel:242)
at com.zeroturnaround.xrebel.bundled.javassist.compiler.CodeGen.atStmnt(XRebel:330)
at com.zeroturnaround.xrebel.bundled.javassist.compiler.ast.Stmnt.accept(XRebel:50)
at com.zeroturnaround.xrebel.bundled.javassist.compiler.CodeGen.atStmnt(XRebel:351)
at com.zeroturnaround.xrebel.bundled.javassist.compiler.ast.Stmnt.accept(XRebel:50)
at com.zeroturnaround.xrebel.bundled.javassist.compiler.CodeGen.atIfStmnt(XRebel:391)
at com.zeroturnaround.xrebel.bundled.javassist.compiler.CodeGen.atStmnt(XRebel:355)
at com.zeroturnaround.xrebel.bundled.javassist.compiler.ast.Stmnt.accept(XRebel:50)
at com.zeroturnaround.xrebel.bundled.javassist.compiler.CodeGen.atStmnt(XRebel:351)
at com.zeroturnaround.xrebel.bundled.javassist.compiler.ast.Stmnt.accept(XRebel:50)
at com.zeroturnaround.xrebel.bundled.javassist.compiler.Javac.compileStmnt(XRebel:569)
at com.zeroturnaround.xrebel.bundled.javassist.CtBehavior.insertAfterAdvice(XRebel:892)
at com.zeroturnaround.xrebel.bundled.javassist.CtBehavior.insertAfter(XRebel:851)
... 91 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment