Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-6266

ConcurrentModificationException in bundle:manifest on Java 15

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • maven-bundle-plugin-4.2.1
    • None
    • Maven Bundle Plugin
    • None

    Description

      [INFO] --- maven-bundle-plugin:4.2.1:manifest (scr-metadata) @ oak-jackrabbit-api ---
      [INFO] No previous run data found, generating manifest.
      [ERROR] An internal error occurred
      java.util.ConcurrentModificationException
          at java.util.TreeMap.callMappingFunctionWithCheck (TreeMap.java:742)
          at java.util.TreeMap.computeIfAbsent (TreeMap.java:596)
          at aQute.bnd.osgi.Jar.putResource (Jar.java:288)
          at aQute.bnd.osgi.Jar$1.visitFile (Jar.java:202)
          at aQute.bnd.osgi.Jar$1.visitFile (Jar.java:177)
          at java.nio.file.Files.walkFileTree (Files.java:2804)
          at aQute.bnd.osgi.Jar.buildFromDirectory (Jar.java:176)
          at aQute.bnd.osgi.Jar.<init> (Jar.java:119)
          at aQute.bnd.osgi.Jar.<init> (Jar.java:172)
          at org.apache.felix.bundleplugin.BundlePlugin.getOSGiBuilder (BundlePlugin.java:604)
          at org.apache.felix.bundleplugin.ManifestPlugin.getAnalyzer (ManifestPlugin.java:285)
          at org.apache.felix.bundleplugin.ManifestPlugin.execute (ManifestPlugin.java:111)
          at org.apache.felix.bundleplugin.BundlePlugin.execute (BundlePlugin.java:364)
          at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
          at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)
          at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
          at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
          at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
          at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
          at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
          at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
          at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
          at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke (Method.java:564)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              reschke Julian Reschke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: