GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — InterpolationException silently swallowed in AbstractEarModule.getBundleFileName() · Issue #515 · apache/maven-ear-plugin

InterpolationException silently swallowed in AbstractEarModule.getBundleFileName() #515

New issue
Copy link
New issue
Copy link
Open
#565
Open
InterpolationException silently swallowed in AbstractEarModule.getBundleFileName()#515
#565
Copy link
Labels
bugSomething isn't working

Description

@elharo
elharo
opened on Jul 3, 2026
Issue body actions

Description

In AbstractEarModule.java:268-271, an InterpolationException from MappingUtils.evaluateFileNameMapping() is silently swallowed:

} catch (InterpolationException e) {
    // We currently ignore this here
    // FIXME: should we handle this better?
}

If the file name mapping evaluation fails, the exception is completely ignored. The bundleFileName field remains null, and downstream code using getUri() (which calls getBundleFileName()) may get unexpected null values. The FIXME comment confirms this is a known issue.

Expected behavior

At minimum, log a warning:

} catch (InterpolationException e) {
    getLog().warn("Failed to evaluate file name mapping", e);
}

Activity

  1. elharo
    added
    bugSomething isn't working
    on Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.