mbien opened a new pull request, #7586:
URL: https://github.com/apache/netbeans/pull/7586
When the last local maven repo scan didn't clean up properly, for example
when the JVM exits during scan, subsequent scans would throw
`java.io.IOException: Cannot create temporary directory`.
This has a fairly low probability since local index scans finish fast - saw
this during debugging.
exception:
```
java.io.IOException: Cannot create temporary directory:
/home/mbien/NetBeansProjects/netbeans/nbbuild/testuserdir/var/cache/tmp-local
at
org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.scan(NexusRepositoryIndexerImpl.java:813)
at
org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.indexLoadedRepo(NexusRepositoryIndexerImpl.java:616)
[catch] at
org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.lambda$spawnIndexLoadedRepo$8(NexusRepositoryIndexerImpl.java:714)
at
org.netbeans.modules.openide.util.DefaultMutexImplementation.writeAccess(DefaultMutexImplementation.java:229)
at org.openide.util.Mutex.writeAccess(Mutex.java:253)
at
org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.lambda$spawnIndexLoadedRepo$9(NexusRepositoryIndexerImpl.java:707)
at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1403)
at
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2018)
```
how to simulate:
create a `tmp-local` folder in your fresh cache folder, trigger initial
local repo indexing, e.g by adding a dependency to a maven project.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists