sitecore6 - Error when saving in Sitecore Backend in the Core Database -
after updating our sitecore 6.3 6.6 facing problem when want save item in core db, error message comes up:
[nullreferenceexception: der objektverweis wurde nicht auf eine objektinstanz festgelegt.] sitecore.intranet.frontendediting.frontendeditor.isautoversioningenabledforitem(item item) +69 sitecore.intranet.pipelines.saveui.addnewversion.process(saveargs args) +515 [targetinvocationexception: ein aufrufziel hat einen ausnahmefehler verursacht.] system.runtimemethodhandle._invokemethodfast(object target, object[] arguments, signaturestruct& sig, methodattributes methodattributes, runtimetypehandle typeowner) +0 system.reflection.runtimemethodinfo.invoke(object obj, bindingflags invokeattr, binder binder, object[] parameters, cultureinfo culture, boolean skipvisibilitychecks) +1255 system.reflection.runtimemethodinfo.invoke(object obj, bindingflags invokeattr, binder binder, object[] parameters, cultureinfo culture) +38 sitecore.pipelines.processor.invoke(pipelineargs args) +318 sitecore.nexus.pipelines.nexuspipelineapi.resume(pipelineargs args, pipeline pipeline) +330 sitecore.pipelines.pipeline.dostart(pipelineargs args) +208 sitecore.pipelines.pipeline.start(pipelineargs args, boolean atomic) +182 sitecore.web.ui.sheer.clientpage.runpipelines() +280 sitecore.web.ui.sheer.clientpage.onprerender(eventargs e) +530 sitecore.shell.applications.contentmanager.contenteditorpage.onprerender(eventargs e) +25 system.web.ui.control.prerenderrecursiveinternal() +108 system.web.ui.page.processrequestmain(boolean includestagesbeforeasyncpoint, boolean includestagesafterasyncpoint) +3394 [nullreferenceexception]: der objektverweis wurde nicht auf eine objektinstanz festgelegt. bei sitecore.intranet.frontendediting.frontendeditor.isautoversioningenabledforitem(item item) bei sitecore.intranet.pipelines.saveui.addnewversion.process(saveargs args) [targetinvocationexception]: ein aufrufziel hat einen ausnahmefehler verursacht. bei system.runtimemethodhandle._invokemethodfast(object target, object[] arguments, signaturestruct& sig, methodattributes methodattributes, runtimetypehandle typeowner) bei system.reflection.runtimemethodinfo.invoke(object obj, bindingflags invokeattr, binder binder, object[] parameters, cultureinfo culture, boolean skipvisibilitychecks) bei system.reflection.runtimemethodinfo.invoke(object obj, bindingflags invokeattr, binder binder, object[] parameters, cultureinfo culture) bei sitecore.pipelines.processor.invoke(pipelineargs args) bei sitecore.nexus.pipelines.nexuspipelineapi.resume(pipelineargs args, pipeline pipeline) bei sitecore.pipelines.pipeline.dostart(pipelineargs args) bei sitecore.pipelines.pipeline.start(pipelineargs args, boolean atomic) bei sitecore.web.ui.sheer.clientpage.runpipelines() bei sitecore.web.ui.sheer.clientpage.onprerender(eventargs e) bei sitecore.shell.applications.contentmanager.contenteditorpage.onprerender(eventargs e) bei system.web.ui.control.prerenderrecursiveinternal() bei system.web.ui.page.processrequestmain(boolean includestagesbeforeasyncpoint, boolean includestagesafterasyncpoint) [httpunhandledexception]: eine ausnahme vom typ "system.web.httpunhandledexception" wurde ausgelöst. bei system.web.ui.page.handleerror(exception e) bei system.web.ui.page.processrequestmain(boolean includestagesbeforeasyncpoint, boolean includestagesafterasyncpoint) bei system.web.ui.page.processrequest(boolean includestagesbeforeasyncpoint, boolean includestagesafterasyncpoint) bei system.web.ui.page.processrequest() bei system.web.ui.page.processrequest(httpcontext context) bei asp.sitecore_shell_applications_content_manager_default_aspx.processrequest(httpcontext context) in c:\windows\microsoft.net\framework64\v2.0.50727\temporary asp.net files\root\0a348ed6\6269aa05\app_web_x1rqdwhm.1.cs:zeile 0. bei system.web.httpapplication.callhandlerexecutionstep.system.web.httpapplication.iexecutionstep.execute() bei system.web.httpapplication.executestep(iexecutionstep step, boolean& completedsynchronously) saving items in master db works fine. made necessary config files changes. backend , website working fine.
how can fix this? in advance :)
looking @ stack trace - exception thrown sitecore.intranet.frontendediting.frontendeditor class. class sitecore intranet module.
the last version of sitecore intranet module contains class sitecore intranet 3.3 (which supports sitecore 6.3).
this class no longer exists in sitecore intranet 4.0 (which supports sitecore 6.6).
you should update sitecore intranet module 4.0 version
edit:
release history of sitecore intranet says:
june 20, 2013
the sitecore intranet platform - sip v4.0 rev.130523 released on may 23, 2013.
tested sitecore cms 6.6. rev. 130529 (update-6) released on june 6, 2013.
compatibility
this release runs on sitecore 6.6 , dms 6.6.
edit 2:
you can try create class inherit sitecore.intranet.pipelines.saveui.addnewversion , catch exception. should not executed core database anyway.
remember register new class instead of original addnewversion:
<!-- processor mode="on" type="sitecore.intranet.pipelines.saveui.addnewversion, sitecore.intranet" / --> <processor mode="on" type="my.assembly.namespace.addnewversion, my.assembly.namespace" /> namespace my.assembly.namespace { public class addnewversion : sitecore.intranet.pipelines.saveui.addnewversion { public new void process(sitecore.pipelines.save.saveargs args) { try { base.process(args); } catch (exception exc) { log.error("exception in addnewversion.process", exc, this); } } } }
Comments
Post a Comment