Hi,

Observing below error when sendRedirect is used within a try.

...org.wso2.carbon.uuf.exception.PageRedirectException: Redirecting to
'/user-portal/recovery/password-complete?username=admin'.
    at org.wso2.carbon.uuf.core.API.sendRedirect(API.java:144)
    at jdk.nashorn.internal.scripts.Script$Recompilation$96$721A$
password_options$cu1$restOf.onGet(/home/ayesha/WORK/IS/
SOURCE/product-is/product/working/wso2is-6.0.0-SNAPSHOT/
deployment/uufapps/org.wso2.carbon.iam.user-portal/components/root/pages/
recovery/password-options.js:38)
    at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(
ScriptFunctionData.java:639)
    at jdk.nashorn.internal.runtime.ScriptFunction.invoke(
ScriptFunction.java:494)
    at jdk.nashorn.internal.runtime.ScriptRuntime.apply(
ScriptRuntime.java:393)
    at jdk.nashorn.api.scripting.ScriptObjectMirror.callMember(
ScriptObjectMirror.java:199)
    at jdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(
NashornScriptEngine.java:383)
    at jdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(
NashornScriptEngine.java:190)
    at org.wso2.carbon.uuf.renderablecreator.hbs.impl.JsExecutable.execute(
JsExecutable.java:133)
    at org.wso2.carbon.uuf.renderablecreator.hbs.impl.
MutableJsExecutable.execute(MutableJsExecutable.java:43)
    at org.wso2.carbon.uuf.renderablecreator.hbs.impl.
HbsPageRenderable.execute(HbsPageRenderable.java:124)
    at org.wso2.carbon.uuf.renderablecreator.hbs.impl.
HbsPageRenderable.render(HbsPageRenderable.java:75)
    at org.wso2.carbon.uuf.core.Page.render(Page.java:61)
    at org.wso2.carbon.uuf.core.Component.renderPage(Component.java:117)
    at org.wso2.carbon.uuf.core.App.renderPageUri(App.java:176)
    at org.wso2.carbon.uuf.core.App.renderPage(App.java:126)
    at org.wso2.carbon.uuf.internal.RequestDispatcher.servePageOrFragment(
RequestDispatcher.java:94)
    at org.wso2.carbon.uuf.internal.RequestDispatcher.serve(
RequestDispatcher.java:67)
    at org.wso2.carbon.uuf.internal.UUFServer.serve(UUFServer.java:175)
    at org.wso2.carbon.uuf.httpconnector.msf4j.UUFMicroservice.getImpl(
UUFMicroservice.java:56)
    at org.wso2.carbon.uuf.httpconnector.msf4j.UUFMicroservice.get(
UUFMicroservice.java:48)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.wso2.msf4j.internal.router.HttpMethodInfo.invoke(
HttpMethodInfo.java:132)
    at org.wso2.msf4j.internal.MSF4JMessageProcessor.dispatchMethod(
MSF4JMessageProcessor.java:130)
    at org.wso2.msf4j.internal.MSF4JMessageProcessor.receive(
MSF4JMessageProcessor.java:72)
    at org.wso2.carbon.transport.http.netty.listener.
WorkerPoolDispatchingSourceHandler.lambda$publishToWorkerPool$12(
WorkerPoolDispatchingSourceHandler.java:125)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

Created [1] to track this.

[1] https://github.com/wso2/carbon-uuf/issues/182

Thanks!
-Ayesha

-- 
*Ayesha Dissanayaka*
Software Engineer,
WSO2, Inc : http://wso2.com
<http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
20, Palmgrove Avenue, Colombo 3
E-Mail: [email protected] <[email protected]>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to