org.obiba.magma.crypt.NoSuchKeyException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Trying to export the completed interview data. After clicking the button "Export" in page "Participant Data Management", no files found under the desiganated directory. Meanwhile, the following error information is given by stdout.log ============================= 2009-12-10 14:16:37,187 - INFO - able.export.OnyxDataExport - Starting export to configured destinations. 2009-12-10 14:16:37,187 - ERROR - .panel.DataManagementPanel - Error on data export. org.obiba.magma.crypt.NoSuchKeyException: No PublicKey for destination 'DCC' at org.obiba.onyx.engine.variable.export.OnyxDataExport$2.getPublicKey(OnyxDataExport.java:118) at org.obiba.magma.datasource.crypt.GeneratedSecretKeyDatasourceEncryptionStrategy.wrapKey(GeneratedSecretKeyDatasourceEncryptionStrategy.java:139) at org.obiba.magma.datasource.crypt.GeneratedSecretKeyDatasourceEncryptionStrategy.getSecretKey(GeneratedSecretKeyDatasourceEncryptionStrategy.java:118) at org.obiba.magma.datasource.crypt.GeneratedSecretKeyDatasourceEncryptionStrategy.createDatasourceCipherFactory(GeneratedSecretKeyDatasourceEncryptionStrategy.java:102) at org.obiba.magma.datasource.fs.FsDatasource.onInitialise(FsDatasource.java:91) at org.obiba.magma.support.AbstractDatasource.initialise(AbstractDatasource.java:79) at org.obiba.magma.MagmaEngine.addDatasource(MagmaEngine.java:86) at org.obiba.onyx.engine.variable.export.OnyxDataExport.exportInterviews(OnyxDataExport.java:130) at WICKET_org.obiba.onyx.engine.variable.export.OnyxDataExport$$FastClassByCGLIB$$c7571da3.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.apache.wicket.proxy.LazyInitProxyFactory$CGLibInterceptor.intercept(LazyInitProxyFactory.java:319) at WICKET_org.obiba.onyx.engine.variable.export.OnyxDataExport$$EnhancerByCGLIB$$8904431a.exportInterviews(<generated>) at org.obiba.onyx.webapp.administration.panel.DataManagementPanel$1$1.onYesButtonClicked(DataManagementPanel.java:65) at org.obiba.onyx.wicket.reusable.ConfirmationDialog$1.onClose(ConfirmationDialog.java:43) at org.obiba.onyx.wicket.reusable.Dialog$7.onClose(Dialog.java:369) at org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow$WindowClosedBehavior.respond(ModalWindow.java:921) at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:299) at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:119) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428) at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:468) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:301) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:574) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1527) at java.lang.Thread.run(Unknown Source)
    via by Unknown author,
    • org.obiba.magma.crypt.NoSuchKeyException: No PublicKey for destination 'DCC' at org.obiba.onyx.engine.variable.export.OnyxDataExport$2.getPublicKey(OnyxDataExport.java:118) at org.obiba.magma.datasource.crypt.GeneratedSecretKeyDatasourceEncryptionStrategy.wrapKey(GeneratedSecretKeyDatasourceEncryptionStrategy.java:139) at org.obiba.magma.datasource.crypt.GeneratedSecretKeyDatasourceEncryptionStrategy.getSecretKey(GeneratedSecretKeyDatasourceEncryptionStrategy.java:118) at org.obiba.magma.datasource.crypt.GeneratedSecretKeyDatasourceEncryptionStrategy.createDatasourceCipherFactory(GeneratedSecretKeyDatasourceEncryptionStrategy.java:102) at org.obiba.magma.datasource.fs.FsDatasource.onInitialise(FsDatasource.java:91) at org.obiba.magma.support.AbstractDatasource.initialise(AbstractDatasource.java:79) at org.obiba.magma.MagmaEngine.addDatasource(MagmaEngine.java:86) at org.obiba.onyx.engine.variable.export.OnyxDataExport.exportInterviews(OnyxDataExport.java:130) at WICKET_org.obiba.onyx.engine.variable.export.OnyxDataExport$$FastClassByCGLIB$$c7571da3.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.apache.wicket.proxy.LazyInitProxyFactory$CGLibInterceptor.intercept(LazyInitProxyFactory.java:319) at WICKET_org.obiba.onyx.engine.variable.export.OnyxDataExport$$EnhancerByCGLIB$$8904431a.exportInterviews(<generated>) at org.obiba.onyx.webapp.administration.panel.DataManagementPanel$1$1.onYesButtonClicked(DataManagementPanel.java:65) at org.obiba.onyx.wicket.reusable.ConfirmationDialog$1.onClose(ConfirmationDialog.java:43) at org.obiba.onyx.wicket.reusable.Dialog$7.onClose(Dialog.java:369) at org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow$WindowClosedBehavior.respond(ModalWindow.java:921) at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:299) at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:119) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428) at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:468) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:301) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:574) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1527) at java.lang.Thread.run(Unknown Source)
    No Bugmate found.