OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT.
at Umbraco.Forms.Migration.MigrationService.Migrate(String connString) in c:\Users\timgeyssens\Documents\Visual Studio 2013\Projects\Umbraco.Forms.Migration\Umbraco.Forms.Migration\MigrationService.cs:line 89 at Umbraco.Forms.Migration.ContourToForms.Button1_Click(Object sender, EventArgs e) in c:\Users\timgeyssens\Documents\Visual Studio 2013\Projects\Umbraco.Forms.Migration\Umbraco.Forms.Migration\ContourToForms.ascx.cs:line 23
Im getting exactly the same (differant line though, assume differant version)
Oops something whent wrong
OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT.
at Umbraco.Forms.Core.Workflow.set_Type(WorkflowType value) at Umbraco.Forms.Migration.MigrationService.Migrate(String connString) in c:\Users\timgeyssens\Documents\Visual Studio 2013\Projects\Umbraco.Forms.Migration\Umbraco.Forms.Migration\MigrationService.cs:line 131 at Umbraco.Forms.Migration.ContourToForms.Button1_Click(Object sender, EventArgs e) in c:\Users\timgeyssens\Documents\Visual Studio 2013\Projects\Umbraco.Forms.Migration\Umbraco.Forms.Migration\ContourToForms.ascx.cs:line 23
I had this issue, it seems to stem from a data issue.
Run this query on the contour database:
SELECT *
FROM [dbo].[UFFields] F
LEFT OUTER JOIN [dbo].[UFFieldConditions] C ON F.Id = C.Field
WHERE C.ID IS NULL
In my case I had a Field without and field conditions. I tracked this down by looking through the migrate package source code.
I then deleted the field without a condition, and the import worked as expected. :)
Problem was that I had several versions in the back office of each form that had worked on each failed migration attempt. I simply deleted these using the back office.
I had this problem too. I ran the query Yetiish provided and then determined the title of the form by running the following query:
select * from UFForms
join UFPages on UFForms.id = UFPages.Form
join UFFieldSets on UFPages.id = UFFieldsets.Page
join UFFields on UFFieldSets.id = UFFields.Fieldset
where UFFields.id = 'FORM ID HERE'
I had over 50 records show up. I just located the form and re-saved it and it cleared it up. I did that for about six or seven forms and they all went away.
Doh! Migration not happening.
Receiving this Error when trying to migrate.
OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT. at Umbraco.Forms.Migration.MigrationService.Migrate(String connString) in c:\Users\timgeyssens\Documents\Visual Studio 2013\Projects\Umbraco.Forms.Migration\Umbraco.Forms.Migration\MigrationService.cs:line 89 at Umbraco.Forms.Migration.ContourToForms.Button1_Click(Object sender, EventArgs e) in c:\Users\timgeyssens\Documents\Visual Studio 2013\Projects\Umbraco.Forms.Migration\Umbraco.Forms.Migration\ContourToForms.ascx.cs:line 23
Appreciate any help.
No TraceLog data, so checked all places i can.
/Keith
Im getting exactly the same (differant line though, assume differant version)
Oops something whent wrong
OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT.
at Umbraco.Forms.Core.Workflow.set_Type(WorkflowType value) at Umbraco.Forms.Migration.MigrationService.Migrate(String connString) in c:\Users\timgeyssens\Documents\Visual Studio 2013\Projects\Umbraco.Forms.Migration\Umbraco.Forms.Migration\MigrationService.cs:line 131 at Umbraco.Forms.Migration.ContourToForms.Button1_Click(Object sender, EventArgs e) in c:\Users\timgeyssens\Documents\Visual Studio 2013\Projects\Umbraco.Forms.Migration\Umbraco.Forms.Migration\ContourToForms.ascx.cs:line 23
Also experincing this problem
I had this issue, it seems to stem from a data issue.
Run this query on the contour database:
In my case I had a Field without and field conditions. I tracked this down by looking through the migrate package source code.
I then deleted the field without a condition, and the import worked as expected. :)
Problem was that I had several versions in the back office of each form that had worked on each failed migration attempt. I simply deleted these using the back office.
Same issue, any fix for this?
Please let me know
I had this problem too. I ran the query Yetiish provided and then determined the title of the form by running the following query:
select * from UFForms join UFPages on UFForms.id = UFPages.Form join UFFieldSets on UFPages.id = UFFieldsets.Page join UFFields on UFFieldSets.id = UFFields.Fieldset where UFFields.id = 'FORM ID HERE'
I had over 50 records show up. I just located the form and re-saved it and it cleared it up. I did that for about six or seven forms and they all went away.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.