Benjamin has already solved it, check out his recent commit and JIRA.

Cheers,
Brett

On 18/12/2008, at 9:36 AM, Hervé BOUTEMY wrote:

uh, this problem is really strange:

1. Modello 1.0-alpha-22 was introduced in RC6: RC5 was still using
1.0-alpha-13

2. looking at RC6 model generated sources, Extension.java line 147 is:
result = 37 * result + getVersion() != null ? getVersion().hashCode() : 0;
I don't see how a NPE can get into this line

3. generated code for Extension.hashCode() method is exactly the same in RC4
and RC6


I don't understand how this stacktrace can happen.
What JVM are you using on which platform?
Can you send us a project to reproduce the failure?

Regards,

Hervé

Le mercredi 17 décembre 2008, Henrique Prange a écrit :
Hi Brian,

RC4 also works correctly.

Cheers,

Henrique

Brian E. Fox wrote:
Interesting, what about RC4?

-----Original Message-----
From: Henrique Prange [mailto:hpra...@gmail.com]
Sent: Wednesday, December 17, 2008 12:54 PM
To: Maven Developers List
Cc: Maven Users List
Subject: Re: [2.0.10 RC6] please test

Hi Brian,

RC6 - ERROR!
RC5 - ERROR!
RC3 - OK!

Sorry for not detecting the problem in the RC5. I didn't find time to
test this release candidate. :(

Cheers,

Henrique

Brian E. Fox wrote:
Henrique, could you also try with RC5 to see if it is a new issue in this RC? I'm betting it is related to the Modello change introduced in
RC6.

RC5 is at:

http://people.apache.org/~brianf/RC-5/org/apache/maven/apache-maven/2.0 .

10-RC5/

-----Original Message-----
From: Henrique Prange [mailto:hpra...@gmail.com]
Sent: Wednesday, December 17, 2008 8:51 AM
To: Maven Developers List
Cc: Maven Users List
Subject: Re: [2.0.10 RC6] please test

Hi Brian,

I found a problem while executing 'mvn clean install' in one of my
projects. (See the error below)

I verified and the build works with 2.0.9 and 2.1.0-M1 without

problems.

Cheers,

Henrique

------------------------------------------------------------------------

[ERROR] FATAL ERROR
[INFO]

------------------------------------------------------------------------

[INFO] null
[INFO]

------------------------------------------------------------------------

[INFO] Trace
java.lang.NullPointerException
        at org.apache.maven.model.Extension.hashCode(Extension.java:147)
        at java.lang.Object.toString(Object.java:209)
        at java.lang.String.valueOf(String.java:2615)
        at java.lang.StringBuffer.append(StringBuffer.java:220)
        at

org .apache .maven.lifecycle.DefaultLifecycleExecutor.findExtensions(Defau

ltLifecycleExecutor.java:157)
        at

org .apache .maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec

ycleExecutor.java:140)
        at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at

sun .reflect .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav

a:39)
        at

sun .reflect .DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor

Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java: 430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]

------------------------------------------------------------------------

Brian E. Fox wrote:
Hello,
Thanks everyone for sticking with us this far. I have high hopes of

this

being the last RC.

This RC fixes MNG-3898 and updates the default plugin versions in the
super pom. You can see the changes to the super pom and specific
versions used here:

http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.10-RC/m
aven-project/src/main/resources/org/apache/maven/project/ pom-4.0.0.xml?r

1=708789&r2=726765&diff_format=h

Here's the list of issues fixed in 2.0.10 (updated to remove the

wagon

fixes that were rolled back):

http://jira.codehaus.org/secure/ReleaseNote.jspa?version=14112&styleName

=Html&projectId=10500&Create=Create

And I've staged RC-6 here:

http://people.apache.org/~brianf/staging-repository/org/apache/maven/apa

che-maven/2.0.10-RC6/



Please try it out and see if we have any remaining regressions over
2.0.9.

Thanks,
Brian


----------------------
Brian Fox
Apache Maven PMC
http://blogs.sonatype.com/brian/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org


--
Brett Porter
br...@apache.org
http://blogs.exist.com/bporter/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to