MRM-370

HomePage | RecentChanges | Preferences

Stack Trace

INFO | jvm 1 | 2007/05/25 23:02:05 | java.lang.NullPointerException
INFO | jvm 1 | 2007/05/25 23:02:05 | at java.util.regex.Matcher.getTextLength(Matcher.java:1127)
INFO | jvm 1 | 2007/05/25 23:02:05 | at java.util.regex.Matcher.reset(Matcher.java:284)
INFO | jvm 1 | 2007/05/25 23:02:05 | at java.util.regex.Matcher.<init>(Matcher.java:205)
INFO | jvm 1 | 2007/05/25 23:02:05 | at java.util.regex.Pattern.matcher(Pattern.java:879)
INFO | jvm 1 | 2007/05/25 23:02:05 | at org.apache.maven.archiva.common.utils.VersionUtil.getBaseVersion(VersionUtil.java:144)
INFO | jvm 1 | 2007/05/25 23:02:05 | at org.apache.maven.archiva.repository.layout.DefaultBidirectionalRepositoryLayout.toPath(DefaultBidirectionalRepositoryLayout.java:137)
INFO | jvm 1 | 2007/05/25 23:02:05 | at org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.fetchFromProxies(DefaultRepositoryProxyConnectors.java:181)
INFO | jvm 1 | 2007/05/25 23:02:05 | at org.apache.maven.archiva.web.repository.ProxiedDavServer.fetchContentFromProxies(ProxiedDavServer.java:177)
INFO | jvm 1 | 2007/05/25 23:02:05 | at org.apache.maven.archiva.web.repository.ProxiedDavServer.process(ProxiedDavServer.java:134)

Path

1. ProxiedDavServer.process(ProxiedDavServer.java:134)

fetchContentFromProxies( request ); //MRM-370
2. ProxiedDavServer.fetchContentFromProxies(ProxiedDavServer.java:177)
connectors.fetchFromProxies( managedRepository, versioned ); //MRM-370
3. DefaultRepositoryProxyConnectors.fetchFromProxies(DefaultRepositoryProxyConnectors.java:181)
String sourcePath = sourceLayout.toPath( metadata ); //MRM-370
4. DefaultBidirectionalRepositoryLayout.toPath(DefaultBidirectionalRepositoryLayout.java:137)
path.append( VersionUtil.getBaseVersion( reference.getVersion() ) ).append( PATH_SEPARATOR ); //MRM-370
5. VersionUtil.getBaseVersion(VersionUtil.java:144)
Matcher m = UNIQUE_SNAPSHOT_PATTERN.matcher( version ); //MRM-370

Test

See: MetadataTransferTest? - .testGetReleaseMetadataNotExpired?()

Need to test the situation where the maven-metadata.xml file exists in the remote repo and not the local repo.

in testGetMetadataNotPresent?, managedDefaultDir? comes from AbstractProxyTestCase? and is either src/test/repositories/managed or target/test-repository/managed. is org/apache/maven/test/dummy-artifact/1.0/maven-metadata.xml present there?


HomePage | RecentChanges | Preferences
This page is read-only | View other revisions
Last edited May 26, 2007 3:44 pm by WendySmoak (diff)
Search: