You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "nicolas de loof (JIRA)" <ji...@codehaus.org> on 2007/12/17 09:52:57 UTC

[jira] Created: (MRM-629) NullPointer when setting corporate POM on a fresh archvia install

NullPointer when setting corporate POM on a fresh archvia install
-----------------------------------------------------------------

                 Key: MRM-629
                 URL: http://jira.codehaus.org/browse/MRM-629
             Project: Archiva
          Issue Type: Bug
          Components: web application
    Affects Versions: 1.0
         Environment: archiva deployed as a war on tomcat 5.5
            Reporter: nicolas de loof
            Priority: Minor


Tryning to set a corporate POM fails with a NullPointerException

The maven-shared-application configuration expect a configuration to exist as either org.apache.maven.shared.app.user or org.apache.maven.shared.app.base. The first one is declared in archvia application.xml as "config-forceCreate="true"", so it SHOULD have been created, but is absent from my ${user.home}/.m2

This may be a plexus-registry-provider bug, or a commons-configuration bug.

-- 
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: (MRM-629) NullPointer when setting corporate POM on a fresh archvia install

Posted by "James William Dumay (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James William Dumay closed MRM-629.
-----------------------------------

      Assignee: James William Dumay
    Resolution: Won't Fix

MRM-829

> NullPointer when setting corporate POM on a fresh archvia install
> -----------------------------------------------------------------
>
>                 Key: MRM-629
>                 URL: http://jira.codehaus.org/browse/MRM-629
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.0
>         Environment: archiva deployed as a war on tomcat 5.5
>            Reporter: nicolas de loof
>            Assignee: James William Dumay
>            Priority: Minor
>             Fix For: 1.1
>
>
> Tryning to set a corporate POM fails with a NullPointerException
> The maven-shared-application configuration expect a configuration to exist as either org.apache.maven.shared.app.user or org.apache.maven.shared.app.base. The first one is declared in archvia application.xml as "config-forceCreate="true"", so it SHOULD have been created, but is absent from my ${user.home}/.m2
> This may be a plexus-registry-provider bug, or a commons-configuration bug.

-- 
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: (MRM-629) NullPointer when setting corporate POM on a fresh archvia install

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maria Odea Ching updated MRM-629:
---------------------------------

    Fix Version/s: 1.x

> NullPointer when setting corporate POM on a fresh archvia install
> -----------------------------------------------------------------
>
>                 Key: MRM-629
>                 URL: http://jira.codehaus.org/browse/MRM-629
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.0
>         Environment: archiva deployed as a war on tomcat 5.5
>            Reporter: nicolas de loof
>            Priority: Minor
>             Fix For: 1.x
>
>
> Tryning to set a corporate POM fails with a NullPointerException
> The maven-shared-application configuration expect a configuration to exist as either org.apache.maven.shared.app.user or org.apache.maven.shared.app.base. The first one is declared in archvia application.xml as "config-forceCreate="true"", so it SHOULD have been created, but is absent from my ${user.home}/.m2
> This may be a plexus-registry-provider bug, or a commons-configuration bug.

-- 
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: (MRM-629) NullPointer when setting corporate POM on a fresh archvia install

Posted by "nicolas de loof (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_117063 ] 

nicolas de loof commented on MRM-629:
-------------------------------------

Creating an empty <configuration/> in $HOME/.m2/shared.xml does not solve this.

java.lang.NullPointerException
	org.apache.maven.shared.app.configuration.io.registry.ConfigurationRegistryWriter.writeCompanyPom(ConfigurationRegistryWriter.java:45)
	org.apache.maven.shared.app.configuration.io.registry.ConfigurationRegistryWriter.writeConfiguration(ConfigurationRegistryWriter.java:32)
	org.apache.maven.shared.app.configuration.io.registry.ConfigurationRegistryWriter.write(ConfigurationRegistryWriter.java:22)
	org.apache.maven.shared.app.configuration.DefaultMavenAppConfiguration.save(DefaultMavenAppConfiguration.java:73)
	org.apache.maven.archiva.web.action.admin.appearance.ConfigureAppearanceAction.execute(ConfigureAppearanceAction.java:70)

> NullPointer when setting corporate POM on a fresh archvia install
> -----------------------------------------------------------------
>
>                 Key: MRM-629
>                 URL: http://jira.codehaus.org/browse/MRM-629
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.0
>         Environment: archiva deployed as a war on tomcat 5.5
>            Reporter: nicolas de loof
>            Priority: Minor
>
> Tryning to set a corporate POM fails with a NullPointerException
> The maven-shared-application configuration expect a configuration to exist as either org.apache.maven.shared.app.user or org.apache.maven.shared.app.base. The first one is declared in archvia application.xml as "config-forceCreate="true"", so it SHOULD have been created, but is absent from my ${user.home}/.m2
> This may be a plexus-registry-provider bug, or a commons-configuration bug.

-- 
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: (MRM-629) NullPointer when setting corporate POM on a fresh archvia install

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

Brett Porter updated MRM-629:
-----------------------------

    Fix Version/s:     (was: 1.x)
                   1.1

> NullPointer when setting corporate POM on a fresh archvia install
> -----------------------------------------------------------------
>
>                 Key: MRM-629
>                 URL: http://jira.codehaus.org/browse/MRM-629
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.0
>         Environment: archiva deployed as a war on tomcat 5.5
>            Reporter: nicolas de loof
>            Priority: Minor
>             Fix For: 1.1
>
>
> Tryning to set a corporate POM fails with a NullPointerException
> The maven-shared-application configuration expect a configuration to exist as either org.apache.maven.shared.app.user or org.apache.maven.shared.app.base. The first one is declared in archvia application.xml as "config-forceCreate="true"", so it SHOULD have been created, but is absent from my ${user.home}/.m2
> This may be a plexus-registry-provider bug, or a commons-configuration bug.

-- 
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