NoSuchElementException at com.atlassian.fugue.Option$2.get(Option.java:377)

Description

The MultiExcerpt macro logs the ID of excerpt macros that it finds in the Storage Format markup on a page.

It uses the Atlassian fugue API to try to get the ID using com.atlassian.fugue.Option.get() and that can throw NoSuchElementException.

SOLUTION:
use Option.getOrNull() to get null if there is no ID.

Freshdesk Tickets

None

Create a Support Ticket

Fixed

Assignee

Unassigned

Reporter

Ture Hoefner

Labels

None

Product

None

Fix versions

Priority

Major