maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Frisaye" <x.fris...@t4hr.com>
Subject RE: Site plugin problem - NullPointerException
Date Thu, 12 Jan 2006 14:30:52 GMT
Alright,

This problem is known, that's the most important.
We will use it when this issue will be fixed because it is not important for us at the moment.

Thanks all for replying.

Regards,

Xavier

-----Original Message-----
From: Paul Hepworth [mailto:Paul.hepworth@detica.com]
Sent: jeudi 12 janvier 2006 15:21
To: Maven Users List
Subject: RE: Site plugin problem - NullPointerException


This is a known problem and I encountered it just yesterday too.

The problem is with system scoped dependencies. There is a fix in svn so
you can compile the latest beta-4-SNAPSHOT which will fix the problem.

Paul 

-----Original Message-----
From: Xavier Frisaye [mailto:x.frisaye@t4hr.com] 
Sent: 12 January 2006 14:17
To: Maven Users List
Subject: Site plugin problem - NullPointerException

Hi all,

I'm encountering a problem when i use maven (2.0.1) site in our project
(see logs below).
This is not critical at all for us but i wonder if this is a known
issue.
I know that the site plugin is beta stage but it seems the exception
occurs in maven core code.

Thanks for replying,

Regards,

________________________________________________
Xavier Frisaye
Programmeur
T4HR

[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.
[INFO] [site:site]
[INFO] Generate "Continuous Integration" report.
[ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2
got 0 [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1
got 0 [INFO] Generate "Dependencies" report.
[INFO]
------------------------------------------------------------------------
----
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
----
[INFO] null
[INFO]
------------------------------------------------------------------------
----
[INFO] Trace
java.lang.NullPointerException
 at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(Defau
ltArtifactResolver.java:82)
 at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(Defau
ltArtifactResolver.java:63)
 at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromReposit
ory(DefaultMavenProjectBuilder.java:387)
 at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(
DefaultMavenProjectBuilder.java:352)
 at
org.apache.maven.report.projectinfo.DependenciesReport$DependenciesRende
rer.getMavenProjectFromRepository(DependenciesReport.java:362)
 at
org.apache.maven.report.projectinfo.DependenciesReport$DependenciesRende
rer.renderBody(DependenciesReport.java:286)
 at
org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMa
venReportRenderer.java:65)
 at
org.apache.maven.report.projectinfo.DependenciesReport.executeReport(Dep
endenciesReport.java:157)
 at
org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenRep
ort.java:98)
 at
org.apache.maven.plugins.site.SiteMojo.generateReportsPages(SiteMojo.jav
a:802)
 at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:301)
 at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:432)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:530)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
ycle(DefaultLifecycleExecutor.java:472)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:451)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:303)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:270)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:139)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
 at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
 at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
 at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org




This message should be regarded as confidential. If you have received this email in error
please notify the sender and destroy it immediately.
Statements of intent shall only become binding when confirmed in hard copy by an authorised
signatory.  The contents of this email may relate to dealings with other companies within
the Detica Group plc group of companies.

Detica Limited is registered in England under No: 1337451.

Registered offices: Surrey Research Park, Guildford, Surrey, GU2 7YP, England.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message