Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-520

NPE in maven2 support in site generation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • maven-plugin
    • None
    • Platform: All, OS: All

      1.104 is dying in site generation (hudson.maven.agent.PluginManagerInterceptor)

      started
      $ java -Xmx1024m -cp
      E:\XAMPP\xampp\tomcat\webapps\hudson\WEB-INF\lib\maven-agent-1.104.jar;c:\maven\core\boot\classworlds-1.1.jar
      hudson.maven.agent.Main c:\maven
      E:\XAMPP\xampp\tomcat\webapps\hudson\WEB-INF\lib\remoting-1.104.jar
      E:\XAMPP\xampp\tomcat\webapps\hudson\WEB-INF\lib\maven-interceptor-1.104.jar
      channel started
      [INFO] Scanning for projects...
      [INFO] Searching repository for plugin with prefix: 'site'.
      WAGON_VERSION: 1.0-beta-2
      [INFO] ----------------------------------------------------------------------------
      [INFO] Building Top Level Knowledge Engineering System Build
      [INFO] task-segment: [site, site:deploy]
      [INFO] ----------------------------------------------------------------------------
      [INFO] Setting property: classpath.resource.loader.class =>
      'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
      [INFO] Setting property: velocimacro.messages.on => 'false'.
      [INFO] Setting property: resource.loader => 'classpath'.
      [INFO] Setting property: resource.manager.logwhenfound => 'false'.
      [INFO] **************************************************************
      [INFO] Starting Jakarta Velocity v1.4
      [INFO] RuntimeInstance initializing.
      [INFO] Default Properties File:
      org\apache\velocity\runtime\defaults\velocity.properties
      [INFO] Default ResourceManager initializing. (class
      org.apache.velocity.runtime.resource.ResourceManagerImpl)
      [INFO] Resource Loader Instantiated:
      org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
      [INFO] ClasspathResourceLoader : initialization starting.
      [INFO] ClasspathResourceLoader : initialization complete.
      [INFO] ResourceCache : initialized. (class
      org.apache.velocity.runtime.resource.ResourceCacheImpl)
      [INFO] Default ResourceManager initialization complete.
      [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal
      [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
      [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
      [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include
      [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
      [INFO] Created: 20 parsers.
      [INFO] Velocimacro : initialization starting.
      [INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm
      [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any
      resource loader.
      [INFO] Velocimacro : error using VM library template VM_global_library.vm :
      org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource
      'VM_global_library.vm'
      [INFO] Velocimacro : VM library template macro registration complete.
      [INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates
      [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT
      replace previous VM definitions
      [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be
      global in scope if allowed.
      [INFO] Velocimacro : initialization complete.
      [INFO] Velocity successfully started.
      [HUDSON] Archiving C:\Documents and Settings\tomcat\.hudson\jobs\KES
      Documentation Builder\workspace\trunk\pom.xml
      [INFO] ------------------------------------------------------------------------
      [ERROR] FATAL ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] null
      [INFO] ------------------------------------------------------------------------
      [INFO] Trace
      java.lang.NullPointerException
      at
      hudson.maven.agent.PluginManagerInterceptor$1$1.wrap(PluginManagerInterceptor.java:80)
      at
      hudson.maven.agent.PluginManagerInterceptor$1$1.lookup(PluginManagerInterceptor.java:64)
      at
      org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPluginManager.java:1049)
      at
      org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:584)
      at
      org.apache.maven.plugin.DefaultPluginManager.getReport(DefaultPluginManager.java:470)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.getReports(DefaultLifecycleExecutor.java:683)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.getReports(DefaultLifecycleExecutor.java:642)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:517)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
      at
      org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:35)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      at hudson.maven.agent.Main.launch(Main.java:70)
      at hudson.maven.MavenBuild$Builder.call(MavenBuild.java:171)
      at hudson.maven.MavenBuild$Builder.call(MavenBuild.java:139)
      at hudson.remoting.UserRequest.perform(UserRequest.java:57)
      at hudson.remoting.UserRequest.perform(UserRequest.java:22)
      at hudson.remoting.Request$2.run(Request.java:178)
      at
      java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
      at java.lang.Thread.run(Thread.java:619)
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 4 seconds
      [INFO] Finished at: Sun Apr 29 13:56:37 BST 2007
      [INFO] Final Memory: 8M/15M
      [INFO] ------------------------------------------------------------------------
      finished: FAILURE

            Unassigned Unassigned
            magnayn magnayn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: