This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
[ JDK VERSION : 1.7.0_45 ] STEPS: * Clear the Maven cache * Update Maven index ACTUAL: An updated cache EXPECTED: The hangs itself. Here is what it writes in the console. The IDE is totally unresponsive. I'll attach a heap dump. INFO [org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl]: could not (re-)index local org.apache.lucene.store.NoSuchDirectoryException: directory '/Users/kim/Library/Caches/NetBeans/dev/mavenindex/local' does not exist at org.apache.lucene.store.FSDirectory.listAll(FSDirectory.java:218) at org.apache.lucene.store.FSDirectory.listAll(FSDirectory.java:241) at org.apache.maven.index.context.DefaultIndexingContext.deleteIndexFiles(DefaultIn dexingContext.java:333) at org.apache.maven.index.context.DefaultIndexingContext.replace(DefaultIndexingCon text.java:570) at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.scan(NexusReposito ryIndexerImpl.java:647) Caused: java.io.IOException: Error scanning context local at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.scan(NexusReposito ryIndexerImpl.java:651) at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.indexLoadedRepo(Ne xusRepositoryIndexerImpl.java:514) at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.access$200(NexusRe positoryIndexerImpl.java:118) [catch] at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl$3.run(NexusReposit oryIndexerImpl.java:565) at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl$3.run(NexusReposit oryIndexerImpl.java:558) at org.openide.util.Mutex.writeAccess(Mutex.java:404) at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.indexRepo(NexusRep ositoryIndexerImpl.java:558) at org.netbeans.modules.maven.indexer.api.RepositoryIndexer.indexRepo(RepositoryInd exer.java:58) at org.netbeans.modules.maven.options.SettingsPanel$12.run(SettingsPanel.java:718) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) WARNING [org.netbeans.ProxyClassLoader]: Will not load class org.apache.lucene.store.FSDirectory arbitrarily from one of ModuleCL@5773b097[org.netbeans.libs.lucene] and ModuleCL@36eec618[org.netbeans.modules.maven.indexer] starting from SystemClassLoader[494 modules]; see http://wiki.netbeans.org/DevFaqModuleCCE
(In reply to kimsp from comment #0) > [ JDK VERSION : 1.7.0_45 ] > > > > STEPS: > * Clear the Maven cache > * Update Maven index > > ACTUAL: > An updated cache > > EXPECTED: > The hangs itself. > when exactly did you delete the cache directory? While the IDE was running? The only safe way is doing it while the IDE is not running. Please provide a thread dump, not a heap dump. a possible cause of the perceived hang could be the immense number of IO operations done when scanning the local repository.
please reopen with the thread dump attached