Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-2039

NPE in data management when a profile is active but not defined

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.3 (Beta)
    • 1.3.3 (Beta)
    • Data Management
    • None
    • Continuum 1.2.x branch r734910

    Description

      imbrium:tmp wsmoak$ java -Xmx512m -jar data-management-cli-1.2.4-SNAPSHOT-r734910-app.jar -buildsJdbcUrl jdbc:derby:/tmp/continuum/database -mode EXPORT -directory backups 
      0 [main] INFO org.apache.maven.continuum.management.DataManagementCli  - Processing Continuum database...
      Exception in thread "main" java.lang.NullPointerException
      	at org.apache.maven.continuum.management.DataManagementCli.downloadArtifact(DataManagementCli.java:364)
      	at org.apache.maven.continuum.management.DataManagementCli.processDatabase(DataManagementCli.java:198)
      	at org.apache.maven.continuum.management.DataManagementCli.main(DataManagementCli.java:170)
      

      Around line 364 of DataManagementCli, it assumes that any active profile has actually been defined.

      If I move my settings.xml out of the way and let it work against central, then it proceeds.

      Attachments

        1. CONTINUUM-2039.patch
          2 kB
          Jose Morales Martinez

        Activity

          People

            jomm Jose Morales Martinez
            wsmoak Wendy Smoak
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: