Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.0-alpha-1
-
None
-
None
Description
1) search for commons-dbcp
2) click on the first result which should be commons-dbcp 1.0 (URL http://localhost:9091/browse/commons-dbcp/commons-dbcp/1.0)
Error is:
org.apache.maven.archiva.database.ObjectNotFoundException: Unable to find Database Object [commons-dbcp:commons-dbcp:1.0] of type org.apache.maven.archiva.model.ArchivaProjectModel using no fetch-group
at org.apache.maven.archiva.database.jdo.JdoAccess.getObjectById(JdoAccess.java:435)
at org.apache.maven.archiva.database.jdo.JdoProjectModelDAO.getProjectModel(JdoProjectModelDAO.java:74)
at org.apache.maven.archiva.database.browsing.DefaultRepositoryBrowsing.selectVersion(DefaultRepositoryBrowsing.java:130)
at org.apache.maven.archiva.web.action.ShowArtifactAction.artifact(ShowArtifactAction.java:96)
Nested:
Caused by: javax.jdo.JDOObjectNotFoundException: No such database row
FailedObject:commons-dbcp:commons-dbcp:1.0
at org.jpox.store.rdbms.request.FetchRequest.execute(FetchRequest.java:194)
at org.jpox.store.rdbms.table.ClassTable.fetch(ClassTable.java:2552)
at org.jpox.store.StoreManager.fetch(StoreManager.java:941)
at org.jpox.state.StateManagerImpl.loadFieldsInFetchPlan(StateManagerImpl.java:1820)
at org.jpox.state.StateManagerImpl.validate(StateManagerImpl.java:4499)
at org.jpox.AbstractPersistenceManager.getObjectById(AbstractPersistenceManager.java:2710)
at org.jpox.AbstractPersistenceManager.getObjectById(AbstractPersistenceManager.java:2584)
at org.jpox.AbstractPersistenceManager.getObjectById(AbstractPersistenceManager.java:2564)
at org.apache.maven.archiva.database.jdo.JdoAccess.getObjectById(JdoAccess.java:425)
Note that the initial scan was still in progress - up to walk step 17 in commons-jelly so I believe dbcp was done.
I'm using a mostly-complete copy of central.
Attachments
Issue Links
- duplicates
-
MRM-376 Clicking an artifact in the Search Results page results to HTTP ERROR: 500
- Closed