LaunchEmail crashes in preview

v0.27.0 (Build 7900)

Clicking on LaunchEmail in preview crashes with the following message.

System.NullReferenceException: Object reference not set to an instance of an object
  at Uno.Text.StringBuilder.Append (System.String str) <0x191e8440 + 0x0000c> in <filename unknown>:0 
  at Fuse.Launcher.LaunchEmail (System.String to, System.String carbonCopy, System.String blindCarbonCopy, System.String subject, System.String message) <0x1d7f6570 + 0x00047> in <filename unknown>:0 
  at Fuse.Triggers.Actions.LaunchEmail.Perform (Fuse.Node target) <0x1d7f6510 + 0x00047> in <filename unknown>:0 
  at Fuse.Triggers.Actions.TriggerAction.PerformFromNode (Fuse.Node target) <0x1951b208 + 0x00030> in <filename unknown>:0 
  at Fuse.Triggers.Trigger.SetPlayDirection (Int32 next) <0x194e4668 + 0x000d3> in <filename unknown>:0 
  at Fuse.Triggers.Trigger.PlayEnd (Boolean on, System.Action done) <0x194e35e0 + 0x000b7> in <filename unknown>:0 
  at Fuse.Triggers.Trigger.DirectActivate (System.Action done) <0x1951b1b0 + 0x00023> in <filename unknown>:0 
  at Fuse.Triggers.Trigger.Pulse () <0x1951b120 + 0x00083> in <filename unknown>:0 
  at Fuse.Gestures.Clicked.OnClicked (Fuse.Input.PointerEventArgs args, Int32 clickCount) <0x1d7e3190 + 0x00037> in <filename unknown>:0 
  at Fuse.Gestures.Clicker.OnPointerReleased (System.Object sender, Fuse.Input.PointerReleasedArgs args) <0x1d7e24b0 + 0x001d3> in <filename unknown>:0 
  at Fuse.Input.PointerReleased.Invoke (Fuse.Input.PointerReleasedHandler handler, System.Object sender, Fuse.Input.PointerReleasedArgs args) <0x1d7e2488 + 0x0001c> in <filename unknown>:0 
  at Fuse.VisualEvent`2[THandler,TArgs].InvokeInternal (Fuse.THandler handler, System.Object sender, Fuse.TArgs args) <0x1d7ddbb0 + 0x0002c> in <filename unknown>:0 
Object reference not set to an instance of an object

The UX code block looks like this

      <Panel Height="48" Width="48" ux:Name="EmailButton">
    	<MDI FontSize="48" TextColor="LightColor">&#xf15f;</MDI>
        <LaunchEmail To="{EmailAddress}" Subject="Reaching out" CarbonCopy="" BlindCarbonCopy="" Message="Hello, [QUESTION/COMMENT GOES HERE], Thanks!" />

Update, the iOS app crashes too.

Hey Ish, and thanks for your report. I’ve created an internal issue to track this problem and we’ll get back to you once we’ve looked into this.


Hey Ish,

This happens to me only when EmailAddress is an empty Observable. Can you verify that your Observable actually has a value?

If there is no To address the crash makes sense, though the error message is really bad. I’ll improve the error message for future releases.

Thanks again!