Am sure during those intermittent cases the action is not sent, this is
pretty trivial code block, if the item is not in the request then its
throwing the error.

Regards,
/Nuwan


On Tue, May 7, 2013 at 2:06 PM, Manjula Rathnayake <[email protected]>wrote:

> Hi Nuwan,
>
> Please note that this is intermittent. Here the error is action is missing
> in incoming httpRequest. But Why this become intermittent?
>
>  var mod, obj, result,
>         action = request.getParameter("action"),
>         site = require("/site/conf/site.json");
>
> // line 140
> else {
>         throw new Error("No action specified");
>     }
>
>
> thank you.
>
>
>
> On Tue, May 7, 2013 at 1:58 PM, Nuwan Bandara <[email protected]> wrote:
>
>> whats in (/appmgt/site/blocks/application/add/ajax/add.jag#140
>>
>> Regards,
>> /Nuwan
>>
>>
>> On Tue, May 7, 2013 at 1:55 PM, Manjula Rathnayake <[email protected]>wrote:
>>
>>> Hi all,
>>>
>>> Following intermittent error is noticed. Any idea/clue please.
>>>
>>>  ERROR {org.jaggeryjs.jaggery.core.manager.WebAppManager} -
>>> org.mozilla.javascript.JavaScriptException: Error: No action specified
>>> (/appmgt/site/blocks/application/add/ajax/add.jag#140)
>>> {org.jaggeryjs.jaggery.core.manager.WebAppManager}
>>> org.jaggeryjs.scriptengine.exceptions.ScriptException:
>>> org.mozilla.javascript.JavaScriptException: Error: No action specified
>>> (/appmgt/site/blocks/application/add/ajax/add.jag#140)
>>>     at
>>> org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:446)
>>>     at
>>> org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:191)
>>>     at
>>> org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:269)
>>>     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.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.invoke(CompositeValve.java:177)
>>>     at
>>> org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:161)
>>>     at
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
>>>     at
>>> org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
>>>     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:1110)
>>>     at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>>>     at java.lang.Thread.run(Thread.java:722)
>>> Caused by: org.mozilla.javascript.JavaScriptException: Error: No action
>>> specified (/appmgt/site/blocks/application/add/ajax/add.jag#140)
>>>     at
>>> org.jaggeryjs.rhino.appmgt.site.blocks.application.add.ajax.c0._c1(/appmgt/site/blocks/application/add/ajax/add.jag:140)
>>>     at
>>> org.jaggeryjs.rhino.appmgt.site.blocks.application.add.ajax.c0.call(/appmgt/site/blocks/application/add/ajax/add.jag)
>>>     at
>>> org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:57)
>>>     at
>>> org.jaggeryjs.rhino.appmgt.site.blocks.application.add.ajax.c0._c0(/appmgt/site/blocks/application/add/ajax/add.jag:9)
>>>     at
>>> org.jaggeryjs.rhino.appmgt.site.blocks.application.add.ajax.c0.call(/appmgt/site/blocks/application/add/ajax/add.jag)
>>>     at
>>> org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:401)
>>>     at
>>> org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3003)
>>>     at
>>> org.jaggeryjs.rhino.appmgt.site.blocks.application.add.ajax.c0.call(/appmgt/site/blocks/application/add/ajax/add.jag)
>>>     at
>>> org.jaggeryjs.rhino.appmgt.site.blocks.application.add.ajax.c0.exec(/appmgt/site/blocks/application/add/ajax/add.jag)
>>>     at
>>> org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:441)
>>>     ... 24 more
>>>
>>>
>>> thank you.
>>>
>>>
>>> --
>>> Manjula Rathnayaka
>>> Software Engineer
>>> WSO2, Inc.
>>> Mobile:+94 77 743 1987
>>>
>>
>>
>>
>> --
>> *Thanks & Regards,
>>
>> Nuwan Bandara
>> Associate Technical Lead & Member, MC, Development Technologies
>> WSO2 Inc. - lean . enterprise . middleware |  http://wso2.com
>> blog : http://nuwanbando.com; email: [email protected]; phone: +94 11 763
>> 9629
>> *
>> <http://www.nuwanbando.com/>
>>
>
>
>
> --
> Manjula Rathnayaka
> Software Engineer
> WSO2, Inc.
> Mobile:+94 77 743 1987
>



-- 
*Thanks & Regards,

Nuwan Bandara
Associate Technical Lead & Member, MC, Development Technologies
WSO2 Inc. - lean . enterprise . middleware |  http://wso2.com
blog : http://nuwanbando.com; email: [email protected]; phone: +94 11 763 9629
*
<http://www.nuwanbando.com/>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to