HyperlinkButton assertion

Hello,

I set hyperlink button like this.

hyperlinkButton.setURL(URL("http://www.juce.com"));

Then I triggered it like

hyperlinkButton.triggerClick();

And I got assertion.

/*  When you supply a raw string to the File object constructor, it must be an absolute path.
....

How to use HyperLinkButton correctly?

I use Juce v5.3.2 on OSX 10.13.6.

Thank you

Can you provide a stack trace?

Does this happen on the latest version of JUCE from the develop branch?

Thank you for your reply.
It’s like this.
And I use latest version of master branch.

I’m afraid it’s working fine for me - I get juce.com loading in the browser.

You’ll have to step through things in the debugger to find out where things are going wrong.

HyperLinkButton works without debugger.
But when I test it on Xcode’s debugger,
I get assertion failed.

you’re probably on the master branch, I think that this has been fixed on the develop branch recently : URL:: launchInDefaultBrowser() triggers assertion

Thank you.
I will test it on develop branch.