.NET Components for Mobility

Invalid Adress

Last post 07-02-2009 3:03 PM by harald. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 06-28-2009 8:22 AM

    • LLD
    • Not Ranked
    • Joined on 10-02-2008
    • Posts 1

    Invalid Adress

    Hi,

    there's been a thread here in the forum some time ago

    http://community.inthehand.com/forums/p/1561/4595.aspx#4595 )

    , and now I am facing a problem that seems to be quite similar.

    Looping through the email messages of an email folder, the following exception is thrown:

    o ArgumentException
    o Invalid adress
    o Bei InTheHand.WindowsMobile.PocketOutlook.Recipient.CleanAdress()
    o Bei InTheHand.WindowsMobile.PocketOutlook.Recipient.ctor()
    o Bei InTheHand.WindowsMobile.PocketOutlook.Recipient.ctor()
    o Bei InTheHand.WindowsMobile.PocketOutlook.Message.get_From()
    o At Comunicator.makeinter()

    My dll is version 3.3.725.0.

    The problem is that this problem is reported by a customer, I wasn't able to reproduce this behaviour on my devices.

    Is this a known issue? What does CleanAdress mean?

     

    Thank you!

     

    Roland

     

     

     

     

     

  • 06-29-2009 2:56 AM In reply to

    • harald
    • Top 500 Contributor
    • Joined on 03-18-2008
    • Wiener Neustadt
    • Posts 4

    Re: Invalid Adress

     hi !

    I have  the same problem but only on an HTCTouchPro when exporting SMS. the sw runs without problems on an HTC Touch H, Pocket Look T830 or an Samsung SGH.

      Normal 0 21 false false false DE X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Normale Tabelle"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;}

    29.06.09 05:50:42 INFO ExportSMS - Error:

    ERROR       System.ArgumentException: Invalid address.

    bei InTheHand.WindowsMobile.PocketOutlook.Recipient.CleanAddress()

    bei InTheHand.WindowsMobile.PocketOutlook.Recipient..ctor()

    bei InTheHand.WindowsMobile.PocketOutlook.Recipient..ctor()

    bei InTheHand.WindowsMobile.PocketOutlook.Message.get_From()

    bei glyps.frmMain.ExportSMS()

    bei glyps.frmMain.buttonExportSMS_Click()

    bei System.Windows.Forms.Control.OnClick()

    bei System.Windows.Forms.Button.OnClick()

    bei System.Windows.Forms.ButtonBase.WnProc()

    bei System.Windows.Forms.Control._InternalWnProc()

    bei Microsoft.AGL.Forms.EVL.EnterMainLoop()

    bei System.Windows.Forms.Application.Run()

    bei glycspmglypsfree.glycdpmglypsfree.Main()

     

    I also use ITH 3.3

     Thanks,

    Harald Schlager

     

  • 06-30-2009 5:05 AM In reply to

    Re: Invalid Adress

    CleanAddress attempts to remove any invalid characters in the address text. In these examples are you able to check what values are passed in the address (use a try/catch block and catch the ArgumentException). This will be useful to determine if the failures always contain specific characters or are in certain formats (e.g. national or international).

    Regards,

    Peter

    Peter Foot
    Microsoft Device Application Development MVP
    www.peterfoot.net | www.inthehand.com
  • 07-02-2009 3:03 PM In reply to

    • harald
    • Top 500 Contributor
    • Joined on 03-18-2008
    • Wiener Neustadt
    • Posts 4

    Re: Invalid Adress

     

    In my case I catch all Exeptions and my Exception is an NullReferenceException when I loop throught the sent folder at "sms.from" ! But this exception occurs until now on the (new) HTC Touch Pro2. From where did you take the "from" address ? 

    hth,

    harald

Page 1 of 1 (4 items)
Copyright © 2001-2010 In The Hand Ltd. All rights reserved. Terms of Use and Privacy Policy.