Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Form suddenly stops working "Object reference not set to an instance of an object" #115

Closed
ralphvanvugt opened this issue Feb 24, 2017 · 3 comments

Comments

@ralphvanvugt
Copy link

One moment the form shows nicely, but a second later the following error appears:

Object reference not set to an instance of an object.

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.NullReferenceException: Object reference not set to an instance of an object.

Source Error:
Line 140:
Line 141: @* form actions as an array of JSON objects @
Line 142: _fe[@formContent.Id].actions = @form.Actions.Render();
Line 143:
Line 144: @
the total number of form pages *@

Source File: c:\inetpub\wwwroot\www.culinaireduizendpoot.nl\Views\Partials\FormEditor\Async.cshtml Line: 142

We cannot fix it, only by creating a new node and create the form again.

@kjac
Copy link
Owner

kjac commented Feb 24, 2017 via email

@kjac
Copy link
Owner

kjac commented Mar 7, 2017

@ralphvanvugt I'm closing this now. Reopen it if you're still having problems.

@kjac kjac closed this as completed Mar 7, 2017
@ralphvanvugt
Copy link
Author

@kjac Sorry, I was on holidays. The fix worked.

kjac pushed a commit that referenced this issue Mar 16, 2017
Add a bunch of extra null checks to avoid a similar situation as #115.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants