Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2.0
-
None
-
None
-
All
-
Patch Available
Description
-------------------------------------------------------------------------------
Test set: org.apache.camel.component.esper.EsperRouteTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.56 sec <<< FAILURE!
testSendMessagesIntoEsper(org.apache.camel.component.esper.EsperRouteTest) Time elapsed: 2.292 sec <<< ERROR!
java.lang.NoClassDefFoundError: org/antlr/runtime/RecognizerSharedState
at com.espertech.esper.epl.generated.EsperEPL2GrammarLexer.<init>(EsperEPL2GrammarLexer.java:361)
at com.espertech.esper.epl.parse.ParseHelper.parse(ParseHelper.java:109)
at com.espertech.esper.core.EPAdministratorImpl.compilePattern(EPAdministratorImpl.java:342)
at com.espertech.esper.core.EPAdministratorImpl.createPatternStmt(EPAdministratorImpl.java:131)
at com.espertech.esper.core.EPAdministratorImpl.createPattern(EPAdministratorImpl.java:91)
at org.apache.camel.component.esper.EsperEndpoint.createStatement(EsperEndpoint.java:76)
at org.apache.camel.component.esper.EsperEndpoint.getStatement(EsperEndpoint.java:68)
at org.apache.camel.component.esper.EsperEndpoint.createConsumer(EsperEndpoint.java:54)
at org.apache.camel.component.esper.EsperEndpoint.createConsumer(EsperEndpoint.java:30)
at org.apache.camel.impl.EventDrivenConsumerRoute.addServices(EventDrivenConsumerRoute.java:60)
at org.apache.camel.impl.DefaultRoute.onStartingServices(DefaultRoute.java:83)
at org.apache.camel.impl.RouteService.doStart(RouteService.java:123)
at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:53)
at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:957)
at org.apache.camel.ContextTestSupport.startCamelContext(ContextTestSupport.java:120)
at org.apache.camel.ContextTestSupport.setUp(ContextTestSupport.java:85)
at junit.framework.TestCase.runBare(TestCase.java:125)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Caused by: java.lang.ClassNotFoundException: org.antlr.runtime.RecognizerSharedState
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 37 more
Caused by: java.lang.ClassNotFoundException: org.antlr.runtime.RecognizerSharedState
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 37 more