Hi there, For school we are working on a mendix project. But when we wanted to run the app we got this error, but there are no errors in the app itself: System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.) ---> System.NullReferenceException: Object reference not set to an instance of an object. at Mendix.Modeler.WebUI.PluginWidgets.Builder.PropertyContainerBuilder`1.WithAttributePropertyFrom(String key, AttributeWidget widget, IExportContext context, Action`1 callback) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.WebUI\PluginWidgets\Builder\PropertyContainerBuilder.cs:line 56 at Mendix.Modeler.WebUI.Forms.Widgets.MemberWidgets.DropDowns.DropDown.CreatePluginWidget(IExportContext context, IWidgetContainer widgetContainer) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.WebUI\Forms\Widgets\MemberWidgets\DropDowns\DropDown.cs:line 36 at Mendix.Modeler.WebUI.PluginWidgets.PluginWidgetUtil.ToPluginWidget(IExportContext context, IWidgetContainer widgetContainer, IWidget widget) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.WebUI\PluginWidgets\PluginWidgetUtil.cs:line 46 at System.Linq.Enumerable.SelectIListIterator`2.MoveNext() at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext() at Mendix.Common.Util.EnumerableUtil.ForEach[T](IEnumerable`1 source, Action`1 action) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Common\Util\EnumerableUtil.cs:line 50 at Mendix.Modeler.WebUI.PluginWidgets.Builder.PropertyContainerBuilder`1.WithWidgetsProperty(String key, Func`2 builder, EntityIdentifier entityId, SnippetCall snippetCall) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.WebUI\PluginWidgets\Builder\PropertyContainerBuilder.cs:line 199 at Mendix.Modeler.WebUI.Forms.Widgets.EntityWidgets.DataViews.DataView.Mendix.Modeler.WebUI.PluginWidgets.Export.IExportAsPluginWidget.CreatePluginWidget(IExportContext context, IWidgetContainer widgetContainer) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.WebUI\Forms\Widgets\EntityWidgets\DataViews\DataView.cs:line 262 at Mendix.Modeler.WebUI.PluginWidgets.PluginWidgetUtil.ToPluginWidget(IExportContext context, IWidgetContainer widgetContainer, IWidget widget) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.WebUI\PluginWidgets\PluginWidgetUtil.cs:line 46 at System.Linq.Enumerable.SelectIListIterator`2.MoveNext() at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext() at Mendix.Common.Util.EnumerableUtil.ForEach[T](IEnumerable`1 source, Action`1 action) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Common\Util\EnumerableUtil.cs:line 50 at Mendix.Modeler.WebUI.PluginWidgets.Builder.PropertyContainerBuilder`1.WithWidgetsProperty(String key, Func`2 builder, EntityIdentifier entityId, SnippetCall snippetCall) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.WebUI\PluginWidgets\Builder\PropertyContainerBuilder.cs:line 199 at Mendix.Modeler.WebUI.Forms.Widgets.LayoutGrids.LayoutGrid.<>c__DisplayClass11_3.<Mendix.Modeler.WebUI.PluginWidgets.Export.IExportAsPluginWidget.CreatePluginWidget>b__3(LayoutGridColumn col, Int32 colIndex) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.WebUI\Forms\Widgets\LayoutGrids\LayoutGrid.cs:line 119 at System.Linq.Enumerable.SelectIterator[TSource,TResult](IEnumerable`1 source, Func`3 selector)+MoveNext() at Mendix.Common.Util.EnumerableUtil.ForEach[T](IEnumerable`1 source, Action`1 action) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Common\Util\EnumerableUtil.cs:line 50 at Mendix.Modeler.WebUI.PluginWidgets.Builder.PropertyContainerBuilder`1.WithWidgetsProperty(String key, Func`2 builder, EntityIdentifier entityId, SnippetCall snippetCall) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.WebUI\PluginWidgets\Builder\PropertyContainerBuilder.cs:line 199 at Mendix.Modeler.WebUI.Forms.Widgets.LayoutGrids.LayoutGrid.<>c__DisplayClass11_1.<Mendix.Modeler.WebUI.PluginWidgets.Export.IExportAsPluginWidget.CreatePluginWidget>b__1(LayoutGridRow row, Int32 rowIndex) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.WebUI\Forms\Widgets\LayoutGrids\LayoutGrid.cs:line 113 at System.Linq.Enumerable.SelectIterator[TSource,TResult](IEnumerable`1 source, Func`3 selector)+MoveNext() at Mendix.Common.Util.EnumerableUtil.ForEach[T](IEnumerable`1 source, Action`1 action) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Common\Util\EnumerableUtil.cs:line 50 at Mendix.Modeler.WebUI.PluginWidgets.Builder.PropertyContainerBuilder`1.WithWidgetsProperty(String key, Func`2 builder, EntityIdentifier entityId, SnippetCall snippetCall) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.WebUI\PluginWidgets\Builder\PropertyContainerBuilder.cs:line 199 at Mendix.Modeler.WebUI.Forms.Widgets.LayoutGrids.LayoutGrid.Mendix.Modeler.WebUI.PluginWidgets.Export.IExportAsPluginWidget.CreatePluginWidget(IExportContext context, IWidgetContainer widgetContainer) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.WebUI\Forms\Widgets\LayoutGrids\LayoutGrid.cs:line 109 at Mendix.Modeler.WebUI.Forms.Exporter.FormWriter.WriteWidget(IWriteWidget widget, IWebExportContext context) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.WebUI\Forms\Exporter\FormWriter.cs:line 100 at Mendix.Modeler.WebUI.Forms.Exporter.FormWriter.WriteArgument(String parameterName, IEnumerable`1 widgets) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.WebUI\Forms\Exporter\FormWriter.cs:line 81 at Mendix.Modeler.WebUI.Forms.Exporter.FormWriter.WriteArguments(IDictionary`2 arguments) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.WebUI\Forms\Exporter\FormWriter.cs:line 290 at Mendix.Modeler.WebUI.Forms.Exporter.FormWriter.<>c__DisplayClass21_0.<Write>b__0() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.WebUI\Forms\Exporter\FormWriter.cs:line 188 at Mendix.Modeler.Common.ResolveCache.TrackResolves(Action code) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Common\Problems\ResolveCache.cs:line 100 at Mendix.Modeler.WebUI.Forms.Exporter.FormWriter.Write() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.WebUI\Forms\Exporter\FormWriter.cs:line 193 at Mendix.Modeler.Common.ResolveCache.TrackResolves(Action code) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Common\Problems\ResolveCache.cs:line 100 at Mendix.Modeler.WebUI.Forms.Exporter.FormExporter.<>c__DisplayClass5_1.<ExportForms>b__2() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.WebUI\Forms\Exporter\FormExporter.cs:line 92 at Mendix.Modeler.Common.ResolveCache.WithCache[T](IProject project, Func`1 action) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Common\Problems\ResolveCache.cs:line 73 at Mendix.Modeler.WebUI.Forms.Exporter.FormExporter.<>c__DisplayClass5_0.<ExportForms>b__1(IDocument document) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.WebUI\Forms\Exporter\FormExporter.cs:line 82 at Mendix.Modeler.Projects.Changes.ChangedDocumentsProcessor`1.<>c__DisplayClass5_0.<ProcessChangedDocuments>g__DoProcess|5(IDocument document) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Projects\Changes\ChangedDocumentsProcessor.cs:line 70 at System.Linq.Parallel.ForAllOperator`1.ForAllEnumerator`1.MoveNext(TInput& currentElement, Int32& currentKey) at System.Linq.Parallel.ForAllSpoolingTask`2.SpoolingWork() at System.Linq.Parallel.SpoolingTaskBase.Work() at System.Linq.Parallel.QueryTask.BaseWork(Object unused) at System.Linq.Parallel.QueryTask.RunTaskSynchronously(Object o) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of inner exception stack trace --- at System.Linq.Parallel.QueryTaskGroupState.QueryEnd(Boolean userInitiatedDispose) at System.Linq.Parallel.SpoolingTask.SpoolForAll[TInputOutput,TIgnoreKey](QueryTaskGroupState groupState, PartitionedStream`2 partitions, TaskScheduler taskScheduler) at System.Linq.Parallel.MergeExecutor`1.Execute[TKey](PartitionedStream`2 partitions, Boolean ignoreOutput, ParallelMergeOptions options, TaskScheduler taskScheduler, Boolean isOrdered, CancellationState cancellationState, Int32 queryId) at System.Linq.Parallel.PartitionedStreamMerger`1.Receive[TKey](PartitionedStream`2 partitionedStream) at System.Linq.Parallel.ForAllOperator`1.WrapPartitionedStream[TKey](PartitionedStream`2 inputStream, IPartitionedStreamRecipient`1 recipient, Boolean preferStriping, QuerySettings settings) at System.Linq.Parallel.UnaryQueryOperator`2.UnaryQueryOperatorResults.ChildResultsRecipient.Receive[TKey](PartitionedStream`2 inputStream) at System.Linq.Parallel.ScanQueryOperator`1.ScanEnumerableQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient`1 recipient) at System.Linq.Parallel.UnaryQueryOperator`2.UnaryQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient`1 recipient) at System.Linq.Parallel.QueryOperator`1.GetOpenedEnumerator(Nullable`1 mergeOptions, Boolean suppressOrder, Boolean forEffect, QuerySettings querySettings) at System.Linq.Parallel.ForAllOperator`1.RunSynchronously() at System.Linq.ParallelEnumerable.ForAll[TSource](ParallelQuery`1 source, Action`1 action) at Mendix.Modeler.Projects.Changes.ChangedDocumentsProcessor`1.ProcessChangedDocuments(IProject project, ProjectChanges projectChanges, Func`2 processDocument) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Projects\Changes\ChangedDocumentsProcessor.cs:line 62 at Mendix.Modeler.WebUI.Forms.Exporter.FormExporter.ExportForms(IProject project, Boolean updateRunningProject) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.WebUI\Forms\Exporter\FormExporter.cs:line 63 at Mendix.Modeler.WebUI.Deployment.WebUIDeploymentWorker.ExportPages(IProject project, IProgressInfo info, Boolean updateRunningProject) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.WebUI\Deployment\WebUIDeploymentWorker.cs:line 217 at Mendix.Modeler.WebUI.Deployment.WebUIDeploymentWorker.DoWork(DeploymentPhase phase, IProject project, DeploymentSettings settings, IProgressInfo info) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.WebUI\Deployment\WebUIDeploymentWorker.cs:line 157 at Mendix.Modeler.Deployment.DeploymentProcessBuilder.ExecuteDeploymentWorkForPhase(DeploymentPhase phase, IProject project, DeploymentSettings settings, IProgressInfo info) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Deployment\DeploymentProcessBuilder.cs:line 182 at Mendix.Modeler.Deployment.DeploymentProcessBuilder.<>c__DisplayClass12_1.<AddBuildStepWithOverride>b__2() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Deployment\DeploymentProcessBuilder.cs:line 152 at Mendix.Modeler.Projects.ProjectStructureManager.<>c__DisplayClass2_0.<DoWithOverride>b__0() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Projects\ProjectStructureManager.cs:line 40 at Mendix.Modeler.Projects.ProjectStructureManager.Do[T](IProject projectOverride, Func`1 action) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Projects\ProjectStructureManager.cs:line 60 at Mendix.Modeler.Projects.ProjectStructureManager.DoWithOverride(IProject projectOverride, Action action) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Projects\ProjectStructureManager.cs:line 38 at Mendix.Modeler.Deployment.DeploymentProcessBuilder.<>c__DisplayClass12_1.<AddBuildStepWithOverride>b__1() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Deployment\DeploymentProcessBuilder.cs:line 151 at Mendix.Modeler.ProtectedModules.ProtectedModulesUnlocker.<>c__DisplayClass3_0.<Do>b__0() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\ProtectedModules\ProtectedModulesUnlocker.cs:line 23 at Mendix.Modeler.ProtectedModules.ProtectedModulesUnlocker.ExecuteInContext[T](Boolean unlockImplementation, Func`1 code) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\ProtectedModules\ProtectedModulesUnlocker.cs:line 48 at Mendix.Modeler.ProtectedModules.ProtectedModulesUnlocker.Do(Boolean unlockImplementation, Action action) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\ProtectedModules\ProtectedModulesUnlocker.cs:line 25 at Mendix.Modeler.Deployment.DeploymentProcessBuilder.<>c__DisplayClass12_0.<AddBuildStepWithOverride>b__0(IProgressInfo info) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Deployment\DeploymentProcessBuilder.cs:line 150 at Mendix.Modeler.Deployment.FileIOExceptionHandlingProcess.CatchDiskException(Action action) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Deployment\FileIOExceptionHandlingProcess.cs:line 44 at Mendix.Modeler.Deployment.FileIOExceptionHandlingProcess.<>c__DisplayClass2_0.<AddStep>b__0(IProgressInfo info) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Deployment\FileIOExceptionHandlingProcess.cs:line 24 at Mendix.Modeler.UIFramework.Progress.ProcessRunner.RunStep(IStep step) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 160 at Mendix.Modeler.UIFramework.Progress.ProcessRunner.OnDoWork(Object sender, DoWorkEventArgs e) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 81 at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e) at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument) --- End of stack trace from previous location --- at Mendix.Modeler.UIFramework.Progress.ProcessRunner.Run() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 57 at Mendix.Modeler.Deployment.Deployer.RunProcess(IProcess process, String what, Boolean isPackage) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Deployment\Deployer.cs:line 85
asked
Ines Hollaar
1 answers
0
did you try to turn it off and on again?
Thus; close Studio Pro (not only the model) and reopen it.