maven pom.xml build error

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

maven pom.xml build error

Josh Joy-2
Hi,

Was wondering if someone could help me out the following error?
Searching, I see several bugs related to this, though I'm unable to
resolve it.

So far I've
1) Cleaned out my Tomcat temp and work directories
2) Verified my Hudson configuration is pointing to the proper maven 2
installation

https://hudson.dev.java.net/issues/show_bug.cgi?id=3971


Hudson v1.313
Tomcat 6.20
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Server VM (build 11.3-b02, mixed mode)

ERROR: Processing failed due to a bug in the code. Please report this to
[hidden email]
java.lang.IllegalArgumentException: id is null
        at org.apache.commons.httpclient.protocol.Protocol.getProtocol(Protocol.java:111)
        at
org.apache.commons.httpclient.HostConfiguration.setHost(HostConfiguration.java:253)
        at
org.apache.commons.httpclient.HostConfiguration.setHost(HostConfiguration.java:315)
        at org.apache.webdav.lib.WebdavSession.getSessionInstance(WebdavSession.java:149)
        at org.apache.webdav.lib.WebdavSession.getSessionInstance(WebdavSession.java:127)
        at org.apache.webdav.lib.WebdavResource.setClient(WebdavResource.java:1273)
        at org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1298)
        at org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1320)
        at org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1408)
        at org.apache.webdav.lib.WebdavResource.<init>(WebdavResource.java:290)
        at
org.apache.maven.wagon.providers.webdav.CorrectedWebdavResource.<init>(CorrectedWebdavResource.java:54)
        at
org.apache.maven.wagon.providers.webdav.WebDavWagon.openConnection(WebDavWagon.java:146)
        at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:143)
        at
org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:435)
        at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifactMetadata(DefaultWagonManager.java:370)
        at
org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolve(DefaultRepositoryMetadataManager.java:97)
        at
org.apache.maven.artifact.transform.AbstractVersionTransformation.resolveVersion(AbstractVersionTransformation.java:65)
        at
org.apache.maven.artifact.transform.SnapshotTransformation.transformForResolve(SnapshotTransformation.java:63)
        at
org.apache.maven.artifact.transform.DefaultArtifactTransformationManager.transformForResolve(DefaultArtifactTransformationManager.java:57)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:129)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:74)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:556)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1366)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:821)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:506)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:215)
        at hudson.maven.MavenEmbedder.readProject(MavenEmbedder.java:323)
        at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:735)
        at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:681)
        at hudson.FilePath.act(FilePath.java:649)
        at hudson.FilePath.act(FilePath.java:633)
        at
hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:431)
        at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:315)
        at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:271)
        at hudson.model.Run.run(Run.java:938)
        at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:234)
        at hudson.model.ResourceController.execute(ResourceController.java:93)
        at hudson.model.Executor.run(Executor.java:118)
project=hudson.maven.MavenModuleSet@1bdea60[build-my-project]
project.getModules()=[]
project.getRootModule()=null
FATAL: id is null
java.lang.IllegalArgumentException: id is null
        at org.apache.commons.httpclient.protocol.Protocol.getProtocol(Protocol.java:111)
        at
org.apache.commons.httpclient.HostConfiguration.setHost(HostConfiguration.java:253)
        at
org.apache.commons.httpclient.HostConfiguration.setHost(HostConfiguration.java:315)
        at org.apache.webdav.lib.WebdavSession.getSessionInstance(WebdavSession.java:149)
        at org.apache.webdav.lib.WebdavSession.getSessionInstance(WebdavSession.java:127)
        at org.apache.webdav.lib.WebdavResource.setClient(WebdavResource.java:1273)
        at org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1298)
        at org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1320)
        at org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1408)
        at org.apache.webdav.lib.WebdavResource.<init>(WebdavResource.java:290)
        at
org.apache.maven.wagon.providers.webdav.CorrectedWebdavResource.<init>(CorrectedWebdavResource.java:54)
        at
org.apache.maven.wagon.providers.webdav.WebDavWagon.openConnection(WebDavWagon.java:146)
        at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:143)
        at
org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:435)
        at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifactMetadata(DefaultWagonManager.java:370)
        at
org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolve(DefaultRepositoryMetadataManager.java:97)
        at
org.apache.maven.artifact.transform.AbstractVersionTransformation.resolveVersion(AbstractVersionTransformation.java:65)
        at
org.apache.maven.artifact.transform.SnapshotTransformation.transformForResolve(SnapshotTransformation.java:63)
        at
org.apache.maven.artifact.transform.DefaultArtifactTransformationManager.transformForResolve(DefaultArtifactTransformationManager.java:57)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:129)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:74)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:556)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1366)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:821)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:506)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:215)
        at hudson.maven.MavenEmbedder.readProject(MavenEmbedder.java:323)
        at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:735)
        at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:681)
        at hudson.FilePath.act(FilePath.java:649)
        at hudson.FilePath.act(FilePath.java:633)
        at
hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:431)
        at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:315)
        at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:271)
        at hudson.model.Run.run(Run.java:938)
        at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:234)
        at hudson.model.ResourceController.execute(ResourceController.java:93)
        at hudson.model.Executor.run(Executor.java:118)


Thanks,
Josh

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]