You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "BJ Hargrave (Jira)" <ji...@apache.org> on 2020/06/02 17:31:00 UTC
[jira] [Commented] (FELIX-6259)
java.util.ConcurrentModificationException building Apache Commons CSV on
Java 15-EA
[ https://issues.apache.org/jira/browse/FELIX-6259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17124112#comment-17124112 ]
BJ Hargrave commented on FELIX-6259:
------------------------------------
Bnd 5.1.0 was released yesterday. So maven-bundle-plugin can be updated to use it for Java 15 support.
> java.util.ConcurrentModificationException building Apache Commons CSV on Java 15-EA
> -----------------------------------------------------------------------------------
>
> Key: FELIX-6259
> URL: https://issues.apache.org/jira/browse/FELIX-6259
> Project: Felix
> Issue Type: Bug
> Components: Maven Bundle Plugin
> Affects Versions: maven-bundle-plugin-4.2.1
> Reporter: Gary D. Gregory
> Priority: Major
>
> We get a java.util.ConcurrentModificationException building Apache Commons CSV when building with Java 15-EA:
> {noformat}
> openjdk version "15-ea" 2020-09-15
> OpenJDK Runtime Environment (build 15-ea+18-776)
> OpenJDK 64-Bit Server VM (build 15-ea+18-776, mixed mode, sharing)
> {noformat}
> ConcurrentModificationException:
> {noformat}
> [INFO] --- maven-bundle-plugin:4.2.1:manifest (bundle-manifest) @ commons-csv ---
> [ERROR] An internal error occurred
> java.util.ConcurrentModificationException
> at java.util.TreeMap.callMappingFunctionWithCheck (TreeMap.java:742)
> at java.util.TreeMap.computeIfAbsent (TreeMap.java:558)
> 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:137)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
> 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:56)
> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
> at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
> at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
> at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
> at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
> 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:282)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
> at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
> {noformat}
> Full log: [https://pastebin.com/c3H3Zi7X]
> Travis log: [https://travis-ci.org/github/apache/commons-csv/jobs/675190349]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)