From issues-return-164893-archive-asf-public=cust-asf.ponee.io@maven.apache.org Mon Apr 27 11:39:03 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 8279F180637 for ; Mon, 27 Apr 2020 13:39:03 +0200 (CEST) Received: (qmail 51103 invoked by uid 500); 27 Apr 2020 11:39:02 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 51082 invoked by uid 99); 27 Apr 2020 11:39:02 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2020 11:39:02 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 063CCE315B for ; Mon, 27 Apr 2020 11:39:01 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 8CE307808FB for ; Mon, 27 Apr 2020 11:39:00 +0000 (UTC) Date: Mon, 27 Apr 2020 11:39:00 +0000 (UTC) From: "Michael Osipov (Jira)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MRESOLVER-38) SOE/OOME in DefaultDependencyNode.accept MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MRESOLVER-38?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Osipov updated MRESOLVER-38: ------------------------------------ Fix Version/s: 1.4.2 > SOE/OOME in DefaultDependencyNode.accept > ---------------------------------------- > > Key: MRESOLVER-38 > URL: https://issues.apache.org/jira/browse/MRESOLVER-38 > Project: Maven Resolver > Issue Type: Bug > Components: resolver > Affects Versions: Maven Artifact Resolver 1.1.0, 1.3.3 > Reporter: Andreas Sewe > Priority: Critical > Fix For: 1.4.2 > > Attachments: maven-resolver-demos.patch > > > I noticed a {{StackOverflowErrror}} when trying to build the classpath fo= r {{org.webjars.npm:n3-charts:2.0.17}} using Maven Resolver 1.1.0. > I=E2=80=99ve managed to produce a minimal example based on the {{maven-re= solver-demos}} from the {{master-with-demos}} branch. To reproduce, just ap= ply the attached patch to the branch (tried this with commit [{{84a32a86}}|= https://github.com/apache/maven-resolver/commit/84a32a866ff27d4df75124074fd= 925588f4a574d]) and run the {{GetDependencyTree}} example: > {noformat} > ------------------------------------------------------------ > GetDependencyTree > SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". > SLF4J: Defaulting to no-operation (NOP) logger implementation > SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further= details. > Resolving artifact org.webjars.npm:n3-charts:pom:2.0.17 > Resolved artifact org.webjars.npm:n3-charts:pom:2.0.17 from central (http= s://repo.maven.apache.org/maven2/, default, releases+snapshots) > =E2=80=A6 > Resolving metadata org.webjars.npm:uglifycss/maven-metadata.xml from cent= ral (https://repo.maven.apache.org/maven2/, default, releases+snapshots) > Resolved metadata org.webjars.npm:uglifycss/maven-metadata.xml from centr= al (https://repo.maven.apache.org/maven2/, default, releases+snapshots) > Resolving artifact org.webjars.npm:uglifycss:pom:0.0.18 > Resolved artifact org.webjars.npm:uglifycss:pom:0.0.18 from central (http= s://repo.maven.apache.org/maven2/, default, releases+snapshots) > Exception in thread "main" java.lang.StackOverflowError > =09at org.eclipse.aether.util.graph.visitor.PathRecordingDependencyVisito= r.visitEnter(PathRecordingDependencyVisitor.java:102) > =09at org.eclipse.aether.graph.DefaultDependencyNode.accept(DefaultDepend= encyNode.java:341) > =09at org.eclipse.aether.graph.DefaultDependencyNode.accept(DefaultDepend= encyNode.java:345) > =09at org.eclipse.aether.graph.DefaultDependencyNode.accept(DefaultDepend= encyNode.java:345) > =09at org.eclipse.aether.graph.DefaultDependencyNode.accept(DefaultDepend= encyNode.java:345) > {noformat} > (Note: The patch changes the {{plexus-utils}} version as well, as I was g= etting a {{ClassNotFoundException}} for {{org.codehaus.plexus.util.xml.pull= .EntityReplacementMap}} otherwise.) -- This message was sent by Atlassian Jira (v8.3.4#803005)