You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Nicolas De Loof <ni...@capgemini.com> on 2005/09/14 08:49:04 UTC

[m1.1b2] StackOverflowError when using commons-attributes plugin


I've tryed maven 1.1 beta2 on a simple project that uses 
commons-attributs for metadata. I get StackOverflowException.

Does maven 1.1 has so much changes that it requires update from all 
plugins ?



LA CONSTRUCTION A ╚CHOU╚
Fichier... D:\Maven 
1.1-beta-2\cache\commons-attributes-plugin-2.1\plugin.jelly
╚lement... ant:attribute-compiler
Ligne..... 43
Colonne... 62
java.lang.StackOverflowError
org.apache.maven.werkz.UnattainableGoalException: Unable to obtain goal 
[java:compile] -- D:\Maven 1.1-beta-2\cache\commons-attrib
utes-plugin-2.1\plugin.jelly:43:62: <ant:attribute-compiler> 
java.lang.StackOverflowError
at org.apache.maven.werkz.Goal.fire(Goal.java:637)
at org.apache.maven.werkz.Goal.attain(Goal.java:592)
at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
at org.apache.maven.werkz.Goal.attain(Goal.java:590)
at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
at org.apache.maven.werkz.Goal.attain(Goal.java:590)
at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
at org.apache.maven.werkz.Goal.attain(Goal.java:590)
at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
at org.apache.maven.werkz.Goal.attain(Goal.java:590)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:693)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.cli.App.doMain(App.java:511)
at org.apache.maven.cli.App.main(App.java:1258)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
org.apache.commons.jelly.JellyTagException: D:\Maven 
1.1-beta-2\cache\commons-attributes-plugin-2.1\plugin.jelly:43:62: 
<ant:attri
bute-compiler> java.lang.StackOverflowError
at 
org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:690)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:267)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78)
at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:109)
at org.apache.maven.werkz.Goal.fire(Goal.java:656)
at org.apache.maven.werkz.Goal.attain(Goal.java:592)
at org.apache.maven.werkz.WerkzProject.attainGoal(WerkzProject.java:210)
at 
org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:114)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:42)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:42)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
at 
org.apache.maven.werkz.jelly.PreGoalTag$1.firePreGoal(PreGoalTag.java:103)
at org.apache.maven.werkz.Goal.firePreGoalCallbacks(Goal.java:708)
at org.apache.maven.werkz.Goal.fire(Goal.java:633)
at org.apache.maven.werkz.Goal.attain(Goal.java:592)
at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
at org.apache.maven.werkz.Goal.attain(Goal.java:590)
at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
at org.apache.maven.werkz.Goal.attain(Goal.java:590)
at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
at org.apache.maven.werkz.Goal.attain(Goal.java:590)
at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
at org.apache.maven.werkz.Goal.attain(Goal.java:590)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:693)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.cli.App.doMain(App.java:511)
at org.apache.maven.cli.App.main(App.java:1258)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: java.lang.StackOverflowError
Root cause
java.lang.StackOverflowError
Root cause
java.lang.StackOverflowError
MÚmoire Finale : 3M/6M
Temps total : 10 secondes
Fini le : mercredi 14 septembre 2005 08:46:08 CEST

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m1.1b2] StackOverflowError when using commons-attributes plugin

Posted by Nicolas De Loof <ni...@capgemini.com>.
I've found the source of the problem :

My parent project has a project.properties file. It is used to configure 
eclipse plugin as follows :

maven.eclipse.projectnatures.append =
maven.eclipse.projectnatures=org.mevenide.ui.mavennature,com.atlassw.tools.eclipse.checkstyle.CheckstyleNature,${maven.eclipse.projectnatures.append}

This is set to allow a child projet to set eclipse project nature 
without having to duplicate default natures (mevenide, checkstyle)
It works fine in maven 1.0.2
It fails in maven 1.1 beta-2

Just commenting the second property make my jar:install work fine.

Perhaps it's not the recommended way to set such properties, but it 
seems there is some incompatibility between 1.0.x and 1.1 on properties 
handling. What would be an alternative to set such properties using new 
<properties> tag in POM ?



Nicolas De Loof a écrit :

>
> You're right about endorsed dir. I've corrected my path (removed any 
> reference to maven 1.0.2) and it works without endorsed dir.
> Perhaps I may have read the release note ?
>
> About commons attribute plugin, maven fails in 
> "ant:attribute-compiler" goal.
> If I remove commons-attribute plugin from dependencies it also fails 
> in "ant:echo" (java.lang.reflect.InvocationTargetException). It seems 
> commons-attributes is working fine and StackOverflow is only a side 
> effect of another bug.
>
> When I merge my parent + project POM, it works fine.
>
> What can I do to trace maven process ? -X dump lot's of interesing 
> debugs that I cannot analyse.
>
> Nico.
>
> PS: I had to remove <packageName> from my POM. It is documented on 
> maven .apache.org/reference to be part of POM v3 XSD but sax parser 
> found it invalid.
>
>
> Brett Porter a écrit :
>
>> On 9/14/05, Nicolas De Loof <ni...@capgemini.com> wrote:
>>  
>>
>>> It works fine using maven 1.0.2
>>> I did'nt try maven 1.1beta-1
>>> This is the only project I've that uses commons-attributes.
>>>
>>> Please notice I'm using windows installer and had to copy 
>>> "lib/endorsed"
>>> from my maven 1.0.2 dir into maven 1.1 because xerces was required :
>>> | \/ |__ _Apache__ ___
>>> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
>>> |_| |_\__,_|\_/\___|_||_| v. 1.1-beta-2
>>>
>>> Plugin cache will be regenerated
>>> javax.xml.parsers.FactoryConfigurationError: Provider
>>> org.apache.xerces.jaxp.SAXParserFactoryImpl not found
>>>   
>>
>>
>>
>> If you read the line in the release notes and in the downloads page, 
>> you have to make sure maven 1.0.2 is not before 1.1-beta-2 in your 
>> PATH. You can't use the 1.0.2 shell script with 1.1-beta-2, and you 
>> should not need to copy lib/endorsed.
>>
>> I've made some test. My project extends a parent project (for
>>  
>>
>>> common-build and dependencies). When I manually merge project.xml, it
>>> works fine.
>>> When I get back to projet -extends- I get stackOverFlow.
>>>   
>>
>>
>>
>> ok... and if you remove commons-attributes it works also? What led 
>> you to believe it was commons-attributes that was a problem?
>>
>> Thanks,
>> Brett
>>
>>  
>>
>
> This message contains information that may be privileged or 
> confidential and is the property of the Capgemini Group. It is 
> intended only for the person to whom it is addressed. If you are not 
> the intended recipient,  you are not authorized to read, print, 
> retain, copy, disseminate,  distribute, or use this message or any 
> part thereof. If you receive this  message in error, please notify the 
> sender immediately and delete all  copies of this message.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m1.1b2] StackOverflowError when using commons-attributes plugin

Posted by Arnaud HERITIER <ah...@gmail.com>.
[SNIP]
> 
> 
> 
> PS: I had to remove <packageName> from my POM. It is documented on maven
> .apache.org/reference to be part of POM v3 XSD but sax parser found it
> invalid.


I just put on the server the update for the schema and the
project.xmlreference documentation.
It'll be available online in few hours.

Arnaud

Re: [m1.1b2] StackOverflowError when using commons-attributes plugin

Posted by Nicolas De Loof <ni...@capgemini.com>.
You're right about endorsed dir. I've corrected my path (removed any 
reference to maven 1.0.2) and it works without endorsed dir.
Perhaps I may have read the release note ?

About commons attribute plugin, maven fails in "ant:attribute-compiler" 
goal.
If I remove commons-attribute plugin from dependencies it also fails in 
"ant:echo" (java.lang.reflect.InvocationTargetException). It seems 
commons-attributes is working fine and StackOverflow is only a side 
effect of another bug.

When I merge my parent + project POM, it works fine.

What can I do to trace maven process ? -X dump lot's of interesing 
debugs that I cannot analyse.

Nico.

PS: I had to remove <packageName> from my POM. It is documented on maven 
.apache.org/reference to be part of POM v3 XSD but sax parser found it 
invalid.


Brett Porter a écrit :

>On 9/14/05, Nicolas De Loof <ni...@capgemini.com> wrote:
>  
>
>>It works fine using maven 1.0.2
>>I did'nt try maven 1.1beta-1
>>This is the only project I've that uses commons-attributes.
>>
>>Please notice I'm using windows installer and had to copy "lib/endorsed"
>>from my maven 1.0.2 dir into maven 1.1 because xerces was required :
>>| \/ |__ _Apache__ ___
>>| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
>>|_| |_\__,_|\_/\___|_||_| v. 1.1-beta-2
>>
>>Plugin cache will be regenerated
>>javax.xml.parsers.FactoryConfigurationError: Provider
>>org.apache.xerces.jaxp.SAXParserFactoryImpl not found
>>    
>>
>
>
>If you read the line in the release notes and in the downloads page, you 
>have to make sure maven 1.0.2 is not before 1.1-beta-2 in your PATH. You 
>can't use the 1.0.2 shell script with 1.1-beta-2, and you should not need to 
>copy lib/endorsed.
>
>I've made some test. My project extends a parent project (for
>  
>
>>common-build and dependencies). When I manually merge project.xml, it
>>works fine.
>>When I get back to projet -extends- I get stackOverFlow.
>>    
>>
>
>
>ok... and if you remove commons-attributes it works also? What led you to 
>believe it was commons-attributes that was a problem?
>
>Thanks,
>Brett
>
>  
>

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m1.1b2] StackOverflowError when using commons-attributes plugin

Posted by Brett Porter <br...@gmail.com>.
On 9/14/05, Nicolas De Loof <ni...@capgemini.com> wrote:
> 
> 
> It works fine using maven 1.0.2
> I did'nt try maven 1.1beta-1
> This is the only project I've that uses commons-attributes.
> 
> Please notice I'm using windows installer and had to copy "lib/endorsed"
> from my maven 1.0.2 dir into maven 1.1 because xerces was required :
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.1-beta-2
> 
> Plugin cache will be regenerated
> javax.xml.parsers.FactoryConfigurationError: Provider
> org.apache.xerces.jaxp.SAXParserFactoryImpl not found


If you read the line in the release notes and in the downloads page, you 
have to make sure maven 1.0.2 is not before 1.1-beta-2 in your PATH. You 
can't use the 1.0.2 shell script with 1.1-beta-2, and you should not need to 
copy lib/endorsed.

I've made some test. My project extends a parent project (for
> common-build and dependencies). When I manually merge project.xml, it
> works fine.
> When I get back to projet -extends- I get stackOverFlow.


ok... and if you remove commons-attributes it works also? What led you to 
believe it was commons-attributes that was a problem?

Thanks,
Brett

Re: [m1.1b2] StackOverflowError when using commons-attributes plugin

Posted by Nicolas De Loof <ni...@capgemini.com>.
It works fine using maven 1.0.2
I did'nt try maven 1.1beta-1
This is the only project I've that uses commons-attributes.

Please notice I'm using windows installer and had to copy "lib/endorsed" 
from my maven 1.0.2 dir into maven 1.1 because xerces was required :
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.1-beta-2

Plugin cache will be regenerated
javax.xml.parsers.FactoryConfigurationError: Provider 
org.apache.xerces.jaxp.SAXParserFactoryImpl not found


I've made some test. My project extends a parent project (for 
common-build and dependencies). When I manually merge project.xml, it 
works fine.
When I get back to projet -extends- I get stackOverFlow.

Here are my project.xml, if it can gives some idea :

Parent  projet.xml (project path : "/commons-build") :

<?xml version="1.0" encoding="ISO-8859-1"?>
<project>
    <pomVersion>3</pomVersion>
    <id>commons-sandbox</id>
    <groupId>com.capgemini</groupId>
    <artifactId/>
    <name>commons-sandbox</name>
    <currentVersion>1.0</currentVersion>
    <shortDescription>
        Bac à sable pour le développement des composants communs
    </shortDescription>
    <description>
        Bac à sable pour le développement des composants communs.
    </description>
    <url/>
    <logo/>
    <issueTrackingUrl>http://ubuntu:8080/scarab/issues</issueTrackingUrl>
    <inceptionYear>2005</inceptionYear>
    <gumpRepositoryId/>
    <siteAddress>http://ubuntu/sandbox</siteAddress>
    <siteDirectory>/var/www/sandbox</siteDirectory>
    <developers>
        <developer>
            <id>ndeloof</id>
            <name>Nicolas De Loof</name>
            <email>ndeloof@capgemini.fr</email>
            <roles/>
        </developer>
    </developers>
    <contributors/>
    <licenses/>
    <versions/>
    <reports>
        <report>maven-dashboard-plugin</report>
    </reports>
    <repository>
        <connection>
            
scm:cvs:pserver:anonymous@sf1rennes:2402/user2/commons/commons/cvsroot:sandbox</connection>
        <developerConnection>
            
scm:cvs:pserver:${user.name}@sf1rennes:2402/user2/commons/commons/cvsroot:sandbox</developerConnection>
    </repository>
    <organization>
        <name>Capgemini</name>
        <url>http://www.capgemini.com</url>
        <logo>http://www.capgemini.com/international/logo.gif</logo>
    </organization>
    <properties/>
    <build>
        <sourceDirectory>src/main/java</sourceDirectory>
        <unitTestSourceDirectory>src/test/java</unitTestSourceDirectory>
        <aspectSourceDirectory/>
        <integrationUnitTestSourceDirectory/>
        <sourceModifications/>
        <unitTest>
            <resources>
                <resource>
                    <directory>src/test/resources</directory>
                    <includes>
                        <include>*.properties</include>
                        <include>*.xml</include>
                    </includes>
                </resource>
            </resources>
            <includes>
                <include>**/*Test.java</include>
            </includes>
            <excludes/>
        </unitTest>
        <defaultGoal>jar:install</defaultGoal>
        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <includes>
                    <include>**/*.properties</include>
                    <include>**/*.xml</include>
                </includes>
            </resource>
        </resources>
    </build>
    <dependencies>
        <dependency>
            <groupId>commons-logging</groupId>
            <artifactId>commons-logging</artifactId>
            <version>1.0.4</version>
            <properties>
                <description>API de normalisation des logs</description>
            </properties>
        </dependency>
    </dependencies>
</project>


artifact project.xml :

<?xml version="1.0" encoding="UTF-8"?>

<project>
    <extend>${basedir}/../commons-build/project.xml</extend>
    <id>ccc-configuration</id>
    <name>configuration</name>
    <currentVersion>0.1-SNAPSHOT</currentVersion>
    <description>Outils autour de jakarta 
commons-configuration</description>
    <developers>
        <developer>
            <id>ndeloof</id>
            <name>Nicolas De Loof</name>
            <email>ndeloof@capgemini.fr</email>
            <roles/>
        </developer>
    </developers>
    <reports>
        <report>maven-jcoverage-plugin</report>
        <report>maven-tasks-plugin</report>
        <report>maven-changes-plugin</report>
        <report>maven-javadoc-plugin</report>
        <report>maven-junit-report-plugin</report>
        <report>maven-simian-plugin</report>
        <report>maven-tasklist-plugin</report>
        <report>maven-checkstyle-plugin</report>
        <report>maven-jdepend-plugin</report>
        <report>maven-jxr-plugin</report>
        <report>maven-pmd-plugin</report>
    </reports>
    <dependencies>
        <dependency>
            <groupId>commons-configuration</groupId>
            <artifactId>commons-configuration</artifactId>
            <version>1.1</version>
            <properties>
                <eclipse.source>true</eclipse.source>
                <description>Outil de configuration Apache 
Jakarta</description>
            </properties>
        </dependency>
        <dependency>
            <groupId>commons-lang</groupId>
            <artifactId>commons-lang</artifactId>
            <version>2.1</version>
            <properties>
                <eclipse.source>true</eclipse.source>
                <description>Manipulation des types de base</description>
            </properties>
        </dependency>
        <dependency>
            <groupId>springframework</groupId>
            <artifactId>spring-core</artifactId>
            <version>${dependencies.spring.version}</version>
            <type>jar</type>
            <properties>
                <eclipse.source>true</eclipse.source>
                <description>Conteneur léger pour l'injection de
                    dépendances</description>
            </properties>
        </dependency>
        <dependency>
            <groupId>springframework</groupId>
            <artifactId>spring-context</artifactId>
            <version>${dependencies.spring.version}</version>
            <type>jar</type>
            <properties>
                <eclipse.source>true</eclipse.source>
                <description>Contextes pour l'injection de
                    dépendances</description>
            </properties>
        </dependency>
        <dependency>
            <groupId>springframework</groupId>
            <artifactId>spring-beans</artifactId>
            <version>${dependencies.spring.version}</version>
            <type>jar</type>
            <properties>
                <eclipse.source>true</eclipse.source>
                <description>Contextes pour l'injection de
                    dépendances</description>
            </properties>
        </dependency>
        <dependency>
            <groupId>springframework</groupId>
            <artifactId>spring-support</artifactId>
            <version>${dependencies.spring.version}</version>
            <type>jar</type>
            <properties>
                <eclipse.source>true</eclipse.source>
                <description>Support optionnel (jmx)</description>
            </properties>
        </dependency>
        <dependency>
            <groupId>commons-attributes</groupId>
            <artifactId>commons-attributes-api</artifactId>
            <version>2.1</version>
            <type>jar</type>
            <properties>
                <war.bundle>true</war.bundle>
                <description>Annotations sous JDK 1.4</description>
                <scope>compile,test,runtime</scope>
            </properties>
        </dependency>
        <dependency>
            <groupId>commons-attributes</groupId>
            <artifactId>commons-attributes-compiler</artifactId>
            <version>2.1</version>
            <type>jar</type>
            <properties>
                <description>Annotations sous JDK 1.4</description>
                <scope>compile</scope>
            </properties>
        </dependency>
        <dependency>
            <groupId>commons-attributes</groupId>
            <artifactId>commons-attributes-plugin</artifactId>
            <version>2.1</version>
            <type>plugin</type>
            <properties>
                <description>Annotations sous JDK 1.4</description>
                <scope>compile</scope>
            </properties>
        </dependency>
        <dependency>
            <groupId>cgey-commons</groupId>
            <artifactId>cgey-commons-configuration</artifactId>
            <version>1.2.4</version>
            <properties>
                <description>Librairie historique de 
configuration</description>
                <scope>compile</scope>
            </properties>
        </dependency>
    </dependencies>
</project>



Brett Porter a écrit :

>No, in fact it should be backwards compatible. The only plugins that have 
>required an update so far (findbugs) is because the project.xml that they 
>came with was invalid.
>
>Does the exception occur on other projects using commons-attributes? Did it 
>work in 1.0.2? beta-1?
>
>Thanks,
>Brett
>
>On 9/14/05, Nicolas De Loof <ni...@capgemini.com> wrote:
>  
>
>>
>>I've tryed maven 1.1 beta2 on a simple project that uses
>>commons-attributs for metadata. I get StackOverflowException.
>>
>>Does maven 1.1 has so much changes that it requires update from all
>>plugins ?
>>
>>
>>
>>LA CONSTRUCTION A ╚CHOU╚
>>Fichier... D:\Maven
>>1.1-beta-2\cache\commons-attributes-plugin-2.1\plugin.jelly
>>╚lement... ant:attribute-compiler
>>Ligne..... 43
>>Colonne... 62
>>java.lang.StackOverflowError
>>org.apache.maven.werkz.UnattainableGoalException: Unable to obtain goal
>>[java:compile] -- D:\Maven 1.1-beta-2\cache\commons-attrib
>>utes-plugin-2.1\plugin.jelly:43:62: <ant:attribute-compiler>
>>java.lang.StackOverflowError
>>at org.apache.maven.werkz.Goal.fire(Goal.java:637)
>>at org.apache.maven.werkz.Goal.attain(Goal.java:592)
>>at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
>>at org.apache.maven.werkz.Goal.attain(Goal.java:590)
>>at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
>>at org.apache.maven.werkz.Goal.attain(Goal.java:590)
>>at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
>>at org.apache.maven.werkz.Goal.attain(Goal.java:590)
>>at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
>>at org.apache.maven.werkz.Goal.attain(Goal.java:590)
>>at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java
>>:693)
>>at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
>>at org.apache.maven.cli.App.doMain(App.java:511)
>>at org.apache.maven.cli.App.main(App.java:1258)
>>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>at
>>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
>>:39)
>>at
>>sun.reflect.DelegatingMethodAccessorImpl.invoke(
>>DelegatingMethodAccessorImpl.java:25)
>>at java.lang.reflect.Method.invoke(Method.java:324)
>>at com.werken.forehead.Forehead.run(Forehead.java:551)
>>at com.werken.forehead.Forehead.main(Forehead.java:581)
>>org.apache.commons.jelly.JellyTagException: D:\Maven
>>1.1-beta-2\cache\commons-attributes-plugin-2.1\plugin.jelly:43:62:
>><ant:attri
>>bute-compiler> java.lang.StackOverflowError
>>at
>>org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java
>>:690)
>>at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:267)
>>at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
>>at
>>org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(
>>MavenGoalTag.java:78)
>>at
>>
>>org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction
>>(MavenGoalTag.java:109)
>>at org.apache.maven.werkz.Goal.fire(Goal.java:656)
>>at org.apache.maven.werkz.Goal.attain(Goal.java:592)
>>at org.apache.maven.werkz.WerkzProject.attainGoal(WerkzProject.java:210)
>>at
>>org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(
>>MavenAttainGoalTag.java:114)
>>at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
>>at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
>>at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
>>at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:42)
>>at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
>>at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
>>at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
>>at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:42)
>>at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
>>at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
>>at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
>>at
>>org.apache.maven.werkz.jelly.PreGoalTag$1.firePreGoal(PreGoalTag.java:103)
>>at org.apache.maven.werkz.Goal.firePreGoalCallbacks(Goal.java:708)
>>at org.apache.maven.werkz.Goal.fire(Goal.java:633)
>>at org.apache.maven.werkz.Goal.attain(Goal.java:592)
>>at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
>>at org.apache.maven.werkz.Goal.attain(Goal.java:590)
>>at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
>>at org.apache.maven.werkz.Goal.attain(Goal.java:590)
>>at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
>>at org.apache.maven.werkz.Goal.attain(Goal.java:590)
>>at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
>>at org.apache.maven.werkz.Goal.attain(Goal.java:590)
>>at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java
>>:693)
>>at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
>>at org.apache.maven.cli.App.doMain(App.java:511)
>>at org.apache.maven.cli.App.main(App.java:1258)
>>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>at
>>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
>>:39)
>>at
>>sun.reflect.DelegatingMethodAccessorImpl.invoke(
>>DelegatingMethodAccessorImpl.java:25)
>>at java.lang.reflect.Method.invoke(Method.java:324)
>>at com.werken.forehead.Forehead.run(Forehead.java:551)
>>at com.werken.forehead.Forehead.main(Forehead.java:581)
>>Caused by: java.lang.StackOverflowError
>>Root cause
>>java.lang.StackOverflowError
>>Root cause
>>java.lang.StackOverflowError
>>MÚmoire Finale : 3M/6M
>>Temps total : 10 secondes
>>Fini le : mercredi 14 septembre 2005 08:46:08 CEST
>>
>>This message contains information that may be privileged or confidential 
>>and is the property of the Capgemini Group. It is intended only for the 
>>person to whom it is addressed. If you are not the intended recipient, you 
>>are not authorized to read, print, retain, copy, disseminate, distribute, or 
>>use this message or any part thereof. If you receive this message in error, 
>>please notify the sender immediately and delete all copies of this message.
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>    
>>

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m1.1b2] StackOverflowError when using commons-attributes plugin

Posted by Brett Porter <br...@gmail.com>.
No, in fact it should be backwards compatible. The only plugins that have 
required an update so far (findbugs) is because the project.xml that they 
came with was invalid.

Does the exception occur on other projects using commons-attributes? Did it 
work in 1.0.2? beta-1?

Thanks,
Brett

On 9/14/05, Nicolas De Loof <ni...@capgemini.com> wrote:
> 
> 
> 
> I've tryed maven 1.1 beta2 on a simple project that uses
> commons-attributs for metadata. I get StackOverflowException.
> 
> Does maven 1.1 has so much changes that it requires update from all
> plugins ?
> 
> 
> 
> LA CONSTRUCTION A ╚CHOU╚
> Fichier... D:\Maven
> 1.1-beta-2\cache\commons-attributes-plugin-2.1\plugin.jelly
> ╚lement... ant:attribute-compiler
> Ligne..... 43
> Colonne... 62
> java.lang.StackOverflowError
> org.apache.maven.werkz.UnattainableGoalException: Unable to obtain goal
> [java:compile] -- D:\Maven 1.1-beta-2\cache\commons-attrib
> utes-plugin-2.1\plugin.jelly:43:62: <ant:attribute-compiler>
> java.lang.StackOverflowError
> at org.apache.maven.werkz.Goal.fire(Goal.java:637)
> at org.apache.maven.werkz.Goal.attain(Goal.java:592)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
> at org.apache.maven.werkz.Goal.attain(Goal.java:590)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
> at org.apache.maven.werkz.Goal.attain(Goal.java:590)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
> at org.apache.maven.werkz.Goal.attain(Goal.java:590)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
> at org.apache.maven.werkz.Goal.attain(Goal.java:590)
> at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java
> :693)
> at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
> at org.apache.maven.cli.App.doMain(App.java:511)
> at org.apache.maven.cli.App.main(App.java:1258)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> :39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
> org.apache.commons.jelly.JellyTagException: D:\Maven
> 1.1-beta-2\cache\commons-attributes-plugin-2.1\plugin.jelly:43:62:
> <ant:attri
> bute-compiler> java.lang.StackOverflowError
> at
> org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java
> :690)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:267)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at
> org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(
> MavenGoalTag.java:78)
> at
> 
> org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction
> (MavenGoalTag.java:109)
> at org.apache.maven.werkz.Goal.fire(Goal.java:656)
> at org.apache.maven.werkz.Goal.attain(Goal.java:592)
> at org.apache.maven.werkz.WerkzProject.attainGoal(WerkzProject.java:210)
> at
> org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(
> MavenAttainGoalTag.java:114)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
> at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:42)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
> at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:42)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
> at
> org.apache.maven.werkz.jelly.PreGoalTag$1.firePreGoal(PreGoalTag.java:103)
> at org.apache.maven.werkz.Goal.firePreGoalCallbacks(Goal.java:708)
> at org.apache.maven.werkz.Goal.fire(Goal.java:633)
> at org.apache.maven.werkz.Goal.attain(Goal.java:592)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
> at org.apache.maven.werkz.Goal.attain(Goal.java:590)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
> at org.apache.maven.werkz.Goal.attain(Goal.java:590)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
> at org.apache.maven.werkz.Goal.attain(Goal.java:590)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
> at org.apache.maven.werkz.Goal.attain(Goal.java:590)
> at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java
> :693)
> at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
> at org.apache.maven.cli.App.doMain(App.java:511)
> at org.apache.maven.cli.App.main(App.java:1258)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> :39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
> Caused by: java.lang.StackOverflowError
> Root cause
> java.lang.StackOverflowError
> Root cause
> java.lang.StackOverflowError
> MÚmoire Finale : 3M/6M
> Temps total : 10 secondes
> Fini le : mercredi 14 septembre 2005 08:46:08 CEST
> 
> This message contains information that may be privileged or confidential 
> and is the property of the Capgemini Group. It is intended only for the 
> person to whom it is addressed. If you are not the intended recipient, you 
> are not authorized to read, print, retain, copy, disseminate, distribute, or 
> use this message or any part thereof. If you receive this message in error, 
> please notify the sender immediately and delete all copies of this message.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>