Download [#CEP-1449] An exception is thrown when CRON expressions are

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
[CEP-1449] An exception is thrown when CRON expressions are updated within
an execution plan on a standalone pack Created: 27/Oct/15 Updated: 25/Feb/16 Resolved: 12/Jan/16
Status:
Project:
Component/s:
Affects
Version/s:
Fix Version/s:
Resolved
WSO2 Complex Event Processor
None
4.0.0
Type:
Reporter:
Resolution:
Labels:
Remaining
Estimate:
Time Spent:
Original
Estimate:
Environment:
Bug
Priority:
Shavantha Weerasinghe Assignee:
Fixed
Votes:
None
Not Specified
Attachments:
4.1.0-Alpha, 4.1.0-RC1, 4.1.0
Normal
Mohanadarshan Vivekanandalingam
0
Not Specified
Not Specified
Operating System : Linux
Java Version/Java VM : JDK1.7.0_79
Packs : DAS
DBMS: h2
Browser : Firefox 27.0
Set up :DAS3.0.0 Distributed setup
Release:RC2/RC3
ExecutionPlan.siddhiql
outStream_1.0.0.json
Major
Moderate
inStream_1.0.0.json
Severity:
Estimated
Complexity:
Test cases added: Yes
Description
An exception is thrown when CRON expressions are updated within an execution plan on a standalone pack
steps
1.add the attached event streams and execution plan
2.update the cron time
@Import('inStream:1.0.0')
define stream inStream (meta_id int, correlation_id int, id int, name string, val1 int);
@Export('outStream:1.0.0')
define stream outStream (meta_id int, correlation_id int, id int, name string, val1 int);
from inStream#window.cron("0 25 14 * * ?")
select *
group by id
insert into outStream;
the exception thrown is
[2015-10-27 13:57:45,004] INFO {org.wso2.carbon.core.init.JMXServerManager} - JMX Servic
[2015-10-27 13:57:45,035] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComp
[2015-10-27 13:57:45,035] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComp
[2015-10-27 13:57:45,394] INFO {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} [2015-10-27 13:57:55,720] INFO {org.wso2.carbon.event.processor.manager.core.internal.Car
[2015-10-27 13:59:25,137] INFO {org.wso2.carbon.core.services.util.CarbonAuthenticationUt
[2015-10-27 13:59:45,342] ERROR {org.wso2.siddhi.core.query.processor.stream.AbstractStrea
org.quartz.ObjectAlreadyExistsException: Unable to store Job : 'CronWindowGroup.EventRemov
at org.quartz.simpl.RAMJobStore.storeJob(RAMJobStore.java:277)
at org.quartz.simpl.RAMJobStore.storeJobAndTrigger(RAMJobStore.java:249)
at org.quartz.core.QuartzScheduler.scheduleJob(QuartzScheduler.java:840)
at org.quartz.impl.StdScheduler.scheduleJob(StdScheduler.java:250)
at org.wso2.siddhi.core.query.processor.stream.window.CronWindowProcessor.schedule
at org.wso2.siddhi.core.query.processor.stream.window.CronWindowProcessor.start(Cr
at org.wso2.siddhi.core.ExecutionPlanRuntime.start(ExecutionPlanRuntime.java:141)
at org.wso2.siddhi.core.SiddhiManager.validateExecutionPlan(SiddhiManager.java:69)
at org.wso2.siddhi.core.SiddhiManager.validateExecutionPlan(SiddhiManager.java:74)
at org.wso2.carbon.event.processor.core.internal.util.helper.EventProcessorHelper.
at org.wso2.carbon.event.processor.core.internal.CarbonEventProcessorService.editA
at org.wso2.carbon.event.processor.admin.EventProcessorAdminService.editActiveExec
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
at java.lang.reflect.Method.invoke(Method.java:483)
at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessag
at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(Abs
at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageRecei
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTra
at org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTra
at org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWi
at org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSend
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.j
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOper
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
at org.wso2.carbon.event.processor.stub.EventProcessorAdminServiceStub.editActiveE
at org.apache.jsp.eventprocessor.edit_005fexecution_005fplan_005fajaxprocessor_jsp
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathSe
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRe
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServle
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.jav
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain
at org.wso2.carbon.ui.filters.CSRFPreventionFilter.doFilter(CSRFPreventionFilter.j
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain
at org.wso2.carbon.ui.filters.CRLFPreventionFilter.doFilter(CRLFPreventionFilter.j
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain
at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilte
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.ja
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeVa
at org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.
at org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.j
at org.wso2.carbon.event.receiver.core.internal.tenantmgt.TenantLazyLoaderValve.in
at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValve
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62)
at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(Carbon
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContex
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:11
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processo
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractPr
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:169
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:
at java.lang.Thread.run(Thread.java:745)
[2015-10-27 13:59:45,348] INFO {org.wso2.carbon.event.processor.core.internal.util.EventP
[2015-10-27 13:59:45,351] INFO {org.wso2.carbon.event.processor.core.EventProcessorDeploy
[2015-10-27 13:59:45,372] INFO {org.wso2.carbon.event.processor.core.internal.util.EventP
[2015-10-27 13:59:45,409] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction}
[2015-10-27 13:59:45,414] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction}
[2015-10-27 13:59:45,414] INFO {org.wso2.carbon.event.processor.core.EventProcessorDeploy
^C[2015-10-27 14:01:13,903] INFO {org.wso2.carbon.core.init.CarbonServerManager} - Shutd
[2015-10-27 14:01:13,904] INFO {org.wso2.carbon.core.init.CarbonServerManager} - Gracefu
[2015-10-27 14:01:13,907] INFO {org.wso2.carbon.core.ServerManagement} - Starting to swi
[2015-10-27 14:01:13,912] INFO {org.wso2.carbon.core.ServerManagement} - Stopped all tra
[2015-10-27 14:01:13,912] INFO {org.wso2.carbon.core.ServerManagement} - Waiting for req
[2015-10-27 14:01:13,933] INFO {org.wso2.carbon.core.ServerManagement} - All requests ha
[2015-10-27 14:01:13,933] INFO {org.wso2.carbon.core.ServerManagement} - Waiting for dep
[2015-10-27 14:01:13,949] INFO {org.springframework.web.context.support.XmlWebApplication
[2015-10-27 14:01:13,955] INFO {org.springframework.beans.factory.support.DefaultListable
[cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring
TableNotFoundExceptionMapper,analyticsTimeoutExceptionMapper,jacksonJsonProvider,httpHeade
Comments
Comment by Shavantha Weerasinghe [ 27/Oct/15 ]
The standalone pack also crashed on two occasions on my laptop
[2015-10-27 14:03:43,640] INFO
{org.wso2.carbon.event.stream.core.EventStreamDeployer}
- Stream definition is deployed successfully : outStream:1.0.0
[2015-10-27 14:05:16,587] INFO
{org.wso2.carbon.event.processor.core.internal.util.EventProcessorConfigurationFilesystemInvoker}
- Execution plan configuration for ExecutionPlan saved in the filesystem
[2015-10-27 14:05:16,642] INFO
{org.wso2.carbon.event.stream.core.internal.EventJunction} - Producer added to the junction.
Stream:outStream:1.0.0
[2015-10-27 14:05:16,662] INFO {org.wso2.carbon.event.stream.core.internal.EventJunction}
- Consumer added to the junction. Stream:inStream:1.0.0
[2015-10-27 14:05:16,662] INFO
{org.wso2.carbon.event.processor.core.EventProcessorDeployer}
- Execution plan is deployed successfully and in active state : ExecutionPlan
[CodeBlob (0x00007faad4e36b50)]
Framesize: 0
BufferBlob (0x00007faad4e36b50) used for StubRoutines (2)
#
1. A fatal error has been detected by the Java Runtime Environment:
#
2. Internal Error (sharedRuntime.cpp:833), pid=11497, tid=140369258469120
3. fatal error: exception happened outside interpreter, nmethods and vtable stubs at pc
0x00007faad4e391af
#
4. JRE version: Java(TM) SE Runtime Environment (8.0_25-b17) (build 1.8.0_25-b17)
5. Java VM: Java HotSpot(TM) 64-Bit Server VM (25.25-b02 mixed mode linux-amd64
compressed oops)
6. Failed to write core dump. Core dumps have been disabled. To enable core dumping, try
"ulimit -c unlimited" before starting Java again
#
7. An error report file with more information is saved as:
8. /home/shavantha/projects/DAS/300/rc3/wso2das-3.0.0/hs_err_pid11497.log
#
9. If you would like to submit a bug report, please visit:
10. http://bugreport.sun.com/bugreport/crash.jsp
#
Comment by Shavantha Weerasinghe [ 27/Oct/15 ]
when we tested on a developer laptop the same exception came without the pack stopping and also
the publisher sent out the events when the cron expression was reached
Comment by Mohanadarshan Vivekanandalingam [ 12/Jan/16 ]
Fixed the above exception in commit [1]
[1] https://github.com/wso2/siddhi/commit/aa9189f394fbd15deb3c1fdc398b8e7cfe259aad
Generated at Fri May 12 11:54:36 IST 2017 using JIRA 7.2.2#72004sha1:9d5132893cc8c728a3601a9034a1f8547ef5c7be.
Related documents