Hi all, I am getting $subject while trying to invoke *ApplicationsOfUserCache.getApplicationsOfUserCache().isUserInvitedToApplication(userName);* Following is the stack trace. Any idea on this issue ?
[2015-03-13 06:22:18,794] ERROR {module/application/get/list.jag} - Error while getting application of userjava.lang.SecurityException: Illegal access attempt to cache ] owned by tenant {[carbon.super],[-1234]} by tenant {[man.com],[9]} [2015-03-13 06:22:18,795] ERROR {org.jaggeryjs.jaggery.core.manager.WebAppManager} - org.mozilla.javascript.JavaScriptException: Error while getting application of userJavaException: java.lang.SecurityException: Illegal access attempt to cache ] owned by tenant {[carbon.super],[-1234]} by tenant {[man.com],[9]} (/appmgt/modules/application/get/list.jag#564) org.jaggeryjs.scriptengine.exceptions.ScriptException: org.mozilla.javascript.JavaScriptException: Error while getting application of userJavaException: java.lang.SecurityException: Illegal access attempt to cache ] owned by tenant {[carbon.super],[-1234]} by tenant {[man.com],[9]} (/appmgt/modules/application/get/list.jag#564) at org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:571) at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273) at org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:541) at org.jaggeryjs.jaggery.core.JaggeryServlet.doPost(JaggeryServlet.java:29) at javax.servlet.http.HttpServlet.service(HttpServlet.java:755) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339) at org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178) at org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47) at org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56) at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47) at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141) at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: org.mozilla.javascript.JavaScriptException: Error while getting application of userJavaException: java.lang.SecurityException: Illegal access attempt to cache ] owned by tenant {[carbon.super],[-1234]} by tenant {[man.com],[9]} (/appmgt/modules/application/get/list.jag#564) at org.jaggeryjs.rhino.appmgt.modules.application.get.c0._c_anonymous_25(/appmgt/modules/application/get/list.jag:564) at org.jaggeryjs.rhino.appmgt.modules.application.get.c0.call(/appmgt/modules/application/get/list.jag) at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:74) at org.jaggeryjs.rhino.appmgt.modules.application.get.c0._c_anonymous_20(/appmgt/modules/application/get/list.jag:450) at org.jaggeryjs.rhino.appmgt.modules.application.get.c0.call(/appmgt/modules/application/get/list.jag) at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:74) at org.jaggeryjs.rhino.appmgt.modules.application.get.c0._c_anonymous_26(/appmgt/modules/application/get/list.jag:578) at org.jaggeryjs.rhino.appmgt.modules.application.get.c0.call(/appmgt/modules/application/get/list.jag) at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63) at org.jaggeryjs.rhino.appmgt.modules.application.get.c0._c_anonymous_24(/appmgt/modules/application/get/list.jag:503) at org.jaggeryjs.rhino.appmgt.modules.application.get.c0.call(/appmgt/modules/application/get/list.jag) at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:74) at org.jaggeryjs.rhino.appmgt.modules.application.get.c0._c_anonymous_19(/appmgt/modules/application/get/list.jag:421) at org.jaggeryjs.rhino.appmgt.modules.application.get.c0.call(/appmgt/modules/application/get/list.jag) at org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2430) at org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:269) at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:97) at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42) at org.jaggeryjs.rhino.appmgt.modules.application.c0._c_anonymous_45(/appmgt/modules/application/module.jag:196) at org.jaggeryjs.rhino.appmgt.modules.application.c0.call(/appmgt/modules/application/module.jag) at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85) at org.jaggeryjs.rhino.appmgt.site.blocks.application.get.ajax.c0._c_anonymous_1(/appmgt/site/blocks/application/get/ajax/list.jag:87) at org.jaggeryjs.rhino.appmgt.site.blocks.application.get.ajax.c0.call(/appmgt/site/blocks/application/get/ajax/list.jag) at org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:23) at org.jaggeryjs.rhino.appmgt.site.blocks.application.get.ajax.c0._c_script_0(/appmgt/site/blocks/application/get/ajax/list.jag:25) at org.jaggeryjs.rhino.appmgt.site.blocks.application.get.ajax.c0.call(/appmgt/site/blocks/application/get/ajax/list.jag) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091) at org.jaggeryjs.rhino.appmgt.site.blocks.application.get.ajax.c0.call(/appmgt/site/blocks/application/get/ajax/list.jag) at org.jaggeryjs.rhino.appmgt.site.blocks.application.get.ajax.c0.exec(/appmgt/site/blocks/application/get/ajax/list.jag) at org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567) ... 35 more -- Gayan Dhanuska Software Engineer http://wso2.com/ Lean Enterprise Middleware Mobile 071 666 2327 Office Tel : 94 11 214 5345 Fax : 94 11 214 5300 Twitter : https://twitter.com/gayanlggd
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev