You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Arnaud Heritier (JIRA)" <ji...@codehaus.org> on 2005/12/12 17:15:46 UTC
[jira] Commented: (MAVEN-1734) Provider
org.apache.xerces.jaxp.SAXParserFactoryImpl could not be instantiated:
java.lang.NullPointerException
[ http://jira.codehaus.org/browse/MAVEN-1734?page=comments#action_53281 ]
Arnaud Heritier commented on MAVEN-1734:
----------------------------------------
1) Don't you have maven 1.0.X in your PATH before the 1.1 ?
2) Did you remove your plugins cache directory ?
3) Are you using a plugin not bundled in maven ? xerces is not remove from the maven's core
> Provider org.apache.xerces.jaxp.SAXParserFactoryImpl could not be instantiated: java.lang.NullPointerException
> --------------------------------------------------------------------------------------------------------------
>
> Key: MAVEN-1734
> URL: http://jira.codehaus.org/browse/MAVEN-1734
> Project: Maven
> Type: Bug
> Versions: 1.1-beta-2
> Environment: MacOSX 10.4.3
> java version "1.5.0_05"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-83)
> Java HotSpot(TM) Client VM (build 1.5.0_05-48, mixed mode, sharing)
> Reporter: Graham Leggett
>
>
> Hi,
> After upgrading maven from v1.0.2 to v1.1-beta2, on startup, regardless of what goal is used, the following error is thrown:
> Graham-Leggetts-Computer:~/src/standard/rfs/rfs-web minfrin$ maven -e war
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.1-beta-2
> plugin maven-cruisecontrol-plugin-1.6 is cached (dynatag dep) but no longer present
> Cache invalidated due to out of date plugins
> javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl could not be instantiated: java.lang.NullPointerException
> at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:113)
> at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:152)
> at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:177)
> at org.apache.maven.plugin.PluginManager.loadUncachedPlugins(PluginManager.java:238)
> at org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:303)
> at org.apache.maven.MavenSession.initializePluginManager(MavenSession.java:204)
> at org.apache.maven.MavenSession.initialize(MavenSession.java:171)
> at org.apache.maven.cli.App.doMain(App.java:498)
> at org.apache.maven.cli.App.main(App.java:1258)
> 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:585)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
> You have encountered an unknown error running Maven.
> Please help us to correct this problem by following these simple steps:
> - read the Maven FAQ at http://maven.apache.org/faq.html
> - run the same command again with the '-e' parameter, eg 'maven -e jar'
> - search the maven-user archives for the error at http://www.mail-archive.com/users@maven.apache.org
> - post the output of maven -e to JIRA at ???issueTrackingUrl??? (you must sign up first)
> - run 'maven --info' and post the output as the environment to the bug above
> Total time : 1 seconds
> Finished at : Monday, December 12, 2005 4:42:08 PM SAST
> Regards,
> Graham
> --
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org