Something went wrong with the Modeler.

1
Hi! I have no clue no how to solve this problem. My app has "0 Errors" and everything seems to be working fine. However I cannot run things anymore locally or online. I get the following pop message:   System.NullReferenceException: Object reference not set to an instance of an object. at Mendix.Modeler.WebUI.Util.MicroflowExpressionExtensions.GetAllExpressions[TExpr](MicroflowExpression me) in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.WebUI\Util\MicroflowExpressionExtensions.cs:line 35 at Mendix.Modeler.WebUI.Forms.Widgets.Validations.WidgetValidation.Check(IProblemsInfo problems) in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.WebUI\Forms\Widgets\Validations\WidgetValidation.cs:line 22 at Mendix.Modeler.WebUI.Forms.Widgets.MemberWidgets.AttributeWidget.Check(IProblemsInfo problems) in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.WebUI\Forms\Widgets\MemberWidgets\AttributeWidget.cs:line 94 at Mendix.Modeler.WebUI.Forms.Widgets.VerticalFlows.VerticalFlow.Check(IProblemsInfo problems) in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.WebUI\Forms\Widgets\VerticalFlows\VerticalFlow.cs:line 25 at Mendix.Modeler.WebUI.Forms.Widgets.LayoutGrids.LayoutGridRow.Check(IProblemsInfo problems) in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.WebUI\Forms\Widgets\LayoutGrids\LayoutGridRow.cs:line 48 at Mendix.Modeler.WebUI.Forms.Widgets.LayoutGrids.LayoutGrid.Check(IProblemsInfo problems) in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.WebUI\Forms\Widgets\LayoutGrids\LayoutGrid.cs:line 41 at Mendix.Modeler.WebUI.Forms.Widgets.EntityWidgets.DataViews.DataView.Check(IProblemsInfo problems) in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.WebUI\Forms\Widgets\EntityWidgets\DataViews\DataView.cs:line 93 at Mendix.Modeler.WebUI.Forms.Widgets.LayoutGrids.LayoutGridRow.Check(IProblemsInfo problems) in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.WebUI\Forms\Widgets\LayoutGrids\LayoutGridRow.cs:line 48 at Mendix.Modeler.WebUI.Forms.Widgets.LayoutGrids.LayoutGrid.Check(IProblemsInfo problems) in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.WebUI\Forms\Widgets\LayoutGrids\LayoutGrid.cs:line 41 at Mendix.Modeler.WebUI.Forms.Widgets.VerticalFlows.VerticalFlow.Check(IProblemsInfo problems) in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.WebUI\Forms\Widgets\VerticalFlows\VerticalFlow.cs:line 25 at Mendix.Modeler.WebUI.Forms.Documents.Layouts.LayoutCall.Check(IProblemsInfo problems) in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.WebUI\Forms\Documents\Layouts\LayoutCall.cs:line 30 at Mendix.Modeler.WebUI.Forms.Documents.Pages.Page.Check(IProblemsInfo problems) in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.WebUI\Forms\Documents\Pages\Page.cs:line 102 at Mendix.Modeler.Common.GenericProjectCheckWorker.DoWork(ICheckable checkable) in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Core\Common\Problems\GenericProjectCheckWorker.cs:line 20 at Mendix.Modeler.Storage.Operations.TypeWalk.ForEachObjectDo(IStorageObject root, Func`2 work, Boolean skipExcludedObjects) in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Storage\Operations\TypeWalk.cs:line 87 at Mendix.Modeler.Storage.Operations.TypeWalk.ForEachObjectDo(IStorageObject root, Func`2 work, Boolean skipExcludedObjects) in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Storage\Operations\TypeWalk.cs:line 92 at Mendix.Modeler.Storage.Operations.TypeWalk.ForEachObjectDo(IStorageObject root, Func`2 work, Boolean skipExcludedObjects) in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Storage\Operations\TypeWalk.cs:line 92 at Mendix.Modeler.Common.Problems.Check(IProject project) in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Core\Common\Problems\Problems.cs:line 82 at Mendix.Modeler.Common.BackgroundChecker.DoCheck() in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Core\Common\Problems\BackgroundChecker.cs:line 116 at Mendix.Modeler.Common.BackgroundChecker.Check() in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Core\Common\Problems\BackgroundChecker.cs:line 86 If I understand correctly there are object references in my app which are not set to an instance of this object. Where can I find these objects?? The rest of the message I don't really understand. I'd really appreciate some help to understand the issue. Thanks!  Philip
asked
3 answers
0

This is a stacktrace that points to a problem deep inside the Modeler source code. It can help us at R&D find the issue. It does not really help you unfortunately. Did you recently add validation to an input widget? It looks like the Modeler created an erroneous configuration in that area. If you remember where you made the change, you can perhaps delete that widget and try to configure it again and hope it fixes the problem.

Please hold on to the project in its current state (File > Export project package) so that you can attach it to a support ticket.

answered
0

Removed some validation and indeed it worked!! Thanks!

answered
0

A custom type of validation which had an error but not documented in the error list:

if $currentObject/ShipperContactFailed = MyFirstModule.ShipperContactFailed.Other then $value != empty

instead of

if $currentObject/ShipperContactFailed = MyFirstModule.ShipperContactFailed.Other then $value != empty  else $value = empty

 

answered