[ 
https://issues.apache.org/jira/browse/KARAF-5100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré updated KARAF-5100:
----------------------------------------
    Fix Version/s: 4.1.2
                   4.2.0

> Karaf maven plugin failed on karaf-assembly goal with StackOverflowException
> ----------------------------------------------------------------------------
>
>                 Key: KARAF-5100
>                 URL: https://issues.apache.org/jira/browse/KARAF-5100
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-tooling
>    Affects Versions: 4.1.1
>         Environment: Apache Maven 3.3.9 
> (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T19:41:47+03:00)
> Maven home: C:\Programs\apache-maven-3.3.9\bin\..
> Java version: 1.8.0_60, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.8.0_60\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"
>            Reporter: Vadim Melnikov
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.2.0, 4.1.2
>
>
> [DEBUG] Resolved (org.apache.karaf.features:standard:xml:features:4.1.1) as 
> C:\Users\vmm333\.m2\repository\org\apache\karaf\features\standard\4.1.1\standard-4.1.1-features.xml
> [DEBUG] Using manager PaxLocalRepositoryManager with priority 0.0 for 
> C:\Users\vmm333\.m2\repository
> [DEBUG] Resolved (org.apache.karaf.features:framework:xml:features:4.1.1) as 
> C:\Users\vmm333\.m2\repository\org\apache\karaf\features\framework\4.1.1\framework-4.1.1-features.xml
> [DEBUG] Resolved 
> (com.mycompany.applications.product-mediation:product-mediation-karaf-features:xml:features:1.4.0)
>  as 
> C:\Users\vmm333\.m2\repository\com\mycompany\applications\product-mediation\product-mediation-karaf-features\1.4.0\product-mediation-karaf-features-1.4.0-features.xml
> [DEBUG] Resolved (org.ops4j.pax.web:pax-web-features:xml:features:6.0.3) as 
> C:\Users\vmm333\.m2\repository\org\ops4j\pax\web\pax-web-features\6.0.3\pax-web-features-6.0.3-features.xml
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 7.692 s
> [INFO] Finished at: 2017-04-21T11:34:37+03:00
> [INFO] Final Memory: 30M/332M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.karaf.tooling:karaf-maven-plugin:4.1.1:assembly (default-assembly) 
> on project product-mediation-karaf-platform: Unable to build assembly: Error 
> -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.karaf.tooling:karaf-maven-plugin:4.1.1:assembly 
> (default-assembly) on project product-mediation-karaf-platform: Unable to 
> build assembly
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
>       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:307)
>       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
>       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
>       at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
>       at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
>       at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:497)
>       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)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to build 
> assembly
>       at org.apache.karaf.tooling.AssemblyMojo.execute(AssemblyMojo.java:268)
>       at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
>       ... 20 more
> Caused by: org.apache.karaf.features.internal.util.MultiException: Error
>       at 
> org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.<init>(MavenDownloadManager.java:84)
>       at 
> org.apache.karaf.profile.assembly.CustomDownloadManager$CustomMavenDownloader.<init>(CustomDownloadManager.java:58)
>       at 
> org.apache.karaf.profile.assembly.CustomDownloadManager.createDownloader(CustomDownloadManager.java:55)
>       at 
> org.apache.karaf.profile.assembly.Builder.loadRepositories(Builder.java:1337)
>       at 
> org.apache.karaf.profile.assembly.Builder.doGenerateAssembly(Builder.java:496)
>       at 
> org.apache.karaf.profile.assembly.Builder.generateAssembly(Builder.java:441)
>       at 
> org.apache.karaf.tooling.AssemblyMojo.doExecute(AssemblyMojo.java:506)
>       at org.apache.karaf.tooling.AssemblyMojo.execute(AssemblyMojo.java:262)
>       ... 22 more
>       Suppressed: java.lang.StackOverflowError
>               at java.security.AccessController.doPrivileged(Native Method)
>               at 
> com.sun.org.apache.xerces.internal.utils.SecuritySupport.getContextClassLoader(SecuritySupport.java:58)
>               at 
> com.sun.org.apache.xerces.internal.utils.ObjectFactory.findClassLoader(ObjectFactory.java:84)
>               at 
> com.sun.org.apache.xerces.internal.utils.ObjectFactory.newInstance(ObjectFactory.java:144)
>               at 
> com.sun.org.apache.xerces.internal.impl.dv.DTDDVFactory.getInstance(DTDDVFactory.java:64)
>               at 
> com.sun.org.apache.xerces.internal.impl.dv.DTDDVFactory.getInstance(DTDDVFactory.java:49)
>               at 
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.<init>(XML11Configuration.java:578)
>               at 
> com.sun.org.apache.xerces.internal.parsers.XIncludeAwareParserConfiguration.<init>(XIncludeAwareParserConfiguration.java:130)
>               at 
> com.sun.org.apache.xerces.internal.parsers.XIncludeAwareParserConfiguration.<init>(XIncludeAwareParserConfiguration.java:91)
>               at 
> com.sun.org.apache.xerces.internal.parsers.SAXParser.<init>(SAXParser.java:111)
>               at 
> com.sun.org.apache.xerces.internal.parsers.SAXParser.<init>(SAXParser.java:96)
>               at 
> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.<init>(SAXParserImpl.java:412)
>               at 
> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.<init>(SAXParserImpl.java:136)
>               at 
> com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.java:81)
>               at org.apache.karaf.util.XmlUtils.xmlReader(XmlUtils.java:110)
>               at 
> org.apache.karaf.features.internal.model.JaxbUtil.unmarshalNoValidate(JaxbUtil.java:199)
>               at 
> org.apache.karaf.features.internal.model.JaxbUtil.unmarshal(JaxbUtil.java:103)
>               at 
> org.apache.karaf.profile.assembly.Builder$2.downloaded(Builder.java:1361)
>               at 
> org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:133)
>               at 
> org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:127)
>               at 
> org.apache.karaf.features.internal.download.impl.DefaultFuture.notifyListener(DefaultFuture.java:350)
>               at 
> org.apache.karaf.features.internal.download.impl.DefaultFuture.addListener(DefaultFuture.java:299)
>               at 
> org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.download(MavenDownloadManager.java:127)
>               at 
> org.apache.karaf.profile.assembly.Builder$2.downloaded(Builder.java:1368)
>               at 
> org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:133)
>               at 
> org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:127)
>               at 
> org.apache.karaf.features.internal.download.impl.DefaultFuture.notifyListener(DefaultFuture.java:350)
>               at 
> org.apache.karaf.features.internal.download.impl.DefaultFuture.addListener(DefaultFuture.java:299)
>               at 
> org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.download(MavenDownloadManager.java:127)
>               at 
> org.apache.karaf.profile.assembly.Builder$2.downloaded(Builder.java:1368)
>               at 
> org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:133)
>               at 
> org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:127)
> <SKIP>
>               at 
> org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.download(MavenDownloadManager.java:127)
>               at 
> org.apache.karaf.profile.assembly.Builder$2.downloaded(Builder.java:1368)
>               at 
> org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:133)
>               at 
> org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:127)
>               at 
> org.apache.karaf.features.internal.download.impl.DefaultFuture.notifyListener(DefaultFuture.java:350)
>               at 
> org.apache.karaf.features.internal.download.impl.DefaultFuture.addListener(DefaultFuture.java:299)
> [DEBUG] Connection manager is shutting down
> [DEBUG] Connection manager shut down
> [ERROR] 
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to