jerrong / Sitecore-Item-Buckets

Manage Large Repositories of Content in Sitecore
18 stars 19 forks source link

Cannot be installed according to the ItemBuckets Developer Guide document #5

Open ob1dev opened 11 years ago

ob1dev commented 11 years ago

Step to reproduce:

  1. Install Sitecore Item Bucket according to the “Sitecore ItemBuckets as a Sitecore Package” section of the “ItemBuckets Developer Guide.docx” document https://github.com/jerrong/Sitecore-Item- Buckets/blob/master/ItemBuckets%20Developer%20Guide.docx

    • Install Sitecore CMS 6.5.0 rev.121009 (Update-6); • Install the “Item+Buckets+Kernel-1.0.zip” installation package; • Navigate to Sitecore Client.

Result: The exception appears on Sitecore Login page. Please take a look at the attached “Exception.html” file.

Expected result: There should not any exception after installing the above packages.

Note: The reason of this issue because Sitecore.ItemBucket.Kernel.dll assembly has a references to the Sitecore.BigDate.dll assembly, which is distributed with “Item+Buckets+Big+Data-1.0.zip” installation package.

Exception:

Could not resolve type name: Sitecore.ItemBucket.Kernel.Crawlers.CustomCrawler,Sitecore.ItemBucket.Kernel (method: Sitecore.Configuration.Factory.CreateType(XmlNode configNode, String[] parameters, Boolean assert)). Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Exception: Could not resolve type name: Sitecore.ItemBucket.Kernel.Crawlers.CustomCrawler,Sitecore.ItemBucket.Kernel (method: Sitecore.Configuration.Factory.CreateType(XmlNode configNode, String[] parameters, Boolean assert)).

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[Exception: Could not resolve type name: Sitecore.ItemBucket.Kernel.Crawlers.CustomCrawler,Sitecore.ItemBucket.Kernel (method: Sitecore.Configuration.Factory.CreateType(XmlNode configNode, String[] parameters, Boolean assert)).] Sitecore.Diagnostics.Error.Raise(String error, String method) +129 Sitecore.Configuration.Factory.CreateType(XmlNode configNode, String[] parameters, Boolean assert) +421 Sitecore.Configuration.Factory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert) +67 Sitecore.Configuration.Factory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +141 Sitecore.Configuration.Factory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert) +930 Sitecore.Configuration.Factory.AssignProperties(XmlNode configNode, String[] parameters, Object obj, Boolean assert, Boolean deferred, IFactoryHelper helper) +577 Sitecore.Configuration.Factory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +296 Sitecore.Configuration.Factory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert) +930 Sitecore.Configuration.Factory.AssignProperties(XmlNode configNode, String[] parameters, Object obj, Boolean assert, Boolean deferred, IFactoryHelper helper) +577 Sitecore.Configuration.Factory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +296 Sitecore.Configuration.Factory.CreateObject(String configPath, String[] parameters, Boolean assert) +420 Sitecore.Search.SearchManager.GetIndex(String id) +128 Sitecore.Shell.Applications.ShellForm.OnLoad(EventArgs e) +1390

[TargetInvocationException: Exception has been thrown by the target of an invocation.] System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0 System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +76 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +193 System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +35 Sitecore.Web.UI.Sheer.ClientPage.OnLoad(EventArgs e) +337 System.Web.UI.Control.LoadRecursive() +71 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178

baswiebing commented 11 years ago

I got the same exception. Try installing Item Buckets in the following order:

  1. Install the Big Data package.
  2. Install the Item buckets kernel package.
  3. Install the Buckets UI package.
  4. Update with the update packages.

It helped for me and it's written incorrectly in the documentation.

jammykam commented 11 years ago

The documentation states: "There is a 3rd optional package with is Sitecore Item Buckets Big Data" but the design statement on the repo homepage states it is mandatory. There are a few other areas of inconsistencies and the document is not up to the usual Sitecore quality.