Skip to end of metadata
Go to start of metadata

Problem:


Ich möchte in unserer On-Premise Version (13.3+) einen User löschen. Hierbie wähle ich diesen in der Benutzerverwaltung aus und entferne diesen. Dieser ist aber nach wenigen Sekunden wieder in der Liste zu sehen. Selbst am nächsten Tag ist dieser weiterhin in der Benutzerverwaltung zu sehen. Eine Fehlermeldung in der Applikation erhalte ich nicht, dafür sehe ich aber im Logfile folgende Fehlermeldung:

Caused by: com.signavio.platform.events.EventException: Execution of listener class com.signavio.saas.listeners.WorkflowLicenseListener for operation DELETE_EVENT
2019-12-19 13:47:12,297 ERROR [http-nio-80-exec-1] r:2bae041135a84796b307de10e6fd09d4 u:2f1f597efbe9499ba7bfab514d13363f t:33c0095e5835425fa2705a5eedf21860 .(LoggingDirectory.java:242) [Thu Dec 19 13:47:12 CET 2019][TRANSACTION][ERROR][8a85d73ca71245ca81830dd43f2a81e9] com.signavio.platform.events.EventException: Execution of listener class com.signavio.saas.listeners.WorkflowLicenseListener for operation DELETE_EVENT. - Transaction HttpTransaction execution failed
[HTTP] DELETE /p/user/acf3d414986040ab96f9955ceb2bc450 500
javax.servlet.ServletException: com.signavio.platform.events.EventException: Execution of listener class com.signavio.saas.listeners.WorkflowLicenseListener for operation DELETE_EVENT.
	at com.signavio.platform.filters.PrivateUrlFilter.doFilter(PrivateUrlFilter.java:127)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
	at com.signavio.saas.filter.CertificateGuestUserLogoutFilter.doFilter(CertificateGuestUserLogoutFilter.java:63)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
	at com.signavio.usermanagement.external.filter.Saml2AuthenticationFilter.doFilter(Saml2AuthenticationFilter.java:98)
	at com.signavio.usermanagement.external.filter.Saml2AuthenticationFilter.doFilter(Saml2AuthenticationFilter.java:39)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
	at com.signavio.enterprise.filter.GuestUserAuthenticationFilter.doFilter(GuestUserAuthenticationFilter.java:110)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
	at com.signavio.platform.filters.MonthlyConcurrentCheckFilter.doFilter(MonthlyConcurrentCheckFilter.java:49)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
	at com.signavio.platform.oauth.provider.filter.OAuthAuthenticationFilter.doFilter(OAuthAuthenticationFilter.java:112)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
	at com.signavio.platform.filters.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:79)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
	at com.signavio.infrastructure.csp.CspFilter.doFilter(CspFilter.java:78)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
	at com.signavio.platform.core.transactions.HttpTransaction.execute(HttpTransaction.java:83)
	at com.signavio.platform.core.transactions.PlatformTransaction.executeTransaction(PlatformTransaction.java:136)
	at com.signavio.platform.core.transactions.PlatformTransaction.runTransaction(PlatformTransaction.java:112)
	at com.signavio.platform.filters.HibernateSessionFilter.doFilter(HibernateSessionFilter.java:22)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
	at com.signavio.infrastructure.filter.LocaleParameterFilter.doFilter(LocaleParameterFilter.java:40)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
	at com.signavio.platform.filters.ModelHandlerRedirectFilter.doFilter(ModelHandlerRedirectFilter.java:77)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
	at com.signavio.platform.filters.HandlerFilter.doFilter(HandlerFilter.java:131)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
	at com.signavio.platform.filters.ParseParametersFilter.doFilter(ParseParametersFilter.java:245)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
	at com.signavio.platform.filters.AngleBracketFilter.doFilter(AngleBracketFilter.java:70)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
	at com.signavio.platform.filters.EncodingAndDefaultsFilter.doFilter(EncodingAndDefaultsFilter.java:69)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
	at com.signavio.platform.filters.SessionUpdateFilter.doFilter(SessionUpdateFilter.java:35)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
	at com.signavio.platform.filters.RequestExceptionFilter.doFilter(RequestExceptionFilter.java:267)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
	at com.signavio.platform.filters.XssProtectionResponseFilter.doFilter(XssProtectionResponseFilter.java:37)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
	at com.signavio.platform.filters.SecurityResponseFilter.doFilter(SecurityResponseFilter.java:39)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
	at com.signavio.platform.filters.logging.RequestLoggingFilter.doFilter(RequestLoggingFilter.java:36)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
	at com.signavio.platform.filters.logging.EnrichLoggingContextFilter.doFilter(EnrichLoggingContextFilter.java:61)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
	at com.signavio.platform.filters.metrics.RequestMetricsFilter.lambda$0(RequestMetricsFilter.java:59)
	at com.signavio.infrastructure.metrics.facade.timer.TimeRecorderTwoExceptions.record(TimeRecorderTwoExceptions.java:57)
	at com.signavio.platform.filters.metrics.RequestMetricsFilter.doFilter(RequestMetricsFilter.java:56)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
	at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)
	at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:133)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:528)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:678)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798)
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:810)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)
Caused by: com.signavio.platform.events.EventException: Execution of listener class com.signavio.saas.listeners.WorkflowLicenseListener for operation DELETE_EVENT.
	at com.signavio.platform.events.EventQueue.executeListeners(EventQueue.java:112)
	at com.signavio.platform.events.EventQueue.fireEvent(EventQueue.java:83)
	at com.signavio.platform.events.EventQueue.fireDeleteEvent(EventQueue.java:59)
	at com.signavio.platform.security.business.SecureBusinessObject.delete(SecureBusinessObject.java:105)
	at com.signavio.platform.license.business.License.delete(License.java:130)
	at com.signavio.platform.security.business.SecurityManager.deleteObject(SecurityManager.java:408)
	at com.signavio.usermanagement.user.business.User.setDeleted(User.java:320)
	at com.signavio.usermanagement.business.RoleManager.deleteUser(RoleManager.java:162)
	at com.signavio.usermanagement.business.RoleManager.deleteUser(RoleManager.java:150)
	at com.signavio.usermanagement.user.handler.UserHandler.deleteRepresentation(UserHandler.java:149)
	at com.signavio.platform.handler.AbstractHandler.deleteRepresentation(AbstractHandler.java:438)
	at com.signavio.platform.handler.AbstractHandler.doDelete(AbstractHandler.java:617)
	at com.signavio.platform.servlets.DispatcherServlet.dispatch(DispatcherServlet.java:154)
	at com.signavio.platform.servlets.DispatcherServlet.doDelete(DispatcherServlet.java:238)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:666)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at com.signavio.platform.filters.logging.UpdateLoggingContextFilter.doFilter(UpdateLoggingContextFilter.java:58)
	at com.signavio.platform.filters.HubBetaSwitchFilter.doFilter(HubBetaSwitchFilter.java:49)
	at com.signavio.platform.filters.IPRangeFilter.doFilter(IPRangeFilter.java:70)
	at com.signavio.usermanagement.external.filter.ExternalUserFilter.doFilter(ExternalUserFilter.java:89)
	at com.signavio.platform.filters.AdminAuthenticationFilter.doFilter(AdminAuthenticationFilter.java:108)
	at com.signavio.platform.filters.AuthenticationFilter.doFilter(AuthenticationFilter.java:169)
	at com.signavio.platform.filters.PrivateUrlFilter.doFilter(PrivateUrlFilter.java:123)
	at com.signavio.saas.filter.CertificateGuestUserLogoutFilter.doFilter(CertificateGuestUserLogoutFilter.java:63)
	at com.signavio.usermanagement.external.filter.Saml2AuthenticationFilter.doFilter(Saml2AuthenticationFilter.java:98)
	at com.signavio.usermanagement.external.filter.Saml2AuthenticationFilter.doFilter(Saml2AuthenticationFilter.java:39)
	at com.signavio.enterprise.filter.GuestUserAuthenticationFilter.doFilter(GuestUserAuthenticationFilter.java:110)
	at com.signavio.platform.filters.MonthlyConcurrentCheckFilter.doFilter(MonthlyConcurrentCheckFilter.java:49)
	at com.signavio.platform.oauth.provider.filter.OAuthAuthenticationFilter.doFilter(OAuthAuthenticationFilter.java:112)
	at com.signavio.platform.filters.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:79)
	at com.signavio.infrastructure.csp.CspFilter.doFilter(CspFilter.java:78)
	at com.signavio.platform.core.transactions.HttpTransaction.execute(HttpTransaction.java:83)
	at com.signavio.platform.core.transactions.PlatformTransaction.executeTransaction(PlatformTransaction.java:136)
	at com.signavio.platform.core.transactions.PlatformTransaction.runTransaction(PlatformTransaction.java:112)
	at com.signavio.platform.filters.HibernateSessionFilter.doFilter(HibernateSessionFilter.java:22)
	at com.signavio.infrastructure.filter.LocaleParameterFilter.doFilter(LocaleParameterFilter.java:40)
	at com.signavio.platform.filters.ModelHandlerRedirectFilter.doFilter(ModelHandlerRedirectFilter.java:77)
	at com.signavio.platform.filters.HandlerFilter.doFilter(HandlerFilter.java:131)
	at com.signavio.platform.filters.ParseParametersFilter.doFilter(ParseParametersFilter.java:245)
	at com.signavio.platform.filters.AngleBracketFilter.doFilter(AngleBracketFilter.java:70)
	at com.signavio.platform.filters.EncodingAndDefaultsFilter.doFilter(EncodingAndDefaultsFilter.java:69)
	at com.signavio.platform.filters.SessionUpdateFilter.doFilter(SessionUpdateFilter.java:35)
	at com.signavio.platform.filters.RequestExceptionFilter.doFilter(RequestExceptionFilter.java:267)
	at com.signavio.platform.filters.XssProtectionResponseFilter.doFilter(XssProtectionResponseFilter.java:37)
	at com.signavio.platform.filters.SecurityResponseFilter.doFilter(SecurityResponseFilter.java:39)
	at com.signavio.platform.filters.logging.RequestLoggingFilter.doFilter(RequestLoggingFilter.java:36)
	at com.signavio.platform.filters.logging.EnrichLoggingContextFilter.doFilter(EnrichLoggingContextFilter.java:61)
	at com.signavio.platform.filters.metrics.RequestMetricsFilter.lambda$0(RequestMetricsFilter.java:59)
	at com.signavio.infrastructure.metrics.facade.timer.TimeRecorderTwoExceptions.record(TimeRecorderTwoExceptions.java:57)
	at com.signavio.platform.filters.metrics.RequestMetricsFilter.doFilter(RequestMetricsFilter.java:56)
	... 21 more
Caused by: java.lang.IllegalArgumentException: The Secret cannot be null
	at com.auth0.jwt.algorithms.HMACAlgorithm.getSecretBytes(HMACAlgorithm.java:40)
	at com.auth0.jwt.algorithms.HMACAlgorithm.<init>(HMACAlgorithm.java:34)
	at com.auth0.jwt.algorithms.Algorithm.HMAC256(Algorithm.java:144)
	at com.signavio.jwt.SymmetricEncryptionService.getAlgorithm(SymmetricEncryptionService.java:31)
	at com.signavio.jwt.JwtService.<init>(JwtService.java:71)
	at com.signavio.effektif.business.WorkflowCaller.<init>(WorkflowCaller.java:94)
	at com.signavio.effektif.business.WorkflowCaller.startInstance(WorkflowCaller.java:49)
	at com.signavio.effektif.business.WorkflowCaller.getInstance(WorkflowCaller.java:56)
	at com.signavio.effektif.business.WorkflowApi.getWorkflowCaller(WorkflowApi.java:130)
	at com.signavio.effektif.business.WorkflowApi.<init>(WorkflowApi.java:102)
	at com.signavio.effektif.business.WorkflowApi.newInstance(WorkflowApi.java:117)
	at com.signavio.effektif.business.WorkflowAPIHandlerFactory.getWorkflowAPIInstance(WorkflowAPIHandlerFactory.java:57)
	at com.signavio.effektif.business.WorkflowManager.initWorkflowInstance(WorkflowManager.java:163)
	at com.signavio.effektif.business.WorkflowManager.<init>(WorkflowManager.java:113)
	at com.signavio.effektif.business.WorkflowAPIHandlerFactory.getManager(WorkflowAPIHandlerFactory.java:27)
	at com.signavio.saas.listeners.WorkflowLicenseListener.getWorkflowManager(WorkflowLicenseListener.java:49)
	at com.signavio.saas.listeners.WorkflowLicenseListener.onDeleteObject(WorkflowLicenseListener.java:28)
	at com.signavio.platform.events.EventQueue.executeListeners(EventQueue.java:105)
	... 75 more


Solution:


Anhand der Fehlermeldung ist ersichtlich, dass Sie eine Verknüpfung des Process Managers zum Workflow-System haben/hatten. Dementsprechend wird seit der 13.3. ein zusätzlicher JWT-Secret benötigt. Nachdem Sie diesen in Ihrer configuration.xml hinzugefügt haben, starten Sie das System bitte und löschen den User erneut.