I have this error that I cannot seem to solve. I have searched everywhere, but no answers.
Here below you'll see a detailed description of the problem:
> Task :google_maps_flutter:testDebugUnitTest
io.flutter.plugins.googlemaps.CircleBuilderTest > density_AppliesToStrokeWidth PASSED
Java HotSpot(TM) 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
io.flutter.plugins.googlemaps.CircleControllerTest > controller_SetsStrokeDensity FAILED
org.mockito.exceptions.base.MockitoException at CircleControllerTest.java:20
Caused by: org.mockito.exceptions.base.MockitoException at CircleControllerTest.java:20
Caused by: java.lang.IllegalStateException at CircleControllerTest.java:20
Caused by: java.lang.IllegalArgumentException at CircleControllerTest.java:20
io.flutter.plugins.googlemaps.GoogleMapControllerTest > OnDestroyReleaseTheMap STANDARD_OUT
Downloading from maven
io.flutter.plugins.googlemaps.GoogleMapControllerTest > OnDestroyReleaseTheMap FAILED
java.lang.RuntimeException at ReflectionHelpers.java:223
Caused by: java.lang.RuntimeException at ReflectionHelpers.java:208
Caused by: java.lang.IllegalAccessException at FieldAccessorImpl.java:137
io.flutter.plugins.googlemaps.GoogleMapControllerTest > DisposeReleaseTheMap FAILED
java.lang.RuntimeException at ReflectionHelpers.java:223
Caused by: java.lang.RuntimeException at ReflectionHelpers.java:208
Caused by: java.lang.IllegalAccessException at FieldAccessorImpl.java:137
io.flutter.plugins.googlemaps.GoogleMapControllerTest > MethodCalledAfterControllerIsDestroyed FAILED
java.lang.RuntimeException at ReflectionHelpers.java:223
Caused by: java.lang.RuntimeException at ReflectionHelpers.java:208
Caused by: java.lang.IllegalAccessException at FieldAccessorImpl.java:137
io.flutter.plugins.googlemaps.GoogleMapControllerTest > InvalidateMapAfterMethodCalls FAILED
java.lang.RuntimeException at ReflectionHelpers.java:223
Caused by: java.lang.RuntimeException at ReflectionHelpers.java:208
Caused by: java.lang.IllegalAccessException at FieldAccessorImpl.java:137
io.flutter.plugins.googlemaps.GoogleMapControllerTest > InvalidateMapOnceAfterMethodCall FAILED
java.lang.RuntimeException at ReflectionHelpers.java:223
Caused by: java.lang.RuntimeException at ReflectionHelpers.java:208
Caused by: java.lang.IllegalAccessException at FieldAccessorImpl.java:137
io.flutter.plugins.googlemaps.MarkersControllerTest > controller_OnMarkerDragStart FAILED
org.mockito.exceptions.base.MockitoException at MarkersControllerTest.java:32
Caused by: org.mockito.exceptions.base.MockitoException at MarkersControllerTest.java:32
Caused by: java.lang.IllegalStateException at MarkersControllerTest.java:32
Caused by: java.lang.IllegalArgumentException at MarkersControllerTest.java:32
io.flutter.plugins.googlemaps.MarkersControllerTest > controller_OnMarkerDrag FAILED
org.mockito.exceptions.base.MockitoException at MarkersControllerTest.java:98
Caused by: org.mockito.exceptions.base.MockitoException at MarkersControllerTest.java:98
Caused by: java.lang.IllegalStateException at MarkersControllerTest.java:98
Caused by: java.lang.IllegalArgumentException at MarkersControllerTest.java:98
io.flutter.plugins.googlemaps.MarkersControllerTest > controller_OnMarkerDragEnd FAILED
org.mockito.exceptions.base.MockitoException at MarkersControllerTest.java:65
Caused by: org.mockito.exceptions.base.MockitoException at MarkersControllerTest.java:65
Caused by: java.lang.IllegalStateException at MarkersControllerTest.java:65
Caused by: java.lang.IllegalArgumentException at MarkersControllerTest.java:65
io.flutter.plugins.googlemaps.PolygonBuilderTest > density_AppliesToStrokeWidth PASSED
io.flutter.plugins.googlemaps.PolygonControllerTest > controller_SetsStrokeDensity FAILED
org.mockito.exceptions.base.MockitoException at PolygonControllerTest.java:20
Caused by: org.mockito.exceptions.base.MockitoException at PolygonControllerTest.java:20
Caused by: java.lang.IllegalStateException at PolygonControllerTest.java:20
Caused by: java.lang.IllegalArgumentException at PolygonControllerTest.java:20
io.flutter.plugins.googlemaps.PolylineBuilderTest > density_AppliesToStrokeWidth PASSED
io.flutter.plugins.googlemaps.PolylineControllerTest > controller_SetsStrokeDensity FAILED
org.mockito.exceptions.base.MockitoException at PolylineControllerTest.java:20
Caused by: org.mockito.exceptions.base.MockitoException at PolylineControllerTest.java:20
Caused by: java.lang.IllegalStateException at PolylineControllerTest.java:20
Caused by: java.lang.IllegalArgumentException at PolylineControllerTest.java:20
14 tests completed, 11 failed
Related
I have a Spring Boot 2 application running some unit testing using Embendded Mongo (de.flapdoodle.embed.mongo).
The tests when I run locally using
/gradlew clean build
It runs normally.
However, when the same application is built on GitLab CI/CD I find the following error:
WafiraApplicationTests > contextLoads() FAILED
java.lang.IllegalStateException at DefaultCacheAwareContextLoaderDelegate.java:132
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException at
ConstructorResolver.java:800
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException at
ConstructorResolver.java:800
Caused by: org.springframework.beans.factory.BeanCreationException at
BeanDefinitionValueResolver.java:342
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException at
ConstructorResolver.java:800
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException at
ConstructorResolver.java:800
Caused by: org.springframework.beans.factory.BeanCreationException at
AbstractAutowireCapableBeanFactory.java:1786
Caused by: java.io.IOException at ProcessBuilder.java:1142
Caused by: java.io.IOException at ProcessImpl.java:-2 DepositRepositoryTest > save() FAILED
java.lang.IllegalStateException at DefaultCacheAwareContextLoaderDelegate.java:132
Caused by: org.springframework.beans.factory.BeanCreationException at
AbstractAutowireCapableBeanFactory.java:1786
Caused by: java.io.IOException at ProcessBuilder.java:1142
Caused by: java.io.IOException at ProcessImpl.java:-2 TransferRepositoryTest > save() FAILED
java.lang.IllegalStateException at DefaultCacheAwareContextLoaderDelegate.java:132
Caused by: org.springframework.beans.factory.BeanCreationException at
AbstractAutowireCapableBeanFactory.java:1786
Caused by: java.io.IOException at ProcessBuilder.java:1142
Caused by: java.io.IOException at ProcessImpl.java:-2 ClientRepositoryTest > findByClientEmail() FAILED
This is an example of one test case below:
#DataMongoTest
public class DepositRepositoryTest {
#Autowired
private DepositRepository depositRepository;
#Test
void save(){
var deposit = DataGenerator.getDeposityEntityWithFixedValues();
depositRepository.save(deposit);
AtomicInteger atomicInteger = new AtomicInteger(0);
depositRepository.findAll().forEach(it -> atomicInteger.addAndGet(1));
assertThat(atomicInteger.get()).isEqualTo(1);
}
Any ideas?
Set-up/Configuration
In case, it's needed, it's at this SO question.
Issue
localhost:8083 is working fine as i am getting:
{"version":"2.6.0","commit":"62abe01bee039651","kafka_cluster_id":"k6c8D2yvR5OcVFMVZayP9A"}
But when i post a connector configuration to localhost:8083/connectors, i am getting a 500 Server Error. I am not posting the json body as it's not relevant.
Error
WARN /connectors (org.eclipse.jetty.server.HttpChannel)
javax.servlet.ServletException:
org.glassfish.jersey.server.ContainerException:
java.lang.NoClassDefFoundError: io/debezium/DebeziumException
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:408)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:365)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:318)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:760)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:547)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1607)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1577)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:221)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.lang.Thread.run(Thread.java:748) Caused by: org.glassfish.jersey.server.ContainerException:
java.lang.NoClassDefFoundError: io/debezium/DebeziumException
at org.glassfish.jersey.servlet.internal.ResponseWriter.rethrow(ResponseWriter.java:254)
at org.glassfish.jersey.servlet.internal.ResponseWriter.failure(ResponseWriter.java:236)
at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:436)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:261)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:679)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:392)
... 30 more Caused by: java.lang.NoClassDefFoundError: io/debezium/DebeziumException
at io.debezium.relational.HistorizedRelationalDatabaseConnectorConfig.(HistorizedRelationalDatabaseConnectorConfig.java:52)
at io.debezium.connector.oracle.OracleConnector.config(OracleConnector.java:51)
at org.apache.kafka.connect.runtime.AbstractHerder.validateConnectorConfig(AbstractHerder.java:366)
at org.apache.kafka.connect.runtime.AbstractHerder.lambda$validateConnectorConfig$1(AbstractHerder.java:326)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
... 1 more Caused by: java.lang.ClassNotFoundException: io.debezium.DebeziumException
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at org.apache.kafka.connect.runtime.isolation.PluginClassLoader.loadClass(PluginClassLoader.java:104)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
... 9 more [2020-09-23 17:51:57,186] WARN unhandled due to prior sendError (org.eclipse.jetty.server.HttpChannelState)
javax.servlet.ServletException:
org.glassfish.jersey.server.ContainerException:
java.lang.NoClassDefFoundError: io/debezium/DebeziumException
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:408)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:365)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:318)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:760)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:547)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1607)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1577)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:221)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.lang.Thread.run(Thread.java:748) Caused by: org.glassfish.jersey.server.ContainerException:
java.lang.NoClassDefFoundError: io/debezium/DebeziumException
at org.glassfish.jersey.servlet.internal.ResponseWriter.rethrow(ResponseWriter.java:254)
at org.glassfish.jersey.servlet.internal.ResponseWriter.failure(ResponseWriter.java:236)
at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:436)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:261)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:679)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:392)
... 30 more Caused by: java.lang.NoClassDefFoundError: io/debezium/DebeziumException
at io.debezium.relational.HistorizedRelationalDatabaseConnectorConfig.(HistorizedRelationalDatabaseConnectorConfig.java:52)
at io.debezium.connector.oracle.OracleConnector.config(OracleConnector.java:51)
at org.apache.kafka.connect.runtime.AbstractHerder.validateConnectorConfig(AbstractHerder.java:366)
at org.apache.kafka.connect.runtime.AbstractHerder.lambda$validateConnectorConfig$1(AbstractHerder.java:326)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
... 1 more Caused by: java.lang.ClassNotFoundException: io.debezium.DebeziumException
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at org.apache.kafka.connect.runtime.isolation.PluginClassLoader.loadClass(PluginClassLoader.java:104)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
... 9 more
instantclient
echo %PATH% | findstr instantclient
XXX;C:\Users\username\Downloads\instantclient_19_8;XXX
Any pointers would be much appreciated.
Thanks!
Issue solved, i had to copy all the jars found in the plug-in archive here.
I am using drools workbench 6.5.0 and trying to configure into Wildfly 10. I am gettings below error.
Cannot upload deployment: {"WFLYCTL0080: Failed services" =>
{"jboss.deployment.unit."kie-drools-wb-6.5.0.Final-wildfly10.war".WeldStartService"
=> "org.jboss.msc.service.StartException in service jboss.deployment.unit."kie-drools-wb-6.5.0.Final-wildfly10.war".WeldStartService:
Failed to start service Caused by:
org.jboss.weld.exceptions.DeploymentException: Exception List with 1
exceptions: Exception 0 : org.jboss.weld.exceptions.WeldException:
WELD-000049: Unable to invoke public void
org.kie.workbench.drools.backend.server.AppSetup.assertPlayground() on
org.kie.workbench.drools.backend.server.AppSetup#26107fd0 at
org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:100)
at
org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.postConstruct(DefaultLifecycleCallbackInvoker.java:81)
at
org.jboss.weld.injection.producer.BasicInjectionTarget.postConstruct(BasicInjectionTarget.java:126)
at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:171) at
org.jboss.weld.context.AbstractContext.get(AbstractContext.java:96) at
org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.get(ContextualInstanceStrategy.java:101)
at
org.jboss.weld.bean.ContextualInstanceStrategy$ApplicationScopedContextualInstanceStrategy.get(ContextualInstanceStrategy.java:141)
at
org.jboss.weld.bean.ContextualInstance.get(ContextualInstance.java:50)
at
org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:99)
at
org.jboss.weld.bean.proxy.ProxyMethodHandler.getInstance(ProxyMethodHandler.java:125)
at
org.kie.workbench.drools.backend.server.AppSetup$Proxy$_$$WeldClientProxy.toString(Unknown
Source) at
org.uberfire.backend.server.cdi.SystemConfigProducer.runPostConstruct(SystemConfigProducer.java:162)
at
org.uberfire.backend.server.cdi.SystemConfigProducer.afterDeploymentValidation(SystemConfigProducer.java:143)
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:498) at
org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:88)
at
org.jboss.weld.injection.MethodInvocationStrategy$SpecialParamPlusBeanManagerStrategy.invoke(MethodInvocationStrategy.java:144)
at
org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:309)
at
org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:124)
at
org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:287)
at
org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:265)
at
org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:271)
at
org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:260)
at
org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:154)
at
org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:148)
at
org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:53)
at
org.jboss.weld.bootstrap.events.AbstractDeploymentContainerEvent.fire(AbstractDeploymentContainerEvent.java:35)
at
org.jboss.weld.bootstrap.events.AfterDeploymentValidationImpl.fire(AfterDeploymentValidationImpl.java:28)
at
org.jboss.weld.bootstrap.WeldStartup.validateBeans(WeldStartup.java:450)
at
org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:90)
at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:96)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748) Caused by:
java.lang.reflect.InvocationTargetException 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:498) at
org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:98)
... 37 more Caused by: java.lang.RuntimeException:
java.lang.RuntimeException: java.util.NoSuchElementException at
org.kie.workbench.drools.backend.server.AppSetup.assertPlayground(AppSetup.java:195)
... 42 more Caused by: java.lang.RuntimeException:
java.util.NoSuchElementException at
org.guvnor.structure.backend.repositories.RepositoryServiceImpl.createRepository(RepositoryServiceImpl.java:283)
at
org.guvnor.structure.backend.repositories.RepositoryServiceImpl$Proxy$$$WeldClientProxy.createRepository(Unknown
Source) at
org.kie.workbench.drools.backend.server.AppSetup.createRepository(AppSetup.java:330)
at
org.kie.workbench.drools.backend.server.AppSetup.assertPlayground(AppSetup.java:119)
... 42 more Caused by: java.util.NoSuchElementException at
java.util.ArrayList$Itr.next(ArrayList.java:862) at
org.uberfire.java.nio.fs.jgit.JGitFileSystem$1$1.next(JGitFileSystem.java:194)
at
org.uberfire.java.nio.fs.jgit.JGitFileSystem$1$1.next(JGitFileSystem.java:173)
at
org.guvnor.structure.backend.repositories.git.GitRepositoryBuilder.getDefaultRoot(GitRepositoryBuilder.java:120)
at
org.guvnor.structure.backend.repositories.git.GitRepositoryBuilder.setBranches(GitRepositoryBuilder.java:98)
at
org.guvnor.structure.backend.repositories.git.GitRepositoryBuilder.build(GitRepositoryBuilder.java:63)
at
org.guvnor.structure.backend.repositories.git.GitRepositoryFactoryHelper.newRepository(GitRepositoryFactoryHelper.java:64)
at
org.guvnor.structure.backend.repositories.git.GitRepositoryFactoryHelper$Proxy$$$WeldClientProxy.newRepository(Unknown
Source) at
org.guvnor.structure.backend.repositories.RepositoryFactoryImpl.newRepository(RepositoryFactoryImpl.java:61)
at
org.guvnor.structure.backend.repositories.RepositoryFactoryImpl$Proxy$$$_WeldClientProxy.newRepository(Unknown
Source) at
org.guvnor.structure.backend.repositories.RepositoryServiceImpl.createRepository(RepositoryServiceImpl.java:96)
at
org.guvnor.structure.backend.repositories.RepositoryServiceImpl.createRepository(RepositoryServiceImpl.java:279)
... 45 more "}}
Machine : windows 10
Wildlfly Server : 10.0
Kie server 6.5.0 - working fine
Only problem is Drools work bench
Drools Workbench 6.5.0 is targeted Wildfly 8, see official documentation.
If you have to use Wildfly 10, please consider Drools Workbench 7.0.0
When i'm running the rules in ODM 8.8 getting the below exception. I am using the Decision engine 1.40
execution E It was not possible to create the ruleset: /MisApp/1.0/Mis/1.74.
com.ibm.rules.res.xu.internal.XUException: GBRXU0467E: The creation of EngineDefinition failed.
at com.ibm.rules.res.xu.engine.de.internal.XUEngineDynamicDefinitionFactory.createEngineDefinition(XUEngineDynamicDefinitionFactory.java:89)
at com.ibm.rules.res.xu.ruleset.internal.XURulesetFactory.createDERuleset(XURulesetFactory.java:250)
at com.ibm.rules.res.xu.ruleset.internal.XURulesetFactory.createRuleset(XURulesetFactory.java:117)
at com.ibm.rules.res.xu.ruleset.internal.RulesetParsingWork.run(RulesetParsingWork.java:89)
at com.ibm.ejs.j2c.work.WorkProxy$RunWork.run(WorkProxy.java:282)
at java.security.AccessController.doPrivileged(AccessController.java:422)
at javax.security.auth.Subject.doAs(Subject.java:494)
at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:133)
at com.ibm.ejs.j2c.work.WorkProxy$RunWork.run(WorkProxy.java:285)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:63)
at com.ibm.ejs.j2c.work.WorkProxy.run(WorkProxy.java:667)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892)
Caused by: com.ibm.rules.engine.load.XUEngineDynamicLoader$CreationException: java.security.PrivilegedActionException: java.lang.NoSuchMethodException: com.ibm.rules.generated.ruleflow.RuleflowDefinitionImpl.([Lcom.ibm.rules.engine.service.EngineService;)
at com.ibm.rules.engine.load.XUEngineDynamicLoaderImpl.loadJar(XUEngineDynamicLoaderImpl.java:213)
at com.ibm.rules.engine.load.XUEngineDynamicLoaderImpl.createEngineDefinitionFromDSAR(XUEngineDynamicLoaderImpl.java:77)
at com.ibm.rules.engine.load.XUEngineDynamicLoaderImpl.createEngineDefinition(XUEngineDynamicLoaderImpl.java:52)
at com.ibm.rules.res.xu.engine.de.internal.XUEngineDynamicDefinitionFactory.createEngineDefinition(XUEngineDynamicDefinitionFactory.java:82)
... 11 more
Caused by: java.security.PrivilegedActionException: java.lang.NoSuchMethodException: com.ibm.rules.generated.ruleflow.RuleflowDefinitionImpl.([Lcom.ibm.rules.engine.service.EngineService;)
at java.security.AccessController.doPrivileged(AccessController.java:456)
at com.ibm.rules.engine.util.platform.JavaReflectionUtils.loadClassAndCreatesInstance(JavaReflectionUtils.java:103)
at com.ibm.rules.engine.load.NativeEngineLoader.createEngineDefinition(NativeEngineLoader.java:184)
at com.ibm.rules.engine.load.NativeEngineLoader.loadEngineFromJarStream(NativeEngineLoader.java:166)
at com.ibm.rules.engine.load.XUEngineDynamicLoaderImpl.loadJar(XUEngineDynamicLoaderImpl.java:211)
... 14 more
Caused by: java.lang.NoSuchMethodException: com.ibm.rules.generated.ruleflow.RuleflowDefinitionImpl.([Lcom.ibm.rules.engine.service.EngineService;)
at java.lang.Class.throwNoSuchMethodException(Class.java:461)
at java.lang.Class.getConstructor(Class.java:521)
at com.ibm.rules.engine.util.platform.JavaReflectionUtils$3.run(JavaReflectionUtils.java:121)
at java.security.AccessController.doPrivileged(AccessController.java:452)
... 18 more
[12/13/17 23:33:38:198 CST] 000001e4 execution E The interaction getXURulesetArchiveInformation has failed.
com.ibm.rules.res.xu.internal.XUException: GBRXU0467E: The creation of EngineDefinition failed.
at com.ibm.rules.res.xu.engine.de.internal.XUEngineDynamicDefinitionFactory.createEngineDefinition(XUEngineDynamicDefinitionFactory.java:89)
at com.ibm.rules.res.xu.ruleset.internal.XURulesetFactory.createDERuleset(XURulesetFactory.java:250)
at com.ibm.rules.res.xu.ruleset.internal.XURulesetFactory.createRuleset(XURulesetFactory.java:117)
at com.ibm.rules.res.xu.ruleset.internal.RulesetParsingWork.run(RulesetParsingWork.java:89)
at com.ibm.ejs.j2c.work.WorkProxy$RunWork.run(WorkProxy.java:282)
at java.security.AccessController.doPrivileged(AccessController.java:422)
at javax.security.auth.Subject.doAs(Subject.java:494)
at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:133)
at com.ibm.ejs.j2c.work.WorkProxy$RunWork.run(WorkProxy.java:285)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:63)
at com.ibm.ejs.j2c.work.WorkProxy.run(WorkProxy.java:667)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892)
Caused by: com.ibm.rules.engine.load.XUEngineDynamicLoader$CreationException: java.security.PrivilegedActionException: java.lang.NoSuchMethodException: com.ibm.rules.generated.ruleflow.RuleflowDefinitionImpl.([Lcom.ibm.rules.engine.service.EngineService;)
at com.ibm.rules.engine.load.XUEngineDynamicLoaderImpl.loadJar(XUEngineDynamicLoaderImpl.java:213)
at com.ibm.rules.engine.load.XUEngineDynamicLoaderImpl.createEngineDefinitionFromDSAR(XUEngineDynamicLoaderImpl.java:77)
at com.ibm.rules.engine.load.XUEngineDynamicLoaderImpl.createEngineDefinition(XUEngineDynamicLoaderImpl.java:52)
at com.ibm.rules.res.xu.engine.de.internal.XUEngineDynamicDefinitionFactory.createEngineDefinition(XUEngineDynamicDefinitionFactory.java:82)
... 11 more
Caused by: java.security.PrivilegedActionException: java.lang.NoSuchMethodException: com.ibm.rules.generated.ruleflow.RuleflowDefinitionImpl.([Lcom.ibm.rules.engine.service.EngineService;)
I am getting an no lock exception (caused by sleepycat) while trying to open TitanGraph instance below. Any leads what might be causing it ? Am i missing something ? I have checked for permission and ownership of that directory but no luck.
TitanGraph titanGraph;
Configuration config = new BaseConfiguration();
Configuration storage = config.subset("storage");
storage.setProperty("backend", "local");
storage.setProperty("directory", "data/titan");
titanGraph = TitanFactory.open(config);
Caused by:
java.lang.IllegalArgumentException: Could not instantiate implementation: com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager
at com.thinkaurelius.titan.diskstorage.Backend.instantiate(Backend.java:355)
at com.thinkaurelius.titan.diskstorage.Backend.getImplementationClass(Backend.java:367)
at com.thinkaurelius.titan.diskstorage.Backend.getStorageManager(Backend.java:311)
at com.thinkaurelius.titan.diskstorage.Backend.<init>(Backend.java:121)
at com.thinkaurelius.titan.graphdb.configuration.GraphDatabaseConfiguration.getBackend(GraphDatabaseConfiguration.java:1163)
at com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.<init>(StandardTitanGraph.java:75)
at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:40)
at com.narus.tst.graph.GraphDaoImpl.openDb(GraphDaoImpl.java:221)
at com.narus.tst.job.RunNazca.jobRun(RunNazca.java:267)
at com.narus.tst.job.RunNazca.runNazca(RunNazca.java:250)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:269)
at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:312)
... 3 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at com.thinkaurelius.titan.diskstorage.Backend.instantiate(Backend.java:344)
... 18 more
Caused by: com.thinkaurelius.titan.diskstorage.PermanentStorageException: Error during BerkeleyJE initialization:
at com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.initialize(BerkeleyJEStoreManager.java:74)
at com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.<init>(BerkeleyJEStoreManager.java:42)
... 23 more
Caused by: com.sleepycat.je.EnvironmentFailureException: (JE 5.0.73) data/titan java.io.IOException: No locks available LOG_INTEGRITY: Log information is incorrect, problem is likely persistent. Environment is invalid and must be closed.
at com.sleepycat.je.log.FileManager.lockEnvironment(FileManager.java:2181)
at com.sleepycat.je.log.FileManager.<init>(FileManager.java:370)
at com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:453)
at com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:382)
at com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEnvPool.java:178)
at com.sleepycat.je.Environment.makeEnvironmentImpl(Environment.java:246)
at com.sleepycat.je.Environment.<init>(Environment.java:227)
at com.sleepycat.je.Environment.<init>(Environment.java:170)
at com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.initialize(BerkeleyJEStoreManager.java:70)
... 24 more
Caused by: java.io.IOException: No locks available
at sun.nio.ch.FileDispatcherImpl.lock0(Native Method)
at sun.nio.ch.FileDispatcherImpl.lock(FileDispatcherImpl.java:90)
at sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1063)
at com.sleepycat.je.log.FileManager.lockEnvironment(FileManager.java:2171)
... 32 more