Ticket T338596
Visible to All Users

Strange Error XAF Format Exception

created 9 years ago

Dear Support-Team,
Today we find a very strange error - and we couldn't find the origin.
We have a Class "Kostentraeger" in one of our XAF Projects.
This class inherits another Class "Kontakt".
If I want to edit some of this Objects - the Error Attached occures.
If I edit the same object via the Kontakt-List -> everything is fine…
I don't know how to find out where the error comes from.
Do you have any idea?
The Video attached explains it better…

HTML
Error ID: 46ea3278-d358-499c-a8a2-9189a28d8108 Date: 26.01.2016 15:26:46 Request details: Url: http://localhost:54459/default.aspx Url referrer: http://localhost:54459/#ViewID=Kostentraeger_ListView&ObjectClassName=TS2S.Medexo.Backoffice.Module.Kostentraeger SessionID: upgjpux5v5cmkq54un3mz1qq Request type: POST User agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; Touch; rv:11.0) like Gecko User IP: ::1 User: TS2S Authenticated user: [no name] ================================================================================ The error occurred: Type: FormatException Message: GUID muss 32 Ziffern mit 4 Bindestrichen enthalten (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx). Data: 0 entries Stack trace: bei System.Guid.TryParseGuidWithNoStyle(String guidString, GuidResult& result) bei System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result) bei System.Guid..ctor(String g) bei System.ComponentModel.GuidConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) bei DevExpress.ExpressApp.Web.Editors.ASPx.ASPxGridViewContextMenu.SelectObject(String objectId) bei DevExpress.ExpressApp.Web.Editors.ASPx.ASPxGridViewContextMenu.ProcessCommand(String args) bei DevExpress.ExpressApp.Web.Editors.ASPx.ASPxGridViewContextMenu.DevExpress.ExpressApp.Web.Templates.IXafCallbackHandler.ProcessAction(String parameter) bei DevExpress.ExpressApp.Web.Templates.XafCallbackManager.ProcessAction(String parameter) bei DevExpress.ExpressApp.Web.Templates.XafCallbackManager.callbackControl_Callback(Object source, CallbackEventArgs e) bei DevExpress.Web.ASPxCallback.OnCallback(CallbackEventArgs e) bei DevExpress.Web.ASPxCallback.RaiseCallbackEvent(String eventArgument) bei DevExpress.Web.ASPxWebControl.System.Web.UI.ICallbackEventHandler.RaiseCallbackEvent(String eventArgument) InnerException is null -------------------------------------------------------------------------------- Loaded assemblies A_219e8aab_ca00_45f3_8c87_1d9a3e9f98b7, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null, Location=InMemory Module Anonymously Hosted DynamicMethods Assembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null, Location=InMemory Module App_global.asax.dscf054u, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null, Location=C:\Users\tobias.stracke\AppData\Local\Temp\Temporary ASP.NET Files\root\6b0ad1c0\6aa9243\App_global.asax.dscf054u.dll App_Web_tu3j54ga, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null, Location=C:\Users\tobias.stracke\AppData\Local\Temp\Temporary ASP.NET Files\root\6b0ad1c0\6aa9243\App_Web_tu3j54ga.dll

Kind Regards
Tobias

Show previous comments (2)
DO DO
Dmitry O. (DevExpress) 9 years ago

    You can try to debug your solution with our source code as described at How can I debug DevExpress .NET source code using PDB files. Note that you need to enable breaking with Common Runtime Language Exceptions in Visual Studio.
    This will help you break the debugger in the DevExpressExpressApp.Web.Editors.ASPx.ASPxGridViewContextMenu.SelectObject(String objectId) method to find the cause of the problem with the key.

    TS TS
    Tobias Stracke 9 years ago

      Dear Dmitry/Alexey,
      it cost me some time and I found out, that this error is definitely not an error in our code.
      It seems to bee, that the paging mechanism in the grid in xaf - web is broken!
      As you see in the video attached i build a little example for you.
      The records on the last page of paging can not be open.
      Either it opens a different record or it opens nothing and gives an exception.
      Please fix it quick!
      The sample app is a normal xaf applikation - on start it will post 30 records in the Person Class. -> you must only change the database-string in the web.config (but surely you know it).

      And, by the way, I think it is not very kind, that you answer so quick that the error is on our side bevor trying to reproduce it…

      DO DO
      Dmitry O. (DevExpress) 9 years ago

        Hello Tobias,

        Thank you for your sample project. I have created a separate ticket (ASPxGridListEditor - The inline "Edit" action cause an exception after switching grid pages) and passed it to our developers. Please bear with us.

        P.S. I have researched your project and found that it works properly with the 15.2.4 version of DevExpress components. Would you please clarify if the problem described in the first message is actual for the 15.2.4 version?

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.