Become a Rapid Developer 9.4.4. Setting the security on Production
1
Hello ! I am at the end of the Become a Rapid Developer program, exactly at the 9.4.4 part. When I want to switch from the Security Level Prototype to the Production, an error is happening (like in the following picture) I don't know how to solve it, anyone has an idea ? Thank you for your help and English is not my first language so I hope my question was clear ! This is the error' details : System.AggregateException: One or more errors occurred. (Value cannot be null. (Parameter 'context')) ---> System.ArgumentNullException: Value cannot be null. (Parameter 'context') at Mendix.Modeler.Common.IdentifierUtil.Resolve[T](IIdentifier`1 identifier, IHasContext context) in Mendix.Modeler.Core\Common\Usages\IdentifierUtil.cs:line 17 at Mendix.Modeler.WebUI.Export.Security.AccessChecker.CheckEntityPath(EntityPath entityPath, IEntity enclosingEntity, IUserRole userRole) in Mendix.Modeler.WebUI.Export\Security\AccessChecker.cs:line 22 at Mendix.Modeler.WebUI.Export.Security.SecurityCheckVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Security\SecurityCheckVisitor.cs:line 0 at Mendix.Common.Util.EnumerableUtil.ForEach[T](IEnumerable`1 source, Action`1 action) in Mendix.Common\Util\EnumerableUtil.cs:line 51 at Mendix.Modeler.WebUI.Export.Visitors.ProjectVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Visitors\ProjectVisitor.cs:line 0 at Mendix.Modeler.WebUI.Export.Security.SecurityCheckVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Security\SecurityCheckVisitor.cs:line 109 at Mendix.Common.Util.EnumerableUtil.ForEach[T](IEnumerable`1 source, Action`1 action) in Mendix.Common\Util\EnumerableUtil.cs:line 51 at Mendix.Modeler.WebUI.Export.Visitors.ProjectVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Visitors\ProjectVisitor.cs:line 0 at Mendix.Modeler.WebUI.Export.Security.SecurityCheckVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Security\SecurityCheckVisitor.cs:line 109 at Mendix.Common.Util.EnumerableUtil.ForEach[T](IEnumerable`1 source, Action`1 action) in Mendix.Common\Util\EnumerableUtil.cs:line 51 at Mendix.Modeler.WebUI.Export.Visitors.ProjectVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Visitors\ProjectVisitor.cs:line 0 at Mendix.Modeler.WebUI.Export.Security.SecurityCheckVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Security\SecurityCheckVisitor.cs:line 109 at Mendix.Common.Util.EnumerableUtil.ForEach[T](IEnumerable`1 source, Action`1 action) in Mendix.Common\Util\EnumerableUtil.cs:line 51 at Mendix.Modeler.WebUI.Export.Visitors.ProjectVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Visitors\ProjectVisitor.cs:line 0 at Mendix.Modeler.WebUI.Export.Security.SecurityCheckVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Security\SecurityCheckVisitor.cs:line 109 at Mendix.Common.Util.EnumerableUtil.ForEach[T](IEnumerable`1 source, Action`1 action) in Mendix.Common\Util\EnumerableUtil.cs:line 51 at Mendix.Modeler.WebUI.Export.Visitors.ProjectVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Visitors\ProjectVisitor.cs:line 0 at Mendix.Modeler.WebUI.Export.Security.SecurityCheckVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Security\SecurityCheckVisitor.cs:line 109 at Mendix.Modeler.WebUI.Export.Security.SecurityCheckVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Security\SecurityCheckVisitor.cs:line 75 at Mendix.Common.Util.EnumerableUtil.ForEach[T](IEnumerable`1 source, Action`1 action) in Mendix.Common\Util\EnumerableUtil.cs:line 51 at Mendix.Modeler.WebUI.Export.Visitors.ProjectVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Visitors\ProjectVisitor.cs:line 0 at Mendix.Modeler.WebUI.Export.Security.SecurityCheckVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Security\SecurityCheckVisitor.cs:line 109 at Mendix.Common.Util.EnumerableUtil.ForEach[T](IEnumerable`1 source, Action`1 action) in Mendix.Common\Util\EnumerableUtil.cs:line 51 at Mendix.Modeler.WebUI.Export.Visitors.ProjectVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Visitors\ProjectVisitor.cs:line 0 at Mendix.Modeler.WebUI.Export.Security.SecurityCheckVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Security\SecurityCheckVisitor.cs:line 109 at Mendix.Common.Util.EnumerableUtil.ForEach[T](IEnumerable`1 source, Action`1 action) in Mendix.Common\Util\EnumerableUtil.cs:line 51 at Mendix.Modeler.WebUI.Export.Visitors.ProjectVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Visitors\ProjectVisitor.cs:line 0 at Mendix.Modeler.WebUI.Export.Security.SecurityCheckVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Security\SecurityCheckVisitor.cs:line 109 at Mendix.Common.Util.EnumerableUtil.ForEach[T](IEnumerable`1 source, Action`1 action) in Mendix.Common\Util\EnumerableUtil.cs:line 51 at Mendix.Modeler.WebUI.Export.Visitors.ProjectVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Visitors\ProjectVisitor.cs:line 0 at Mendix.Modeler.WebUI.Export.Security.SecurityCheckVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Security\SecurityCheckVisitor.cs:line 109 at Mendix.Modeler.WebUI.Export.Security.SecurityCheckVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Security\SecurityCheckVisitor.cs:line 0 at Mendix.Common.Util.EnumerableUtil.ForEach[T](IEnumerable`1 source, Action`1 action) in Mendix.Common\Util\EnumerableUtil.cs:line 51 at Mendix.Modeler.WebUI.Export.Visitors.ProjectVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Visitors\ProjectVisitor.cs:line 0 at Mendix.Modeler.WebUI.Export.Security.SecurityCheckVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Security\SecurityCheckVisitor.cs:line 109 at Mendix.Modeler.WebUI.Export.Visitors.ObjectVisitor.Visit(IDocumentObject startingPoint, Trace initialTrace) in Mendix.Modeler.WebUI.Export\Visitors\ObjectVisitor.cs:line 34 at Mendix.Modeler.WebUI.Export.Security.SecurityCheck.<>c__DisplayClass2_0.<Check>b__2(NavigationProfileBase p) in Mendix.Modeler.WebUI.Export\Security\SecurityCheck.cs:line 38 at Mendix.Common.Util.EnumerableUtil.ForEach[T](IEnumerable`1 source, Action`1 action) in Mendix.Common\Util\EnumerableUtil.cs:line 51 at Mendix.Modeler.WebUI.Export.Security.SecurityCheck.Check(IProject project, ProjectChanges changes, IProblems problems, CancellationToken cancellationToken) in Mendix.Modeler.WebUI.Export\Security\SecurityCheck.cs:line 34 at Mendix.Modeler.Projects.Checks.ProjectChecker.<>c__DisplayClass6_0.<RunProjectChecks>b__1(ProjectChanges changes) in Mendix.Modeler.Core\Projects\Checks\ProjectChecker.cs:line 61 at Mendix.Modeler.Projects.Changes.ChangedDocumentTracker.TryProcessChangesSync(Action`1 changeProcessor) in Mendix.Modeler.Core\Projects\Changes\ChangedDocumentTracker.cs:line 30 at Mendix.Modeler.Projects.Checks.ProjectChecker.<>c__DisplayClass6_0.<RunProjectChecks>b__0() in Mendix.Modeler.Core\Projects\Checks\ProjectChecker.cs:line 53 at Mendix.Modeler.Common.ResolveCache.<>c__DisplayClass10_0.<WithCache>b__0() in Mendix.Modeler.Core\Common\Problems\ResolveCache.cs:line 46 at Mendix.Modeler.Common.ResolveCache.WithCache[T](IProject project, Func`1 action) in Mendix.Modeler.Core\Common\Problems\ResolveCache.cs:line 73 at Mendix.Modeler.Common.ResolveCache.WithCache(IProject project, Action action) in Mendix.Modeler.Core\Common\Problems\ResolveCache.cs:line 48 at Mendix.Modeler.Projects.Checks.ProjectChecker.RunProjectChecks(IProject project, CancellationToken cancellationToken) in Mendix.Modeler.Core\Projects\Checks\ProjectChecker.cs:line 49 at Mendix.Modeler.Projects.Checks.ProjectChecker.<>c__DisplayClass5_0.<Check>b__0() in Mendix.Modeler.Core\Projects\Checks\ProjectChecker.cs:line 38 at Mendix.Modeler.ProtectedModules.ProtectedModulesUnlocker.ExecuteInContext[T](Boolean unlockImplementation, Func`1 code) in Mendix.Modeler.Core\ProtectedModules\ProtectedModulesUnlocker.cs:line 48 at Mendix.Modeler.Projects.Checks.ProjectChecker.Check(IProject project, CancellationToken cancellationToken) in Mendix.Modeler.Core\Projects\Checks\ProjectChecker.cs:line 38 at Mendix.Modeler.Core.View.Problems.BackgroundCheckRunner.Check(IProject project, CancellationToken cancellationToken) in Mendix.Modeler.Core.View.CrossPlatform\Problems\BackgroundCheckRunner.cs:line 41 at Mendix.Modeler.Core.View.Problems.BackgroundCheckRunner.Check(IProject project, CancellationToken cancellationToken) in Mendix.Modeler.Core.View.CrossPlatform\Problems\BackgroundCheckRunner.cs:line 50 --- End of inner exception stack trace ---
asked
Laïs
1 answers
1
This post and this post have the same problems and they have some accepted solutions. Could you check if those work for you? If not we can try something else of course!
It seems to be a bug in earlier versions of Mendix 10. I would recommend upgrading to 10.6, since that one gets all the bug fixes (it's a medium term support version)