Exception caught in EventHandler, rollback by calling undo of successfull handlers done.
Exception caught in EventHandler, rollback by calling undo of successfull handlers done.
org.mycore.common.MCRException: Exception caught in EventHandler, rollback by calling undo of successfull handlers done. at org.mycore.common.events.MCREventManager.handleEvent(MCREventManager.java:175) at org.mycore.common.events.MCREventManager.handleEvent(MCREventManager.java:181) at org.mycore.datamodel.metadata.MCRMetadataManager.fireEvent(MCRMetadataManager.java:971) at org.mycore.datamodel.metadata.MCRMetadataManager.create(MCRMetadataManager.java:332) at org.mycore.frontend.servlets.persistence.MCRCreateObjectServlet.createObject(MCRCreateObjectServlet.java:135) at org.mycore.frontend.servlets.persistence.MCRCreateObjectServlet.handlePersistenceOperation(MCRCreateObjectServlet.java:68) at org.mycore.frontend.servlets.persistence.MCRPersistenceServlet.think(MCRPersistenceServlet.java:75) at org.mycore.frontend.servlets.MCRServlet.processThinkPhase(MCRServlet.java:419) at org.mycore.frontend.servlets.MCRServlet.doGetPost(MCRServlet.java:305) at org.mycore.frontend.servlets.MCRServlet.doPost(MCRServlet.java:180) at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) 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.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:728) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:470) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:356) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:316) at org.mycore.frontend.xeditor.target.MCRServletTarget.handleSubmission(MCRServletTarget.java:55) at org.mycore.frontend.xeditor.MCRXEditorServlet.sendToTarget(MCRXEditorServlet.java:82) at org.mycore.frontend.xeditor.MCRXEditorServlet.doGetPost(MCRXEditorServlet.java:58) at org.mycore.frontend.servlets.MCRServlet.doPost(MCRServlet.java:187) at org.mycore.frontend.servlets.MCRServlet.render(MCRServlet.java:489) at org.mycore.frontend.servlets.MCRServlet.processRenderingPhase(MCRServlet.java:456) at org.mycore.frontend.servlets.MCRServlet.doGetPost(MCRServlet.java:307) at org.mycore.frontend.servlets.MCRServlet.doPost(MCRServlet.java:180) at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) 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 org.mycore.frontend.filter.MCRWebAppBaseFilter.doFilter(MCRWebAppBaseFilter.java:41) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.mycore.frontend.filter.MCRRequestAuthenticationFilter.doFilter(MCRRequestAuthenticationFilter.java:57) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.mycore.frontend.filter.MCRRequestDebugFilter.doFilter(MCRRequestDebugFilter.java:75) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:121) 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.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71) 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:543) 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:688) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:508) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:818) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1623) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.lang.NullPointerException at org.mycore.mei.classification.MCRMEIClassificationSupport.getChildID(MCRMEIClassificationSupport.java:293) at org.mycore.mei.classification.MCRMEIClassificationLinkEventHandler.lambda$handleObjectCreated$0(MCRMEIClassificationLinkEventHandler.java:57) at java.base/java.util.ArrayList.forEach(ArrayList.java:1540) at org.mycore.mei.classification.MCRMEIClassificationLinkEventHandler.lambda$handleObjectCreated$1(MCRMEIClassificationLinkEventHandler.java:55) at java.base/java.util.HashMap.forEach(HashMap.java:1336) at org.mycore.mei.classification.MCRMEIClassificationLinkEventHandler.handleObjectCreated(MCRMEIClassificationLinkEventHandler.java:50) at org.mycore.common.events.MCREventHandlerBase.doHandleEvent(MCREventHandlerBase.java:58) at org.mycore.common.events.MCREventManager.handleEvent(MCREventManager.java:148) ... 65 more
java.lang.NullPointerException at org.mycore.mei.classification.MCRMEIClassificationSupport.getChildID(MCRMEIClassificationSupport.java:293) at org.mycore.mei.classification.MCRMEIClassificationLinkEventHandler.lambda$handleObjectCreated$0(MCRMEIClassificationLinkEventHandler.java:57) at java.base/java.util.ArrayList.forEach(ArrayList.java:1540) at org.mycore.mei.classification.MCRMEIClassificationLinkEventHandler.lambda$handleObjectCreated$1(MCRMEIClassificationLinkEventHandler.java:55) at java.base/java.util.HashMap.forEach(HashMap.java:1336) at org.mycore.mei.classification.MCRMEIClassificationLinkEventHandler.handleObjectCreated(MCRMEIClassificationLinkEventHandler.java:50) at org.mycore.common.events.MCREventHandlerBase.doHandleEvent(MCREventHandlerBase.java:58) at org.mycore.common.events.MCREventManager.handleEvent(MCREventManager.java:148) at org.mycore.common.events.MCREventManager.handleEvent(MCREventManager.java:181) at org.mycore.datamodel.metadata.MCRMetadataManager.fireEvent(MCRMetadataManager.java:971) at org.mycore.datamodel.metadata.MCRMetadataManager.create(MCRMetadataManager.java:332) at org.mycore.frontend.servlets.persistence.MCRCreateObjectServlet.createObject(MCRCreateObjectServlet.java:135) at org.mycore.frontend.servlets.persistence.MCRCreateObjectServlet.handlePersistenceOperation(MCRCreateObjectServlet.java:68) at org.mycore.frontend.servlets.persistence.MCRPersistenceServlet.think(MCRPersistenceServlet.java:75) at org.mycore.frontend.servlets.MCRServlet.processThinkPhase(MCRServlet.java:419) at org.mycore.frontend.servlets.MCRServlet.doGetPost(MCRServlet.java:305) at org.mycore.frontend.servlets.MCRServlet.doPost(MCRServlet.java:180) at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) 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.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:728) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:470) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:356) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:316) at org.mycore.frontend.xeditor.target.MCRServletTarget.handleSubmission(MCRServletTarget.java:55) at org.mycore.frontend.xeditor.MCRXEditorServlet.sendToTarget(MCRXEditorServlet.java:82) at org.mycore.frontend.xeditor.MCRXEditorServlet.doGetPost(MCRXEditorServlet.java:58) at org.mycore.frontend.servlets.MCRServlet.doPost(MCRServlet.java:187) at org.mycore.frontend.servlets.MCRServlet.render(MCRServlet.java:489) at org.mycore.frontend.servlets.MCRServlet.processRenderingPhase(MCRServlet.java:456) at org.mycore.frontend.servlets.MCRServlet.doGetPost(MCRServlet.java:307) at org.mycore.frontend.servlets.MCRServlet.doPost(MCRServlet.java:180) at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) 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 org.mycore.frontend.filter.MCRWebAppBaseFilter.doFilter(MCRWebAppBaseFilter.java:41) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.mycore.frontend.filter.MCRRequestAuthenticationFilter.doFilter(MCRRequestAuthenticationFilter.java:57) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.mycore.frontend.filter.MCRRequestDebugFilter.doFilter(MCRRequestDebugFilter.java:75) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:121) 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.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71) 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:543) 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:688) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:508) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:818) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1623) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:834)
when creating a new expression or modifying an existing one, we get an error message