Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9025973
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T06:24:30+00:00 2026-06-16T06:24:30+00:00

Has anyone seen problems with UnionBugs ant task? My maven build generates findbugs via

  • 0

Has anyone seen problems with UnionBugs ant task?

My maven build generates findbugs via maven plugin and concatenates xml via antrun using unionBugs in a reporting project that concatenates all the reports together via antrun. When the end to end build runs I see the error below but the files exist and can be read. When I just run the concat project after the build I generate the desired report. I’d expect heap space issues to throw a very different error and have 2G for heap.

Let me know if you have some ideas how to investigate this. If not, I’ll update the question should I figure it out. For now, I’m splitting this into two maven executions which is ok but not ideal.

error

Trouble reading/parsing .../core/api/target/findbugs/findbugsXml.xml

pom excerpt

<taskdef name="unionBugs" classname="edu.umd.cs.findbugs.anttask.UnionBugs" classpathref="maven                <taskdef name="unionBugs" classname="edu.umd.cs.findbugs.anttask.UnionBugs" classpathref="maven.plugin.classpath"/>

            <!-- Combin findbugs output -->
            <delete dir="${trunk}/target/findbugs" />
            <mkdir dir="${trunk}/target/findbugs" />
            <unionBugs to="${findbugs.xml.out}">
              <fileset dir="${trunk}">
                <include name="core/**/target/findbugs/findbugsXml.xml"/>
                <include name="app/target/findbugs/findbugsXml.xml"/>
                <include name="modules/*/target/findbugs/findbugsXml.xml"/>
              </fileset>
            </unionBugs>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T06:24:31+00:00Added an answer on June 16, 2026 at 6:24 am

    The problem can be caused my exceeding ulimit for max open files (ulimit -n). I do not know if this is the only way to encounter the problem.

    • Problem happens only after running a full build which generates findbugs results
    • unionBugs task executed in separate maven process does not cause the problem
    • ulimit -n175 ; cd concat-findbugs; mvn install results in the problem

    Solution – raise the ulimit Setting Max Open files on Linux

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Has anyone seen or compiled benchmarks comparing declarative (XML) versus programmatically created UI's in
Has anyone seen this error when working with a PHP application out of dynamic
Has anyone seen JavaMail not sending proper MimeMessages to an SMTP server, depending on
Has anyone seen rendering glitches with Papervision? Please seee the flash movie at http://www.mapopolis.com/test/
Has anyone seen an open-source library that produces charts similar to Github.com's commit timeline
Has anyone seen this: ?? No jgem command works at all?? Though jruby -S
Has anyone seen any image deskew algorithms in c#? I have found: http://www.codeproject.com/KB/graphics/Deskew_an_Image.aspx but
Has anyone ever seen this? I don't how to expand on this. It's the
Has anyone seen something like this: when running make in a project using autotools,
Has anyone seen a .net email queue? I want to be able to specify

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.