This happens on upgradeSafely mode

[16:48:32][Step 2/2] Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
[16:48:32][Step 2/2] at Xtensive.Orm.Upgrade.HintGenerator.GetAffectedColumns(StoredTypeInfo type, StoredFieldInfo field)
[16:48:32][Step 2/2] at Xtensive.Orm.Upgrade.HintGenerator.UpdateAffectedColumns(RemoveFieldHint hint)
[16:48:32][Step 2/2] at Xtensive.Orm.Upgrade.HintGenerator.CalculateAffectedTablesAndColumns(IEnumerable`1 hints)
[16:48:32][Step 2/2] at Xtensive.Orm.Upgrade.HintGenerator.GenerateHints(IEnumerable`1 upgradeHints)
[16:48:32][Step 2/2] at Xtensive.Orm.Upgrade.UpgradingDomainBuilder.BuildSchemaHints(StorageModel extractedSchema, StorageModel targetSchema)
[16:48:32][Step 2/2] at Xtensive.Orm.Upgrade.UpgradingDomainBuilder.<>c__DisplayClass7.<CreateBuilderConfiguration>b__3(StorageModel extractedSchema, StorageModel targetSchema)
[16:48:32][Step 2/2] at Xtensive.Orm.Building.Builders.DomainBuilder.SynchronizeSchema(SchemaUpgradeMode schemaUpgradeMode)
[16:48:32][Step 2/2] at Xtensive.Orm.Building.Builders.DomainBuilder.BuildDomain(DomainConfiguration configuration, DomainBuilderConfiguration builderConfiguration)
[16:48:32][Step 2/2] at Xtensive.Orm.Upgrade.UpgradingDomainBuilder.BuildStageDomain(UpgradeStage stage)
[16:48:32][Step 2/2] at Xtensive.Orm.Upgrade.UpgradingDomainBuilder.Build(DomainConfiguration configuration)
[16:48:32][Step 2/2] at Werp.Utils.DomainBuilder.Build() in d:\BuildAgent\work\46b0adba35a6b034\Werp.Utils\DomainBuilder.cs:line 131
[16:48:32][Step 2/2] --- End of inner exception stack trace ---
[16:48:32][Step 2/2] at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
[16:48:32][Step 2/2] at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
[16:48:32][Step 2/2] at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
[16:48:32][Step 2/2] at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
[16:48:32][Step 2/2] at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
[16:48:32][Step 2/2] at DeployHelper.Program.Deploy(String connString, Boolean recreate)
[16:48:32][Step 2/2] at DeployHelper.Program.Main(String[] args)
[16:48:40][Step 2/2] Process exited with code 255

asked Jun 04 '12 at 09:44

xumix's gravatar image

xumix
425737682

Thanks for report, we'll check that.

(Jun 04 '12 at 10:09) Denis Krjuchkov Denis%20Krjuchkov's gravatar image

One Answer:

Fix is included in 4.5.3 RC3

answered Jun 19 '12 at 04:37

Denis%20Krjuchkov's gravatar image

Denis Krjuchkov
179325

Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview

powered by OSQA