MBS: UnsupportedFormatException in WebDelegate.MouseDidMoveOverElement

  1. 3 weeks ago

    Beatrix W

    Jan 30 Pre-Release Testers Europe (Germany)

    This morning I updated to the latest and greatest version of MBS. Now I get the above mentioned exception:

    2019-01-30, 13:04:29 Buffer:
    2019-01-30, 13:04:29 --------------------------
    2019-01-30, 13:04:29 An error happened:
    2019-01-30, 13:04:29 Class/Method: WebDelegate.MouseDidMoveOverElement
    2019-01-30, 13:04:29 Time: Mittwoch, 30. Januar 2019 13:04:29 43176441
    2019-01-30, 13:04:29 Type of Error: UnsupportedFormatException
    2019-01-30, 13:04:29 --------------------------
    2019-01-30, 13:04:29 Stack:
    2019-01-30, 13:04:29 
    Sub Application._CallFunctionWithExceptionHandling()
    2019-01-30, 13:04:29 Stack done
    2019-01-30, 13:04:29 ErrorReportWindow.Constructor
    2019-01-30, 13:04:35 ErrorReportWindow.Constructor done

    Of course, I can just ignore the exception. But why do I get it? Code is simple:

    'make nice mouse cursor to show that we are over a link
    
    if elementInformation = Nil then Return False
    if elementInformation.HasKey("WebElementLinkURL") then
      app.MouseCursor = System.Cursors.FingerPointer
    else
      app.MouseCursor = System.Cursors.StandardPointer
    end if
    Return True
  2. Christian S

    Jan 30 Pre-Release Testers, Xojo Pro, XDC Speakers Germany

    No error message with UnsupportedFormatException?
    I don't have many UnsupportedFormatException raised in my plugin code.

    And do you know which line it is?

  3. Beatrix W

    Jan 30 Pre-Release Testers Europe (Germany)

    The debugger sort of goes into limbo. As soon as the MouseOver happens Xojo becomes active but doesn't drop into the debugger. So I can't see anything. I added an "#if debugbuild then return" and the exception still happens.

  4. Christian S

    Jan 30 Pre-Release Testers, Xojo Pro, XDC Speakers Germany

    Sorry for this. Fixed for next version.

  5. Christian S

    Jan 30 Pre-Release Testers, Xojo Pro, XDC Speakers Germany

    Thank you for reporting. I sent you a link for new plugins to try.

  6. Beatrix W

    Jan 30 Pre-Release Testers Europe (Germany)

    Great. Will report back.

  7. Beatrix W

    Jan 30 Pre-Release Testers Europe (Germany)

    Thanks. Seems back to working now.

or Sign Up to reply!