Hi,
I got following exception while loading the uuf app under remote debugging
mode. Also it deactivates the debug pointers after starting the debug mode.
[2016-05-27 10:12:48,206] ERROR {org.wso2.carbon.uuf.internal.UUFRegistry}
- A server occurred while serving for request '/bpmn-explorer/'.
org.wso2.carbon.uuf.exception.UUFException: Cannot reload app
'org.wso2.uuf.sample.bpmn-explorer'.
at
org.wso2.carbon.uuf.internal.UUFRegistry.lambda$reloadApp$15(UUFRegistry.java:158)
at
org.wso2.carbon.uuf.internal.UUFRegistry$$Lambda$113/1112994017.get(Unknown
Source)
at java.util.Optional.orElseThrow(Optional.java:290)
at
org.wso2.carbon.uuf.internal.UUFRegistry.reloadApp(UUFRegistry.java:158)
at org.wso2.carbon.uuf.internal.UUFRegistry.serve(UUFRegistry.java:99)
at
org.wso2.carbon.uuf.connector.ms.UUFMicroservice.execute(UUFMicroservice.java:105)
at
org.wso2.carbon.uuf.connector.ms.UUFMicroservice.get(UUFMicroservice.java:93)
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:497)
at
org.wso2.msf4j.internal.router.HttpMethodInfo.invoke(HttpMethodInfo.java:95)
at
org.wso2.msf4j.internal.router.HttpDispatcher.channelRead0(HttpDispatcher.java:53)
at
org.wso2.msf4j.internal.router.HttpDispatcher.channelRead0(HttpDispatcher.java:31)
at
io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
at
io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:32)
at
io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:299)
at
io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:36)
at
io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:110)
at
io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
Without remote debugging mode enabling, it loads apps successfully.
Without "Debugger.isDebuggingEnabled()" as in [1], it starts the debugging
successfully. But still gives the same exception.
I think, when debugging is enabled, reloading the requested app is not
properly working.
[1]
https://github.com/wso2/carbon-uuf/blob/v1.0.0-m5/uuf-core/src/main/java/org/wso2/carbon/uuf/internal/UUFRegistry.java#L98
Thanks
Sudharma
--
Sudharma Subasinghe,
Software Engineer,
WSO2 Inc.
Email: [email protected] <[email protected]>
Mobile : +94 710 565 157 <%2B94%20718%20210%20200>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev