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.

Bug 256841

Summary: Maven-Index: java.io.IOException: There is not enough space on the disk
Product: projects Reporter: _ gtzabari <gtzabari>
Component: MavenAssignee: Tomas Stupka <tstupka>
Status: NEW ---    
Severity: normal CC: fleka, markiewb, martinj, rafaelcarlos
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 219498
Attachments: stacktrace

Description _ gtzabari 2015-11-28 01:27:50 UTC
Build: NetBeans IDE Dev (Build 201511160002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.66-b17, Java(TM) SE Runtime Environment, 1.8.0_66-b17
OS: Windows 10

User Comments:
GUEST: I am working on windows 7 and moved my temp dirs to a ram disk. Netbeans now tries to download and unpack it there but half way through the disk space runs out. Instead of asking for a different folder, it simply throws an error (IOException) and tries to do the same thing again (and again, ...) which obviously does not work.
It would be great if there was some setting to be able to specify the folder for the unpacking of the index.

gtzabari: No idea what caused exception to be thrown but disk has a lot of free space (17GB on one drive, 1TB on another).

GUEST: Updating Maven Central Repo

GUEST: error after reinstalling java and netbeans

GUEST: updating maven repos

martinj: I'd previously successfully installed a Maven project on Netbeans following a tutorial that used the Windows command prompt. I was trying to do another under my own steam. I created a new project maven/'java application and created a new Java class file under source packages. At this point imports in the class were being flagged as errors and I was expecting to have to add libraries from Masven Central. But when I came to look for my libraries under services/Maven repositories/Central repository I saw only a No result, processing index message and noticed that the activity box in the "system tray" at the bottom of the screen was cycling gently through "Transferring Maven rep  ind" which took it up to about 75% full then back to "Unpacking index for Central Repository". 

So it's badly broken and I'd appreciate advice on what to do next

GUEST: j




Stacktrace: 
java.io.IOException: There is not enough space on the disk
   at java.io.RandomAccessFile.writeBytes(RandomAccessFile.java:0)
   at java.io.RandomAccessFile.write(RandomAccessFile.java:525)
   at org.apache.lucene.store.FSDirectory$FSIndexOutput.flushBuffer(FSDirectory.java:448)
   at org.apache.lucene.store.BufferedIndexOutput.flushBuffer(BufferedIndexOutput.java:99)
   at org.apache.lucene.store.BufferedIndexOutput.flush(BufferedIndexOutput.java:88)
   at org.apache.lucene.store.BufferedIndexOutput.close(BufferedIndexOutput.java:113)
Comment 1 _ gtzabari 2015-11-28 01:27:52 UTC
Created attachment 157534 [details]
stacktrace