November Happy Hour will be moved to Thursday December 5th.

[6.0.441.2] BUG: Exception during upgrade of XForm data

Vote:
 

Upgrading XForm Post - 84 of 987
An error occurred upgrading an XForm or Folder
Object reference not set to an instance of an object.

An unhandled error has occured:
Object reference not set to an instance of an object.
When executing

At C:\Program Files (x86)\EPiServer\CMS\6.0.441.2\Upgrade\System Scripts\Migrat
e Data (SqlServer).ps1:71 char:19
+     Upgrade-EPiXForms <<<<  -SelectedSite $wizard.SelectedApplication

=
Get-EPiIsBulkInstalling

An unhandled error has occured:
Object reference not set to an instance of an object.
When executing

At C:\Program Files (x86)\EPiServer\CMS\6.0.441.2\Upgrade\System Scripts\Migrat
e Data (SqlServer).ps1:71 char:19
+     Upgrade-EPiXForms <<<<  -SelectedSite $wizard.SelectedApplication

=
Get-EPiIsBulkInstalling
Error - System.Management.Automation.CmdletInvocationException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at EPiServer.XForms.XFormData.Save(IDbTransaction transaction)
   at EPiServer.Upgrade.CMS5.XFormUpgrader.Upgrade(String connectionString, String dbProviderName, Boolean oracle)
   at EPiServer.Upgrade.CMS5.XFormUpgrader.Upgrade(String connectionString, String dbProviderName, Boolean oracle)
   at EPiServer.Upgrade.CMS5.UpgradeXFormsCmdlet.ProcessRecord()
   at System.Management.Automation.Cmdlet.DoProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()
   --- End of inner exception stack trace ---
   at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate)
   at System.Management.Automation.PipelineNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)
   at System.Management.Automation.StatementListNode.ExecuteStatement(ParseTreeNode statement, Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)

#35654
Dec 19, 2009 13:55
Vote:
 

This should be fixed in RC1.

#35776
Dec 23, 2009 9:53
Vote:
 

Yes, I can confirm that.

#35779
Dec 23, 2009 10:17
Vote:
 

I cannot confirm this, I get the same error:

Deleting XForm Folder from Object Store - 1 of 2 with Id d46ce4f6-4458-44db-bfbc-1fbf00505eef
Deleting XForm Folder from Object Store - 2 of 2 with Id ca3b3d18-dc17-45c0-bddb-091db2374e6b

An unhandled error has occured:
Completed with errors - see Additional Information window
When executing

At C:\Program Files (x86)\EPiServer\CMS\6.0.530.0\Upgrade\System Scripts\Migrat
e Data (SqlServer).ps1:100 char:19
+  Upgrade-EPiXForms <<<<  -SelectedSite $wizard.SelectedApplication

=
Get-EPiIsBulkInstalling

An unhandled error has occured:
Completed with errors - see Additional Information window
When executing

At C:\Program Files (x86)\EPiServer\CMS\6.0.530.0\Upgrade\System Scripts\Migrat
e Data (SqlServer).ps1:100 char:19
+  Upgrade-EPiXForms <<<<  -SelectedSite $wizard.SelectedApplication

=
Get-EPiIsBulkInstalling
Error - System.Management.Automation.CmdletInvocationException: Completed with errors - see Additional Information window ---> System.ApplicationException: Completed with errors - see Additional Information window
   at EPiServer.Upgrade.CMS5.XFormUpgrader.Upgrade(String connectionString, String dbProviderName, Boolean oracle)
   at EPiServer.Upgrade.CMS5.XFormUpgrader.Upgrade(String connectionString, String dbProviderName, Boolean oracle)
   at EPiServer.Upgrade.CMS5.UpgradeXFormsCmdlet.ProcessRecord()
   at System.Management.Automation.Cmdlet.DoProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()
   --- End of inner exception stack trace ---
   at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate)
   at System.Management.Automation.PipelineNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)
   at System.Management.Automation.StatementListNode.ExecuteStatement(ParseTreeNode statement, Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)

#39877
Jun 04, 2010 9:46
Vote:
 

Looks like the same module but another callstack, you should register a support case to get help on this (if you don't get a response here).

#39878
Jun 04, 2010 9:50
Vote:
 

I have the same bug during upgrading 5 R2 SP2 to 6.0.530.0.

Deleting XForm from Object Store - 18 of 19 with Id 03ded02d-5cfd-4446-90b6-3accd9e5fcf6
Deleting XForm from Object Store - 19 of 19 with Id f1cfe5b1-23e1-4326-bdc8-56a3becc0a6d

An unhandled error has occured:
Completed with errors - see Additional Information window
When executing


At E:\Program Files\EPiServer\CMS\6.0.530.0\Upgrade\System Scripts\Migrate Data
 (SqlServer).ps1:100 char:19
+     Upgrade-EPiXForms  <<<< -SelectedSite $wizard.SelectedApplication

=
Get-EPiIsBulkInstalling

An unhandled error has occured:
Completed with errors - see Additional Information window
When executing


At E:\Program Files\EPiServer\CMS\6.0.530.0\Upgrade\System Scripts\Migrate Data
 (SqlServer).ps1:100 char:19
+     Upgrade-EPiXForms  <<<< -SelectedSite $wizard.SelectedApplication

=
Get-EPiIsBulkInstalling
Error - System.Management.Automation.CmdletInvocationException: Completed with errors - see Additional Information window ---> System.ApplicationException: Completed with errors - see Additional Information window
   at EPiServer.Upgrade.CMS5.XFormUpgrader.Upgrade(String connectionString, String dbProviderName, Boolean oracle)
   at EPiServer.Upgrade.CMS5.XFormUpgrader.Upgrade(String connectionString, String dbProviderName, Boolean oracle)
   at EPiServer.Upgrade.CMS5.UpgradeXFormsCmdlet.ProcessRecord()
   at System.Management.Automation.Cmdlet.DoProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()
   --- End of inner exception stack trace ---
   at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate)
   at System.Management.Automation.Parser.PipelineNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList)
   at System.Management.Automation.Parser.StatementListNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList)

What is wrong? How to avoid that problem?

 

#47529
Edited, Jan 31, 2011 23:07
Vote:
 

I can confirm that some properties gets a error message when upgraded.

#47670
Feb 08, 2011 13:36
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.