Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-5011

Loading shadow owner (without owner) ends with error in GUI

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 3.9
    • Fix Version/s: 4.0, 3.9.1
    • Component/s: Repository
    • Labels:
    • Subscription:
      Active subscription
    • Milestone:
      M4

      Description

      Could not found owner for shadow with oid 30199ea1-1d86-4b36-a8b9-34b26aa0e2e3.
      Operation
      operation.com.evolveum.midpoint.web.page.admin.resources.ResourceContentTabPanel.loadOwner Message
      Could not found owner for shadow with oid 30199ea1-1d86-4b36-a8b9-34b26aa0e2e3.
      Error
      error executing work
      show

      com.evolveum.midpoint.util.exception.SystemException: error executing work
      	at com.evolveum.midpoint.repo.sql.helpers.BaseHelper.handleGeneralRuntimeException(BaseHelper.java:169)
      	at com.evolveum.midpoint.repo.sql.helpers.BaseHelper.handleGeneralException(BaseHelper.java:149)
      	at com.evolveum.midpoint.repo.sql.helpers.ObjectRetriever.searchShadowOwnerAttempt(ObjectRetriever.java:259)
      	at com.evolveum.midpoint.repo.sql.SqlRepositoryServiceImpl.lambda$searchShadowOwner$2(SqlRepositoryServiceImpl.java:259)
      	at com.evolveum.midpoint.repo.sql.SqlRepositoryServiceImpl.executeAttempts(SqlRepositoryServiceImpl.java:191)
      	at com.evolveum.midpoint.repo.sql.SqlRepositoryServiceImpl.searchShadowOwner(SqlRepositoryServiceImpl.java:258)
      	at com.evolveum.midpoint.repo.cache.RepositoryCache.searchShadowOwner(RepositoryCache.java:480)
      	at com.evolveum.midpoint.model.impl.controller.ModelController.searchShadowOwner(ModelController.java:1341)
      	at sun.reflect.GeneratedMethodAccessor1067.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:508)
      	at com.sun.proxy.$Proxy217.searchShadowOwner(Unknown Source)
      	at com.evolveum.midpoint.web.page.admin.resources.ResourceContentPanel.loadShadowOwner(ResourceContentPanel.java:772)
      	at com.evolveum.midpoint.web.page.admin.resources.ResourceContentPanel.loadShadowOwner(ResourceContentPanel.java:749)
      	at com.evolveum.midpoint.web.page.admin.resources.ResourceContentPanel.access$600(ResourceContentPanel.java:124)
      	at com.evolveum.midpoint.web.page.admin.resources.ResourceContentPanel$7$1.getObject(ResourceContentPanel.java:625)
      	at com.evolveum.midpoint.web.page.admin.resources.ResourceContentPanel$7$1.getObject(ResourceContentPanel.java:620)
      	at com.evolveum.midpoint.web.component.data.column.ObjectLinkColumn.populateItem(ObjectLinkColumn.java:52)
      	at org.apache.wicket.extensions.markup.html.repeater.data.grid.AbstractDataGridView.populateItem(AbstractDataGridView.java:156)
      	at org.apache.wicket.markup.repeater.RefreshingView$1.newItem(RefreshingView.java:114)
      	at org.apache.wicket.markup.repeater.DefaultItemReuseStrategy$1.next(DefaultItemReuseStrategy.java:75)
      	at org.apache.wicket.markup.repeater.DefaultItemReuseStrategy$1.next(DefaultItemReuseStrategy.java:56)
      	at org.apache.wicket.markup.repeater.RefreshingView.addItems(RefreshingView.java:189)
      	at org.apache.wicket.markup.repeater.RefreshingView.onPopulate(RefreshingView.java:97)
      	at org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:124)
      	at org.apache.wicket.markup.repeater.AbstractPageableView.onBeforeRender(AbstractPageableView.java:115)
      	at org.apache.wicket.Component.internalBeforeRender(Component.java:950)
      	at org.apache.wicket.Component.beforeRender(Component.java:1018)
      	at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825)
      	at org.apache.wicket.Component.onBeforeRender(Component.java:3916)
      	at org.apache.wicket.Component.internalBeforeRender(Component.java:950)
      	at org.apache.wicket.Component.beforeRender(Component.java:1018)
      	at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825)
      	at org.apache.wicket.Component.onBeforeRender(Component.java:3916)
      	at org.apache.wicket.Component.internalBeforeRender(Component.java:950)
      	at org.apache.wicket.Component.beforeRender(Component.java:1018)
      	at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825)
      	at org.apache.wicket.Component.onBeforeRender(Component.java:3916)
      	at org.apache.wicket.Component.internalBeforeRender(Component.java:950)
      	at org.apache.wicket.Component.beforeRender(Component.java:1018)
      	at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825)
      	at org.apache.wicket.Component.onBeforeRender(Component.java:3916)
      	at org.apache.wicket.Component.internalBeforeRender(Component.java:950)
      	at org.apache.wicket.Component.beforeRender(Component.java:1018)
      	at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825)
      	at org.apache.wicket.Component.onBeforeRender(Component.java:3916)
      	at org.apache.wicket.Component.internalBeforeRender(Component.java:950)
      	at org.apache.wicket.Component.beforeRender(Component.java:1018)
      	at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825)
      	at org.apache.wicket.Component.onBeforeRender(Component.java:3916)
      	at org.apache.wicket.markup.html.form.Form.onBeforeRender(Form.java:1811)
      	at org.apache.wicket.Component.internalBeforeRender(Component.java:950)
      	at org.apache.wicket.Component.beforeRender(Component.java:1018)
      	at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825)
      	at org.apache.wicket.Component.onBeforeRender(Component.java:3916)
      	at org.apache.wicket.Component.internalBeforeRender(Component.java:950)
      	at org.apache.wicket.Component.beforeRender(Component.java:1018)
      	at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825)
      	at org.apache.wicket.Component.onBeforeRender(Component.java:3916)
      	at org.apache.wicket.Component.internalBeforeRender(Component.java:950)
      	at org.apache.wicket.Component.beforeRender(Component.java:1018)
      	at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825)
      	at org.apache.wicket.Component.onBeforeRender(Component.java:3916)
      	at org.apache.wicket.markup.html.form.Form.onBeforeRender(Form.java:1811)
      	at org.apache.wicket.Component.internalBeforeRender(Component.java:950)
      	at org.apache.wicket.Component.beforeRender(Component.java:1018)
      	at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825)
      	at org.apache.wicket.Component.onBeforeRender(Component.java:3916)
      	at org.apache.wicket.Component.internalBeforeRender(Component.java:950)
      	at org.apache.wicket.Component.beforeRender(Component.java:1018)
      	at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825)
      	at org.apache.wicket.Component.onBeforeRender(Component.java:3916)
      	at com.evolveum.midpoint.web.component.TabbedPanel.onBeforeRender(TabbedPanel.java:261)
      	at org.apache.wicket.Component.internalBeforeRender(Component.java:950)
      	at org.apache.wicket.Component.beforeRender(Component.java:1018)
      	at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825)
      	at org.apache.wicket.Component.onBeforeRender(Component.java:3916)
      	at org.apache.wicket.Page.onBeforeRender(Page.java:801)
      	at com.evolveum.midpoint.gui.api.page.PageBase.onBeforeRender(PageBase.java:719)
      	at org.apache.wicket.Component.internalBeforeRender(Component.java:950)
      	at org.apache.wicket.Component.beforeRender(Component.java:1018)
      	at org.apache.wicket.Component.internalPrepareForRender(Component.java:2236)
      	at org.apache.wicket.Page.internalPrepareForRender(Page.java:242)
      	at org.apache.wicket.Component.render(Component.java:2325)
      	at org.apache.wicket.Page.renderPage(Page.java:1018)
      	at org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:124)
      	at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:236)
      	at org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:175)
      	at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:895)
      	at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
      	at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:97)
      	at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265)
      	at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222)
      	at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293)
      	at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:261)
      	at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203)
      	at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:284)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      	at com.evolveum.midpoint.web.util.MidPointProfilingServletFilter.doFilter(MidPointProfilingServletFilter.java:87)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320)
      	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119)
      	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
      	at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
      	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
      	at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
      	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
      	at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)
      	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
      	at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
      	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
      	at org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter.doFilter(AbstractPreAuthenticatedProcessingFilter.java:121)
      	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
      	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
      	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
      	at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:100)
      	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
      	at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:66)
      	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
      	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
      	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
      	at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
      	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
      	at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215)
      	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)
      	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357)
      	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      	at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
      	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      	at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109)
      	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      	at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93)
      	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      	at org.springframework.boot.web.servlet.support.ErrorPageFilter.doFilter(ErrorPageFilter.java:130)
      	at org.springframework.boot.web.servlet.support.ErrorPageFilter.access$000(ErrorPageFilter.java:66)
      	at org.springframework.boot.web.servlet.support.ErrorPageFilter$1.doFilterInternal(ErrorPageFilter.java:105)
      	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      	at org.springframework.boot.web.servlet.support.ErrorPageFilter.doFilter(ErrorPageFilter.java:123)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)
      	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:616)
      	at eu.cec.digit.ecas.client.j2ee.tomcat.EcasAuthenticator.invoke(EcasAuthenticator.java:643)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
      	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:509)
      	at org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:877)
      	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
      	at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2508)
      	at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2497)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: org.hibernate.exception.GenericJDBCException: error executing work
      	at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
      	at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:111)
      	at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:97)
      	at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.coordinateWork(JdbcCoordinatorImpl.java:325)
      	at org.hibernate.internal.SessionImpl.doWork(SessionImpl.java:2342)
      	at org.hibernate.internal.SessionImpl.doWork(SessionImpl.java:2327)
      	at com.evolveum.midpoint.repo.sql.helpers.BaseHelper.beginTransaction(BaseHelper.java:105)
      	at com.evolveum.midpoint.repo.sql.helpers.BaseHelper.beginReadOnlyTransaction(BaseHelper.java:83)
      	at com.evolveum.midpoint.repo.sql.helpers.ObjectRetriever.searchShadowOwnerAttempt(ObjectRetriever.java:236)
      	... 172 more
      Caused by: java.sql.SQLException: ORA-01453: SET TRANSACTION must be first statement of transaction
      
      	at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:450)
      	at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399)
      	at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1059)
      	at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:522)
      	at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:257)
      	at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:587)
      	at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:210)
      	at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:30)
      	at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:931)
      	at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1150)
      	at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1792)
      	at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1745)
      	at oracle.jdbc.driver.OracleStatementWrapper.execute(OracleStatementWrapper.java:334)
      	at com.evolveum.midpoint.repo.sql.helpers.BaseHelper.lambda$beginTransaction$1(BaseHelper.java:105)
      	at org.hibernate.jdbc.WorkExecutor.executeWork(WorkExecutor.java:37)
      	at org.hibernate.internal.SessionImpl$1.accept(SessionImpl.java:2323)
      	at org.hibernate.internal.SessionImpl$1.accept(SessionImpl.java:2320)
      	at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.coordinateWork(JdbcCoordinatorImpl.java:320)
      	... 177 more

        Attachments

          Activity

            People

            • Assignee:
              lazyman Viliam Repan
              Reporter:
              lazyman Viliam Repan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: