You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[2022-02-01 04:12:03,335] ERROR {org.wso2.carbon.data.provider.endpoint.DataProviderEndPoint} - Error initializing the data provider endpoint for source type SiddhiStoreDataProvider. begin 1028, end 1031, length 655 io.siddhi.core.exception.OnDemandQueryCreationException: begin 1028, end 1031, length 655 at io.siddhi.core.SiddhiAppRuntimeImpl.getOnDemandQueryOutputAttributes(SiddhiAppRuntimeImpl.java:410) at io.siddhi.core.SiddhiAppRuntimeImpl.getOnDemandQueryOutputAttributes(SiddhiAppRuntimeImpl.java:374) at org.wso2.carbon.data.provider.siddhi.SiddhiProvider.init(SiddhiProvider.java:83) at org.wso2.carbon.data.provider.endpoint.DataProviderEndPoint.onMessage(DataProviderEndPoint.java:224) at jdk.internal.reflect.GeneratedMethodAccessor49.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.wso2.msf4j.internal.MSF4JWSConnectorListener.executeMethod(MSF4JWSConnectorListener.java:363) at org.wso2.msf4j.internal.MSF4JWSConnectorListener.lambda$handleTextWebSocketMessage$3(MSF4JWSConnectorListener.java:199) at java.base/java.util.Optional.ifPresent(Optional.java:183) at org.wso2.msf4j.internal.MSF4JWSConnectorListener.handleTextWebSocketMessage(MSF4JWSConnectorListener.java:180) at org.wso2.msf4j.internal.MSF4JWSConnectorListener.onMessage(MSF4JWSConnectorListener.java:86) at org.wso2.transport.http.netty.contractimpl.websocket.DefaultWebSocketConnectorFuture.notifyWebSocketListener(DefaultWebSocketConnectorFuture.java:52) at org.wso2.transport.http.netty.contractimpl.websocket.WebSocketInboundFrameHandler.notifyTextMessage(WebSocketInboundFrameHandler.java:203) at org.wso2.transport.http.netty.contractimpl.websocket.WebSocketInboundFrameHandler.channelRead(WebSocketInboundFrameHandler.java:158) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:345) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:337) at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86) at io.netty.handler.codec.http.websocketx.Utf8FrameValidator.channelRead(Utf8FrameValidator.java:77) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:345) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:337) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:323) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:297) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:345) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:337) at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1476) at io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1225) at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1272) at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:502) at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:441) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:278) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:345) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:337) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1408) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:345) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:930) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:677) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:612) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:529) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:491) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:905) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.lang.StringIndexOutOfBoundsException: begin 1028, end 1031, length 655 at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3319) at java.base/java.lang.String.substring(String.java:1874) at io.siddhi.query.api.util.ExceptionUtil.getContext(ExceptionUtil.java:119) at io.siddhi.core.exception.SiddhiAppCreationException.setQueryContextIndexIfAbsent(SiddhiAppCreationException.java:129) at io.siddhi.core.exception.SiddhiAppCreationException.<init>(SiddhiAppCreationException.java:110) at io.siddhi.core.util.ExceptionUtil.populateQueryContext(ExceptionUtil.java:58) at io.siddhi.core.table.record.ExpressionBuilder.buildVariableExecutors(ExpressionBuilder.java:429) at io.siddhi.core.table.record.ExpressionBuilder.build(ExpressionBuilder.java:125) at io.siddhi.extension.store.rdbms.RDBMSEventTable.compileOrderByClause(RDBMSEventTable.java:2122) at io.siddhi.extension.store.rdbms.RDBMSEventTable.compileSelection(RDBMSEventTable.java:1987) at io.siddhi.core.table.record.AbstractQueryableRecordTable.compileSelection(AbstractQueryableRecordTable.java:827) at io.siddhi.core.util.parser.OnDemandQueryParser.constructOptimizedOnDemandQueryRuntime(OnDemandQueryParser.java:352) at io.siddhi.core.util.parser.OnDemandQueryParser.constructOnDemandQueryRuntime(OnDemandQueryParser.java:312) at io.siddhi.core.util.parser.OnDemandQueryParser.parse(OnDemandQueryParser.java:156) at io.siddhi.core.SiddhiAppRuntimeImpl.getOnDemandQueryOutputAttributes(SiddhiAppRuntimeImpl.java:398) ... 48 more
Steps to reproduce:
Create 4 or more APIs with different users and try to observe the statistics via the widget(APIMTopApiCreators) which fetch data from the AM_DB.
Affected Product Version:
APIM-3.2.0
Environment details (with versions):
N/A
The text was updated successfully, but these errors were encountered:
Description:
[2022-02-01 04:12:03,335] ERROR {org.wso2.carbon.data.provider.endpoint.DataProviderEndPoint} - Error initializing the data provider endpoint for source type SiddhiStoreDataProvider. begin 1028, end 1031, length 655 io.siddhi.core.exception.OnDemandQueryCreationException: begin 1028, end 1031, length 655 at io.siddhi.core.SiddhiAppRuntimeImpl.getOnDemandQueryOutputAttributes(SiddhiAppRuntimeImpl.java:410) at io.siddhi.core.SiddhiAppRuntimeImpl.getOnDemandQueryOutputAttributes(SiddhiAppRuntimeImpl.java:374) at org.wso2.carbon.data.provider.siddhi.SiddhiProvider.init(SiddhiProvider.java:83) at org.wso2.carbon.data.provider.endpoint.DataProviderEndPoint.onMessage(DataProviderEndPoint.java:224) at jdk.internal.reflect.GeneratedMethodAccessor49.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.wso2.msf4j.internal.MSF4JWSConnectorListener.executeMethod(MSF4JWSConnectorListener.java:363) at org.wso2.msf4j.internal.MSF4JWSConnectorListener.lambda$handleTextWebSocketMessage$3(MSF4JWSConnectorListener.java:199) at java.base/java.util.Optional.ifPresent(Optional.java:183) at org.wso2.msf4j.internal.MSF4JWSConnectorListener.handleTextWebSocketMessage(MSF4JWSConnectorListener.java:180) at org.wso2.msf4j.internal.MSF4JWSConnectorListener.onMessage(MSF4JWSConnectorListener.java:86) at org.wso2.transport.http.netty.contractimpl.websocket.DefaultWebSocketConnectorFuture.notifyWebSocketListener(DefaultWebSocketConnectorFuture.java:52) at org.wso2.transport.http.netty.contractimpl.websocket.WebSocketInboundFrameHandler.notifyTextMessage(WebSocketInboundFrameHandler.java:203) at org.wso2.transport.http.netty.contractimpl.websocket.WebSocketInboundFrameHandler.channelRead(WebSocketInboundFrameHandler.java:158) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:345) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:337) at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86) at io.netty.handler.codec.http.websocketx.Utf8FrameValidator.channelRead(Utf8FrameValidator.java:77) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:345) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:337) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:323) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:297) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:345) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:337) at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1476) at io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1225) at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1272) at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:502) at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:441) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:278) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:345) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:337) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1408) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:345) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:930) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:677) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:612) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:529) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:491) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:905) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.lang.StringIndexOutOfBoundsException: begin 1028, end 1031, length 655 at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3319) at java.base/java.lang.String.substring(String.java:1874) at io.siddhi.query.api.util.ExceptionUtil.getContext(ExceptionUtil.java:119) at io.siddhi.core.exception.SiddhiAppCreationException.setQueryContextIndexIfAbsent(SiddhiAppCreationException.java:129) at io.siddhi.core.exception.SiddhiAppCreationException.<init>(SiddhiAppCreationException.java:110) at io.siddhi.core.util.ExceptionUtil.populateQueryContext(ExceptionUtil.java:58) at io.siddhi.core.table.record.ExpressionBuilder.buildVariableExecutors(ExpressionBuilder.java:429) at io.siddhi.core.table.record.ExpressionBuilder.build(ExpressionBuilder.java:125) at io.siddhi.extension.store.rdbms.RDBMSEventTable.compileOrderByClause(RDBMSEventTable.java:2122) at io.siddhi.extension.store.rdbms.RDBMSEventTable.compileSelection(RDBMSEventTable.java:1987) at io.siddhi.core.table.record.AbstractQueryableRecordTable.compileSelection(AbstractQueryableRecordTable.java:827) at io.siddhi.core.util.parser.OnDemandQueryParser.constructOptimizedOnDemandQueryRuntime(OnDemandQueryParser.java:352) at io.siddhi.core.util.parser.OnDemandQueryParser.constructOnDemandQueryRuntime(OnDemandQueryParser.java:312) at io.siddhi.core.util.parser.OnDemandQueryParser.parse(OnDemandQueryParser.java:156) at io.siddhi.core.SiddhiAppRuntimeImpl.getOnDemandQueryOutputAttributes(SiddhiAppRuntimeImpl.java:398) ... 48 more
Steps to reproduce:
Create 4 or more APIs with different users and try to observe the statistics via the widget(APIMTopApiCreators) which fetch data from the AM_DB.
Affected Product Version:
APIM-3.2.0
Environment details (with versions):
N/A
The text was updated successfully, but these errors were encountered: