2017-10-09 3 views
0

Ich versuche, die Demo in erweitertem Framework Quelle zu arbeiten in "Xpand-Source-17.1.3.6 \ Demos \ Middle Tier \ E4035-Remoting" zu arbeiten aus der Box, sondern Ich bekomme die Ausnahme unten. Insbesondere möchte ich den Modellunterschied in einem Remoting-Szenario verwenden.Modellunterschied mittlere Stufe xpand

Objektverweis nicht auf eine Instanz eines Objekts festgelegt.

Server-Stack-Trace: bei DevExpress.ExpressApp.Security.SecurityStrategy.GetObjectSpaces() bei DevExpress.ExpressApp.Security.SecurityStrategy.RegisterProcessors (Dictionary`2 Prozessoren, Object permissionsProvider, IObjectSpace Object) bei DevExpress.ExpressApp. Security.SecurityStrategy.CreateSelectDataSecurityCore (IObjectSpace object~~POS=TRUNC) bei DevExpress.ExpressApp.Security.SecurityStrategy.CreateSelectDataSecurity (IObjectSpace object~~POS=TRUNC) bei DevExpress.ExpressApp.Security.ClientServer.SecuredSerializableObjectLayer.CreateSerializableObjectLayerCore (IClientInfo client, IDataLayer data, IRequestSecurityStrategyProvider securityStrategyProvider, UnitOfWork & result_pare ntSession, ISecurityRule & securityRule, Boolean allowICommandChannelDoWithSecurityContext) bei DevExpress.ExpressApp.Security.ClientServer.SecuredSerializableObjectLayer.GetSerializableObjectLayer (IClientInfo client, UnitOfWork & result_parentSession) bei DevExpress.ExpressApp.Security.ClientServer.SecuredSerializableObjectLayerBase.DevExpress.ExpressApp.Security.ClientServer. ISecuredSerializableObjectLayer.LoadObjects (IClientInfo client, XPDictionaryStub Wörterbuch, ObjectStubsQuery [] Abfragen) bei System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage (IntPtr md, Object [] args, Object Server, Object [] & outArgs) bei System. Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage (IMessage-Nachricht)

Exception

erneut ausgelöst bei [0]: bei System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage (IMessage reqMsg, IMessage retMsg) bei System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (Message & MsgData, Int32 Typ) bei DevExpress.ExpressApp.Security.ClientServer.ISecuredSerializableObjectLayer.LoadObjects (IClientInfo client, XPDictionaryStub Wörterbuch, ObjectStubsQuery [] Abfragen) bei DevExpress.Xpo.SerializableObjectLayerClient.LoadObjects (Session Sitzung, ObjectsQuery [] Abfragen) bei DevExpress.Xpo. Logger.LogManager.Log [T] (String-Kategorie, LogHandler 1 handler, MessageHandler 1 createMessageHandler) bei DevExpress.Xpo.Session.GetObjects (ObjectsQuery Query) bei DevExpress.Xpo.Session.GetObjects (XPClassInfo Class, CriteriaOperator Kriterien, SortingCollection Sortieranlage, Int32 topSelectedRecords, Boolean selectDeleted, Boolean Kraft) bei DevExpress.Xpo.Helpers.XPObjectTypesManager.GetAllTypes() bei DevExpress.Xpo.Session. <> c__DisplayClass3a.b__38() bei DevExpress.Xpo.Logger.LogManager.Log [T] (String Kategorie, LogHandler 1 handler, MessageHandler 1 createMessageHandler) bei DevExpress.Xpo.Session.GetObjectByKey (Typ Classtype, Objekt-ID) bei DevExpress. ExpressApp.Xpo.XPObjectSpace.GetObjectByKey (Typ object, Objektschlüssel) bei DevExpress.ExpressApp.Security.ClientServer.ServerSecurityClient.get_User() bei Xpand.ExpressApp.ModelDifference.DataStore.Queries.QueryUserModelDifferenceObject.get_UsersContainsOperator() bei Xpand. ExpressApp.ModelDifference.DataStore.Queries.QueryUserModelDifferenceObject.GetActiveModelDifferences (String applicationName, Stringname, DeviceCategory deviceCategory) bei Xpand.ExpressApp.ModelDifference.DictionaryStores.XpoUserModelDicti onaryDifferenceStore.GetActiveDifferenceObjects (Devicedevice) bei Xpand.ExpressApp.ModelDifference.DictionaryStores.XpoUserModelDictionaryDifferenceStore.LoadCore (ModelApplicationBase Userdiff) bei DevExpress.ExpressApp.ApplicationModelManager.CreateLayerByStore (String-ID, ModelStoreBase store) bei DevExpress.ExpressApp.XafApplication.LoadUserDifferences() bei DevExpress.ExpressApp.XafApplication.Logon (PopupWindowShowActionExecuteEventArgs logonWindowArgs) bei DevExpress.ExpressApp.Win.WinApplication.Logon (PopupWindowShowActionExecuteEventArgs logonWindowArgs)

+0

Mögliche Duplikate von [Was ist eine NullReferenceException, und wie kann ich es beheben?] (Https://StackOverflow.com/questions/4660142/what-is-a-nullreferenceexception-and-how-do-i-fix -it) –

+0

Die Demo-Quelle ist nicht modifiziert. Andere Module funktionieren gut, aber das Modell Differenz-Modul unter Remoting. –

Antwort

0

Remoting ist ziemlich alte Technologie als solche die E4035 Demo oft nicht aktualisiert wird noch getestet. Stattdessen können Sie die E4036-WCF-Demo verwenden, die bei jedem Build EasyTested ist.

+0

danke. Ich werde es überprüfen –