Uploaded image for project: 'Archiva (Retired)'
  1. Archiva (Retired)
  2. MRM-380

When trying to look at project with empty groupId

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-alpha-1
    • 1.0-alpha-1
    • browser
    • None

    Description

      When going to look at a project which has an empty groupId - see maven-rar-plugin as an example.

      Therefore if you goto - http://localhost:9091/browse/org.apache.maven.plugins/maven-rar-plugin/2.2

      You end up with :

      HTTP ERROR: 500

      Field org.apache.maven.archiva.model.ArchivaProjectModel.groupId is null, but is mandatory as its described in the jdo metadata

      RequestURI=/browse/org.apache.maven.plugins/maven-rar-plugin/2.2
      Caused by:

      javax.jdo.JDOUserException: Field org.apache.maven.archiva.model.ArchivaProjectModel.groupId is null, but is mandatory as its described in the jdo metadata
      at org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeStringField(ParameterSetter.java:120)
      at org.jpox.state.StateManagerImpl.providedStringField(StateManagerImpl.java:2757)
      at org.apache.maven.archiva.model.ArchivaProjectModel.jdoProvideField(ArchivaProjectModel.java)
      at org.apache.maven.archiva.model.ArchivaProjectModel.jdoProvideFields(ArchivaProjectModel.java)
      at org.jpox.state.StateManagerImpl.provideFields(StateManagerImpl.java:3115)
      at org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:221)
      at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2519)

      Attachments

        Activity

          People

            joakime Joakim Erdfelt
            pdodds Philip James Dodds
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: