You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Suresh (JIRA)" <ji...@codehaus.org> on 2008/10/24 21:37:19 UTC

[jira] Created: (MECLIPSE-497) Null ptr exception displayed when settings.xml file is selected. exception trace below.

Null ptr exception displayed when settings.xml file is selected. exception trace below. 
----------------------------------------------------------------------------------------

                 Key: MECLIPSE-497
                 URL: http://jira.codehaus.org/browse/MECLIPSE-497
             Project: Maven 2.x Eclipse Plugin
          Issue Type: Bug
          Components: Core : Dependencies resolution and build path
         Environment: Eclipse 3.3
            Reporter: Suresh



- select the attached settings.xml file in
Windows->preferences->Maven->installatons window
- index update begins. After a few minutes, a 1-line exception is displayed:
An internal error occurred during: "Updating indexes".
java.lang.NullPointerException

Error View window displays the following:
java.lang.NullPointerException
at
org.sonatype.nexus.index.context.DefaultIndexingContext.deleteIndexFiles(DefaultIndexingContext.java:262)
at
org.sonatype.nexus.index.context.DefaultIndexingContext.replace(DefaultIndexingContext.java:418)
at
org.sonatype.nexus.index.updater.DefaultIndexUpdater$1.invoke(DefaultIndexUpdater.java:95)
at
org.sonatype.nexus.index.updater.DefaultIndexUpdater.run(DefaultIndexUpdater.java:169)
at
org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:63)
at
org.maven.ide.eclipse.internal.index.NexusIndexManager.fetchAndUpdateIndex(NexusIndexManager.java:489)
at
org.maven.ide.eclipse.index.IndexManager$UpdateCommand.run(IndexManager.java:415)
at
org.maven.ide.eclipse.index.IndexManager$IndexUpdaterJob.run(IndexManager.java:532)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


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