Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 0.92.0 -> 0.93.0 of Machine Data Simulator not working #2165

Closed
tenthe opened this issue Nov 10, 2023 · 0 comments · Fixed by #2167
Closed

Update 0.92.0 -> 0.93.0 of Machine Data Simulator not working #2165

tenthe opened this issue Nov 10, 2023 · 0 comments · Fixed by #2167
Labels
bug Something isn't working
Milestone

Comments

@tenthe
Copy link
Contributor

tenthe commented Nov 10, 2023

Apache StreamPipes version

0.92.0

Affected StreamPipes components

Connect

What happened?

When updating a StreamPipes instance from 0.92.0 to 0.93.0 it is not possible to create any new adapters.

How to reproduce?

  • Start StreamPipes Version 0.92.0 and create adater Machine Data Simulator
  • Stop StreamPipes Version 0.92.0
  • Start StreamPipes Version 0.93.0

Core trhows this error:

tionFilterChainDecorator.java:135)
	at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:233)
	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:191)
	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:352)
	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:268)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
	at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
	at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:166)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:341)
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:390)
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:894)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741)
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
	at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
	at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.base/java.lang.Thread.run(Thread.java:833)

2023-11-10T09:51:05.176+01:00  WARN 95515 --- [nio-8030-exec-9] o.g.j.server.ServerRuntime$Responder     : An exception mapping did not successfully produce and processed a response. Logging the exception propagated to the default exception mapper.

org.lightcouch.DocumentConflictException: Conflict
	at org.lightcouch.CouchDbClientBase.validate(CouchDbClientBase.java:656)
	at org.lightcouch.CouchDbClient$3.process(CouchDbClient.java:223)
	at org.apache.http.protocol.ImmutableHttpProcessor.process(ImmutableHttpProcessor.java:142)
	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:191)
	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
	at org.lightcouch.CouchDbClientBase.executeRequest(CouchDbClientBase.java:480)
	at org.lightcouch.CouchDbClientBase.put(CouchDbClientBase.java:589)
	at org.lightcouch.CouchDbClientBase.save(CouchDbClientBase.java:318)
	at org.apache.streampipes.storage.couchdb.dao.PersistCommand.executeCommand(PersistCommand.java:38)
	at org.apache.streampipes.storage.couchdb.dao.PersistCommand.executeCommand(PersistCommand.java:27)
	at org.apache.streampipes.storage.couchdb.dao.DbCommand.execute(DbCommand.java:39)
	at org.apache.streampipes.storage.couchdb.dao.CrudDao.persist(CrudDao.java:40)
	at org.apache.streampipes.storage.couchdb.dao.AbstractDao.persist(AbstractDao.java:40)
	at org.apache.streampipes.storage.couchdb.impl.ExtensionsServiceStorageImpl.createElement(ExtensionsServiceStorageImpl.java:43)

Expected behavior

No response

Additional technical information

No response

Are you willing to submit a PR?

None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants