maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason van Zyl (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (MNG-3761) Error for invalid settings file should indicate the location of the settings file
Date Wed, 30 Dec 2009 00:18:55 GMT

     [ http://jira.codehaus.org/browse/MNG-3761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jason van Zyl closed MNG-3761.
------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.2.2)

> Error for invalid settings file should indicate the location of the settings file
> ---------------------------------------------------------------------------------
>
>                 Key: MNG-3761
>                 URL: http://jira.codehaus.org/browse/MNG-3761
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Command Line
>    Affects Versions: 2.0.7
>         Environment: Windows xp
>            Reporter: Dharanipathi
>            Priority: Trivial
>
> When I tried to work with Maven, I'm getting the error message-  "Error reading settings.xml:
Error reading settings file". 
> The following is the error trace for the same. Please debug and gimme the solution.
> H:\>mvn -e
> + Error stacktraces are turned on.
> Error reading settings.xml: Error reading settings file
> Error stacktrace:
> org.apache.maven.SettingsConfigurationException: Error reading settings file
>         at org.apache.maven.cli.MavenCli.buildSettings(MavenCli.java:328)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:184)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.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)
> Caused by: java.io.EOFException: input contained no data
>         at org.codehaus.plexus.util.xml.pull.MXParser.fillBuf(MXParser.java:2979
> )
>         at org.codehaus.plexus.util.xml.pull.MXParser.more(MXParser.java:3022)
>         at org.codehaus.plexus.util.xml.pull.MXParser.parseProlog(MXParser.java:
> 1407)
>         at org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:139
> 2)
>         at org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1090)
>         at org.apache.maven.settings.io.xpp3.SettingsXpp3Reader.read(SettingsXpp
> 3Reader.java:1634)
>         at org.apache.maven.settings.io.xpp3.SettingsXpp3Reader.read(SettingsXpp
> 3Reader.java:1648)
>         at org.apache.maven.settings.DefaultMavenSettingsBuilder.readSettings(De
> faultMavenSettingsBuilder.java:121)
>         at org.apache.maven.settings.DefaultMavenSettingsBuilder.buildSettings(D
> efaultMavenSettingsBuilder.java:162)
>         at org.apache.maven.settings.DefaultMavenSettingsBuilder.buildSettings(D
> efaultMavenSettingsBuilder.java:153)
>         at org.apache.maven.settings.DefaultMavenSettingsBuilder.buildSettings(D
> efaultMavenSettingsBuilder.java:141)
>         at org.apache.maven.cli.MavenCli.buildSettings(MavenCli.java:323)
>         ... 9 more

-- 
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

        

Mime
View raw message