Error When trying to run a application that i down loaded from the app store.
0
I get this error when try to run a application for the app store. Everybody else in the team can run it just not be. Has anybody seen this or can somebody give me an idea on how to fix this? System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null. Parameter name: key at System.Collections.Generic.Dictionary2.FindEntry(TKey key) at Mendix.Modeler.Integration.AppServices.MsdBuilder.AddEntity(Entity entity, IList1 dataMembers, Dictionary2 entities, List1 associations) in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\AppServices\MendixServiceDefinition\MsdBuilder.cs:line 106 at Mendix.Modeler.Integration.AppServices.MsdBuilder.BuildDomainModel(VersionedService versionedService) in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\AppServices\MendixServiceDefinition\MsdBuilder.cs:line 68 at Mendix.Modeler.Integration.WebServices.VersionedService.getDomainModelJsonString() in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\WebServices\Publish\VersionedService.cs:line 185 --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture) at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index) at Mendix.Modeler.Storage.Operations.WriteBsoner.WriteBsonObject(BsonWriter writer, IStorageUnit enclosingUnit, IStorageObject obj) in c:\jenkins\workspace\AppStudio-Core-Modeler\src\modeler\Mendix.Modeler.Storage\Operations\WriteBsoner.cs:line 36 at Mendix.Modeler.Storage.Operations.WriteBsoner.WriteBsonValue(BsonWriter writer, IStorageUnit enclosingUnit, CachedProperty prop, Object value) in c:\jenkins\workspace\AppStudio-Core-Modeler\src\modeler\Mendix.Modeler.Storage\Operations\WriteBsoner.cs:line 90 at Mendix.Modeler.Storage.Operations.WriteBsoner.WriteBsonObject(BsonWriter writer, IStorageUnit enclosingUnit, IStorageObject obj) in c:\jenkins\workspace\AppStudio-Core-Modeler\src\modeler\Mendix.Modeler.Storage\Operations\WriteBsoner.cs:line 47 at Mendix.Modeler.Storage.Operations.Deployer.WriteUnitsContents(FileStream fileStream, HashSet`1 units, IProgressInfo info) in c:\jenkins\workspace\AppStudio-Core-Modeler\src\modeler\Mendix.Modeler.Storage\Operations\Deployer.cs:line 75 at Mendix.Modeler.Storage.Operations.Deployer.Deploy(IStorageUnit unit, String targetFilePath, IProgressInfo info) in c:\jenkins\workspace\AppStudio-Core-Modeler\src\modeler\Mendix.Modeler.Storage\Operations\Deployer.cs:line 27 at Mendix.Modeler.Storage.StorageUtil.Deploy(IStorageUnit unit, String targetFilePath, IProgressInfo info) in c:\jenkins\workspace\AppStudio-Core-Modeler\src\modeler\Mendix.Modeler.Storage\StorageUtil.cs:line 17 at Mendix.Modeler.Deployment.DeploymentProcessBuilder.ExportModel(IProgressInfo info) in c:\jenkins\workspace\AppStudio-Core-Modeler\src\modeler\Modeler\Deployment\DeploymentProcessBuilder.cs:line 88 at Mendix.Modeler.Deployment.FileIOExceptionHandlingProcess.<>cDisplayClass2.<>cDisplayClass4.<addstep>b1() in c:\jenkins\workspace\AppStudio-Core-Modeler\src\modeler\Modeler\Deployment\FileIOExceptionHandlingProcess.cs:line 19 at Mendix.Modeler.Deployment.FileIOExceptionHandlingProcess.CatchDiskException(Action action) in c:\jenkins\workspace\AppStudio-Core-Modeler\src\modeler\Modeler\Deployment\FileIOExceptionHandlingProcess.cs:line 28 at Mendix.Modeler.Deployment.FileIOExceptionHandlingProcess.<>cDisplayClass2.<addstep>b0(IProgressInfo info) in c:\jenkins\workspace\AppStudio-Core-Modeler\src\modeler\Modeler\Deployment\FileIOExceptionHandlingProcess.cs:line 19 at Mendix.Modeler.Utility.Progress.Step.Run(IProgressInfo info) in c:\jenkins\workspace\AppStudio-Core-Modeler\src\modeler\Mendix.Modeler.Utility.Gui\Progress\Step.cs:line 22 at Mendix.Modeler.Utility.Progress.ProcessRunner.RunStep(Step step) in c:\jenkins\workspace\AppStudio-Core-Modeler\src\modeler\Mendix.Modeler.Utility.Gui\Progress\ProcessRunner.cs:line 85 at Mendix.Modeler.Utility.Progress.ProcessRunner.workerDoWork(Object sender, DoWorkEventArgs e) in c:\jenkins\workspace\AppStudio-Core-Modeler\src\modeler\Mendix.Modeler.Utility.Gui\Progress\ProcessRunner.cs:line 67 at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e) at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
asked
Patrick Gerardi
1 answers
0
Patrick,
I have had this error before as well, this is a bug in the 5.5 modeler. I'm not sure what causes this problem but I can give you a workaround to get rid of this error.
I have not been able to determine what causes this, there is something in the formbuilder that causes this problem to occur. If you know what you changed please let me know so we can enter a ticket for this.
If you export your module to a file (right click, export module package) , re-import the package and overwrite the existing module the modeler corrects the problem.
When writing the module to a file and importing it, the modeler re-builds the file structure and thereby fixing the error you got in the first place.
If you know which form was changed before the error, you can take these same steps but just for that specific form.