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
[2024-03-23 11:43:35,302] ERROR {org.wso2.carbon.streaming.integrator.core.internal.StreamProcessorService} - Exception occurred when validating Siddhi App 65a9511f5d9ec417a7fa9a08 io.siddhi.core.exception.SiddhiAppCreationException: Error on '65a9511f5d9ec417a7fa9a08' @ Line: 57. Position: 1, near '@sink(type='nats',
destination='...',
server.urls='...',
@map(type = 'json', event.grouping.enabled='false')
)'. org/apache/logging/log4j/LogManager
at io.siddhi.core.util.ExceptionUtil.populateQueryContext(ExceptionUtil.java:58)
at io.siddhi.core.util.ExceptionUtil.populateQueryContext(ExceptionUtil.java:35)
at io.siddhi.core.util.parser.helper.DefinitionParserHelper.addEventSink(DefinitionParserHelper.java:588)
at io.siddhi.core.util.SiddhiAppRuntimeBuilder.defineStream(SiddhiAppRuntimeBuilder.java:119)
at io.siddhi.core.util.parser.SiddhiAppParser.defineStreamDefinitions(SiddhiAppParser.java:375)
at io.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:231)
at io.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:87)
at io.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:97)
at org.wso2.carbon.streaming.integrator.core.internal.StreamProcessorService.validateAndSave(StreamProcessorService.java:280)
at org.wso2.carbon.streaming.integrator.core.impl.SiddhiAppsApiServiceImpl.siddhiAppsPut(SiddhiAppsApiServiceImpl.java:136)
at org.wso2.carbon.streaming.integrator.core.impl.SiddhiAppsApiServiceImpl.siddhiAppsPut(SiddhiAppsApiServiceImpl.java:910)
at org.wso2.carbon.streaming.integrator.core.api.SiddhiAppsApi.siddhiAppsPut(SiddhiAppsApi.java:104)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.wso2.msf4j.internal.router.HttpMethodInfo.invokeResource(HttpMethodInfo.java:187)
at org.wso2.msf4j.internal.router.HttpMethodInfo.invoke(HttpMethodInfo.java:143)
at org.wso2.msf4j.internal.MSF4JHttpConnectorListener.dispatchMethod(MSF4JHttpConnectorListener.java:218)
at org.wso2.msf4j.internal.MSF4JHttpConnectorListener.lambda$onMessage$58(MSF4JHttpConnectorListener.java:129)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:830)
Caused by: java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager
at io.siddhi.extension.io.nats.sink.nats.NATSCore.<clinit>(NATSCore.java:45)
at io.siddhi.extension.io.nats.sink.NATSSink.init(NATSSink.java:233)
at io.siddhi.core.stream.output.sink.Sink.init(Sink.java:111)
at io.siddhi.core.util.parser.helper.DefinitionParserHelper.addEventSink(DefinitionParserHelper.java:549)
... 20 more
Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.LogManager cannot be found by siddhi-io-nats_2.0.14
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:512)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:423)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:415)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:155)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 24 more
Suggested Labels:
Suggested Assignees:
Affected Product Version:
2.0.14
OS, DB, other environment details and versions:
Linux
Steps to reproduce:
Just create a simple sink of type mats
Related Issues:
The text was updated successfully, but these errors were encountered:
Description:
Cannot load NATS sink:
Suggested Labels:
Suggested Assignees:
Affected Product Version:
2.0.14
OS, DB, other environment details and versions:
Linux
Steps to reproduce:
Just create a simple sink of type mats
Related Issues:
The text was updated successfully, but these errors were encountered: