ro.isdc.wro.WroRuntimeException: Exception while trying to process @Inject annotation

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Julien Wajsberg, 1 year ago
ro.isdc.wro.WroRuntimeException: No context associated with CURRENT request cycle!
at ro.isdc.wro.config.Context.validateContext(Context.java:125)
at ro.isdc.wro.config.Context.get(Context.java:106)
at ro.isdc.wro.model.group.processor.InjectorBuilder$10.create(InjectorBuilder.java:147)
at ro.isdc.wro.model.group.processor.InjectorBuilder$10.create(InjectorBuilder.java:145)
at ro.isdc.wro.model.group.processor.Injector.acceptAnnotatedField(Injector.java:117)
at ro.isdc.wro.model.group.processor.Injector.processInjectAnnotation(Injector.java:64)
at ro.isdc.wro.model.group.processor.Injector.inject(Injector.java:48)
at ro.isdc.wro.model.group.processor.Injector.processInjectAnnotation(Injector.java:73)
at ro.isdc.wro.model.group.processor.Injector.inject(Injector.java:48)
at ro.isdc.wro.model.group.processor.Injector.processInjectAnnotation(Injector.java:73)
at ro.isdc.wro.model.group.processor.Injector.inject(Injector.java:48)
at ro.isdc.wro.model.group.processor.Injector.processInjectAnnotation(Injector.java:73)
at ro.isdc.wro.model.group.processor.Injector.inject(Injector.java:48)
at ro.isdc.wro.model.group.processor.Injector.processInjectAnnotation(Injector.java:73)
at ro.isdc.wro.model.group.processor.Injector.inject(Injector.java:48)
at ro.isdc.wro.model.group.processor.InjectorBuilder$8.create(InjectorBuilder.java:135)
at ro.isdc.wro.model.group.processor.InjectorBuilder$8.create(InjectorBuilder.java:132)
at ro.isdc.wro.model.group.processor.Injector.acceptAnnotatedField(Injector.java:117)
at ro.isdc.wro.model.group.processor.Injector.processInjectAnnotation(Injector.java:64)
at ro.isdc.wro.model.group.processor.Injector.inject(Injector.java:48)
at ro.isdc.wro.manager.factory.BaseWroManagerFactory$1.initialize(BaseWroManagerFactory.java:109)
at ro.isdc.wro.manager.factory.BaseWroManagerFactory$1.initialize(BaseWroManagerFactory.java:68)
at ro.isdc.wro.util.LazyInitializer.get(LazyInitializer.java:33)
at ro.isdc.wro.manager.factory.BaseWroManagerFactory.create(BaseWroManagerFactory.java:123)
at ro.isdc.wro.manager.factory.BaseWroManagerFactory.create(BaseWroManagerFactory.java:49)
at ro.isdc.wro.manager.factory.DefaultWroManagerFactory.create(DefaultWroManagerFactory.java:59)
at org.everlong.wro4j.taglib.WroConfig.loadConfig(WroConfig.java:60)
at org.everlong.wro4j.taglib.WroConfig.getInstance(WroConfig.java:50)
at org.everlong.wro4j.taglib.IncludeTag.doTag(IncludeTag.java:35)
at org.apache.jsp.index_min_jsp._jspx_meth_wro_005fstyle_005f0(index_min_jsp.java:159)
at org.apache.jsp.index_min_jsp._jspService(index_min_jsp.java:58)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at java.lang.Thread.run(Thread.java:679)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.