Sitecore Upgrade Exception - sitecore

I upgraded from Sitecore 7.0 initial release to Sitecore 7.1
when I run the update package the below error appears
Exception details: System.NullReferenceException: Object reference not
set to an instance of an object. at
Sitecore.Update.UpdateHelper.GetHistoryFolderName(String historyPath)
at Sitecore.Update.InstallUpdatePackage.SetHistoryPath(String
historyPath) at
Sitecore.Update.InstallUpdatePackage.InstallPackage(MetadataView view)
at Sitecore.Update.InstallUpdatePackage.OnLoad(EventArgs e)
The following is a screen shot for the error:

Related

Ember upgrade to 3.27 TypeError: Ember.computed.alias is not a function

I'm upgrading a project from 3.26 to 3.27 using ember-cli-update, and then this error started happening, As I could see the error is raised when we try to access some method inside #ember/computed like alias. The first time the error occurred was here
I just commented the line to test and the same error occurred in another addon. So it's not related to the addon but something in the project

Team Build Nuget restore failure with .NET Core 2.0 + .Net Standard 2.0

I have a VS2017 solution that contains a .NET Core 2.0 console project that references a .NET Standard 2.0 class library, as well as a number of other NuGet packages. The solution builds fine on my development machine.
When I try to run NuGet restore on the TFS build server with NuGet 4.0.0 or 4.1.0, I get the following error:
Package (mypackagename) 1.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package (mypackagename) 1.0.0 supports:
- net35 (.NETFramework,Version=v3.5)
- netstandard2.0 (.NETStandard,Version=v2.0)
This error message is similar to that described in Nuget restore fails for ASP.NET Core 2.0 project on build server so I tried the solution suggested there, which is to use NuGet 4.3.0 or later. I've tried all released versions from 4.3.0 to 4.6.2, and this time I get the following error from NuGet restore:
2018-04-17T15:45:15.2611952Z Value cannot be null.
2018-04-17T15:45:15.2611952Z Parameter name: key
2018-04-17T15:45:15.2611952Z System.ArgumentNullException: Value cannot be null.
2018-04-17T15:45:15.2611952Z Parameter name: key
2018-04-17T15:45:15.2611952Z at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
2018-04-17T15:45:15.2611952Z at NuGet.Commands.RestoreCommandProvidersCache.GetOrCreate(String globalPackagesPath, IReadOnlyList`1 fallbackPackagesPaths, IReadOnlyList`1 sources, SourceCacheContext cacheContext, ILogger log)
2018-04-17T15:45:15.2611952Z at NuGet.Commands.DependencyGraphSpecRequestProvider.Create(String projectNameToRestore, ExternalProjectReference project, HashSet`1 projectReferenceClosure, RestoreArgs restoreArgs, DependencyGraphSpec projectDgSpec)
2018-04-17T15:45:15.2611952Z at NuGet.Commands.DependencyGraphSpecRequestProvider.GetRequestsFromItems(RestoreArgs restoreContext, DependencyGraphSpec dgFile)
2018-04-17T15:45:15.2611952Z at NuGet.Commands.DependencyGraphSpecRequestProvider.CreateRequests(RestoreArgs restoreContext)
2018-04-17T15:45:15.2611952Z at NuGet.Commands.RestoreRunner.<CreatePreLoadedRequests>d__11.MoveNext()
2018-04-17T15:45:15.2611952Z --- End of stack trace from previous location where exception was thrown ---
Any suggestions as to how I can get this working?
I fixed this by setting "Clean = True" in the "Get Sources" task of my Team Build.
After doing this, I could use a recent version of NuGet (4.6.2), which no longer throws the ArgumentNullException above.
I suspect a bug in NuGet, where it gets confused by files left around from a previous build.

Cordova build fail for iOS 11 with XCode 9.0.1 Remote debugging in Visual Studio

With my cordova app with taco in VS, when I try to remote build(VS in windows to Mac) it gives this part of error lines.
ERROR: Plugin 'Device' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.
[CDVCommandQueue executePending] [Line 142] FAILED pluginJSON = ["Device313876570","Device","getDeviceInfo",[]]
ERROR: Plugin 'File' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.
[CDVCommandQueue executePending] [Line 142] FAILED pluginJSON = ["File313876571","File","requestAllPaths",[]]
[MC] Reading from private effective user settings.
for me it seems like problems with the 2 plugins,
cordova-plugin-device (v1.1.7) and
cordova-plugin-file (v4.3.3)
VS Cordova tool-set version 6.3.1
does anybody encounter this kind of situation and any suggestions?

Update to sitecore 8.2 giving error for Sitecore.Services.Infrastructure.Sitecore.DependencyInjection.ComponentServicesConfigurator

I have upgraded from Sitecore 8.1 to Sitecore 8.2. I am getting following error:
Could not find type: Sitecore.Services.Infrastructure.Sitecore.DependencyInjection.ComponentServicesConfigurator, Sitecore.Services.Infrastructure.Sitecore [<configurator type="Sitecore.Services.Infrastructure.Sitecore.DependencyInjection.ComponentServicesConfigurator, Sitecore.Services.Infrastructure.Sitecore" />]
What am I missing?
The assembly : Sitecore.Services.Infrastructure.Sitecore might be from old Sitecore Version. Please reference the one from latest SC version.
New namespace added : Sitecore.Services.Infrastructure.Sitecore.DependencyInjection
Please verify the fix.

Why do I get this Method not found error anytime I click on a Sitecore template?

We're using Sitecore 7.5 for our sites. In the Content Editor, any time I click on a template, I get the following error: Method not found: 'Boolean Sitecore.Data.Templates.TemplateField.get_IgnoreDictionaryTranslations()'.
I have no idea why I receive this. It happens in both the Web and Master databases.
I think this is a bug in the version of the Sitecore.Kernel.dll I was using. I was using version 7.5.4932.0. Once I replaced it with version 7.5.5064.0 the error went away.