You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@codehaus.org> on 2008/10/28 14:17:51 UTC

[jira] Created: (MNG-3806) NullPointerException when a dependency uses version range and another uses an actual version incompatible with that range

NullPointerException when a dependency uses version range and another uses an actual version incompatible with that range
-------------------------------------------------------------------------------------------------------------------------

                 Key: MNG-3806
                 URL: http://jira.codehaus.org/browse/MNG-3806
             Project: Maven 2
          Issue Type: Bug
          Components: Dependencies
    Affects Versions: 2.1.0-M1, 2.0.9
         Environment: Windows XP SP2, Maven see above, JDK 6
            Reporter: Michael Osipov
            Priority: Critical
         Attachments: debug-2.0.9.log, debug-2.1.0-M1.log

This is simply a regression/reoccurence of MNG-2123, test dependency makes the whole system fail.

Debug logs are attached.

If I test with slf4j-nop with soft version 1.5.5 it works flawlessly.
Here is the source: http://svn.fckeditor.net/FCKeditor.Java/trunk/ r2607
run with "mvn site package assembly:assembly"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MASSEMBLY-483) NullPointerException when a dependency uses version range and another uses an actual version incompatible with that range

Posted by "Michael Osipov (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MASSEMBLY-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=217264#action_217264 ] 

Michael Osipov commented on MASSEMBLY-483:
------------------------------------------

Brett,

I made a fresh rev checkout with Maven 2.0.11 and the same error still occurs. I have bumped plugin version from beta-3 throughout beta-5. All subsequent beta-2 releases have this bug fixed. So beta-2 fails all others work flawlessly.

You can mark this one fixed with beta-3.

> NullPointerException when a dependency uses version range and another uses an actual version incompatible with that range
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MASSEMBLY-483
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-483
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-2
>         Environment: Windows XP SP2, Maven see above, JDK 6
>            Reporter: Michael Osipov
>            Priority: Critical
>         Attachments: debug-2.0.9.log, debug-2.1.0-M1.log
>
>
> This is simply a regression/reoccurence of MNG-2123, test dependency makes the whole system fail.
> Debug logs are attached.
> If I test with slf4j-nop with soft version 1.5.5 it works flawlessly.
> Here is the source: http://svn.fckeditor.net/FCKeditor.Java/trunk/ r2607
> run with "mvn site package assembly:assembly"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MNG-3806) NullPointerException when a dependency uses version range and another uses an actual version incompatible with that range

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-3806:
------------------------------

    Fix Version/s:     (was: 2.1.0-M2)

I built with a clean repository and can't reproduce this issue.

> NullPointerException when a dependency uses version range and another uses an actual version incompatible with that range
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-3806
>                 URL: http://jira.codehaus.org/browse/MNG-3806
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies
>    Affects Versions: 2.0.9, 2.1.0-M1
>         Environment: Windows XP SP2, Maven see above, JDK 6
>            Reporter: Michael Osipov
>            Priority: Critical
>         Attachments: debug-2.0.9.log, debug-2.1.0-M1.log
>
>
> This is simply a regression/reoccurence of MNG-2123, test dependency makes the whole system fail.
> Debug logs are attached.
> If I test with slf4j-nop with soft version 1.5.5 it works flawlessly.
> Here is the source: http://svn.fckeditor.net/FCKeditor.Java/trunk/ r2607
> run with "mvn site package assembly:assembly"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MNG-3806) NullPointerException when a dependency uses version range and another uses an actual version incompatible with that range

Posted by "Michael Osipov (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-3806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158985#action_158985 ] 

Michael Osipov commented on MNG-3806:
-------------------------------------

Hi Brett,

did you change the sfl4j version to the commented range? [1.5.5,1.6)

> NullPointerException when a dependency uses version range and another uses an actual version incompatible with that range
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-3806
>                 URL: http://jira.codehaus.org/browse/MNG-3806
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies
>    Affects Versions: 2.0.9, 2.1.0-M1
>         Environment: Windows XP SP2, Maven see above, JDK 6
>            Reporter: Michael Osipov
>            Priority: Critical
>         Attachments: debug-2.0.9.log, debug-2.1.0-M1.log
>
>
> This is simply a regression/reoccurence of MNG-2123, test dependency makes the whole system fail.
> Debug logs are attached.
> If I test with slf4j-nop with soft version 1.5.5 it works flawlessly.
> Here is the source: http://svn.fckeditor.net/FCKeditor.Java/trunk/ r2607
> run with "mvn site package assembly:assembly"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MNG-3806) NullPointerException when a dependency uses version range and another uses an actual version incompatible with that range

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-3806:
------------------------------

    Fix Version/s: 2.1.0-M2

unclear to me if this was a regression in 2.1.0-M1 or never worked - will check it out

> NullPointerException when a dependency uses version range and another uses an actual version incompatible with that range
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-3806
>                 URL: http://jira.codehaus.org/browse/MNG-3806
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies
>    Affects Versions: 2.0.9, 2.1.0-M1
>         Environment: Windows XP SP2, Maven see above, JDK 6
>            Reporter: Michael Osipov
>            Priority: Critical
>             Fix For: 2.1.0-M2
>
>         Attachments: debug-2.0.9.log, debug-2.1.0-M1.log
>
>
> This is simply a regression/reoccurence of MNG-2123, test dependency makes the whole system fail.
> Debug logs are attached.
> If I test with slf4j-nop with soft version 1.5.5 it works flawlessly.
> Here is the source: http://svn.fckeditor.net/FCKeditor.Java/trunk/ r2607
> run with "mvn site package assembly:assembly"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Moved: (MASSEMBLY-483) NullPointerException when a dependency uses version range and another uses an actual version incompatible with that range

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MASSEMBLY-483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter moved MNG-3806 to MASSEMBLY-483:
---------------------------------------------

           Complexity:   (was: Intermediate)
          Component/s:     (was: Dependencies)
        Fix Version/s:     (was: 2.2.x (to be reviewed))
    Affects Version/s:     (was: 2.1.0-M1)
                           (was: 2.0.9)
                       2.2-beta-2
                  Key: MASSEMBLY-483  (was: MNG-3806)
              Project: Maven 2.x Assembly Plugin  (was: Maven 2 & 3)

> NullPointerException when a dependency uses version range and another uses an actual version incompatible with that range
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MASSEMBLY-483
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-483
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-2
>         Environment: Windows XP SP2, Maven see above, JDK 6
>            Reporter: Michael Osipov
>            Priority: Critical
>         Attachments: debug-2.0.9.log, debug-2.1.0-M1.log
>
>
> This is simply a regression/reoccurence of MNG-2123, test dependency makes the whole system fail.
> Debug logs are attached.
> If I test with slf4j-nop with soft version 1.5.5 it works flawlessly.
> Here is the source: http://svn.fckeditor.net/FCKeditor.Java/trunk/ r2607
> run with "mvn site package assembly:assembly"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MNG-3806) NullPointerException when a dependency uses version range and another uses an actual version incompatible with that range

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-3806:
------------------------------

    Fix Version/s: 2.0.x

ok, yes, I see it now. This is not a regression (it occurs in several versions of Maven), but probably a related bug.

> NullPointerException when a dependency uses version range and another uses an actual version incompatible with that range
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-3806
>                 URL: http://jira.codehaus.org/browse/MNG-3806
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies
>    Affects Versions: 2.0.9, 2.1.0-M1
>         Environment: Windows XP SP2, Maven see above, JDK 6
>            Reporter: Michael Osipov
>            Priority: Critical
>             Fix For: 2.0.x
>
>         Attachments: debug-2.0.9.log, debug-2.1.0-M1.log
>
>
> This is simply a regression/reoccurence of MNG-2123, test dependency makes the whole system fail.
> Debug logs are attached.
> If I test with slf4j-nop with soft version 1.5.5 it works flawlessly.
> Here is the source: http://svn.fckeditor.net/FCKeditor.Java/trunk/ r2607
> run with "mvn site package assembly:assembly"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MASSEMBLY-483) NullPointerException when a dependency uses version range and another uses an actual version incompatible with that range

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MASSEMBLY-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=216932#action_216932 ] 

Brett Porter commented on MASSEMBLY-483:
----------------------------------------

This only occurs in the assembly plugin. I can reproduce it with the fckeditor source at the given revision, but have had trouble building a small project to reproduce. Are you still experiencing this?

> NullPointerException when a dependency uses version range and another uses an actual version incompatible with that range
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MASSEMBLY-483
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-483
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-2
>         Environment: Windows XP SP2, Maven see above, JDK 6
>            Reporter: Michael Osipov
>            Priority: Critical
>         Attachments: debug-2.0.9.log, debug-2.1.0-M1.log
>
>
> This is simply a regression/reoccurence of MNG-2123, test dependency makes the whole system fail.
> Debug logs are attached.
> If I test with slf4j-nop with soft version 1.5.5 it works flawlessly.
> Here is the source: http://svn.fckeditor.net/FCKeditor.Java/trunk/ r2607
> run with "mvn site package assembly:assembly"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MASSEMBLY-483) NullPointerException when a dependency uses version range and another uses an actual version incompatible with that range

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MASSEMBLY-483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey closed MASSEMBLY-483.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2-beta-3
         Assignee: John Casey

marking fixed.

> NullPointerException when a dependency uses version range and another uses an actual version incompatible with that range
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MASSEMBLY-483
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-483
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-2
>         Environment: Windows XP SP2, Maven see above, JDK 6
>            Reporter: Michael Osipov
>            Assignee: John Casey
>            Priority: Critical
>             Fix For: 2.2-beta-3
>
>         Attachments: debug-2.0.9.log, debug-2.1.0-M1.log
>
>
> This is simply a regression/reoccurence of MNG-2123, test dependency makes the whole system fail.
> Debug logs are attached.
> If I test with slf4j-nop with soft version 1.5.5 it works flawlessly.
> Here is the source: http://svn.fckeditor.net/FCKeditor.Java/trunk/ r2607
> run with "mvn site package assembly:assembly"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira