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.
This bug was originally marked as duplicate of bug 157501, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 8.1 Beta (Build 201508041349) VM: Java HotSpot(TM) 64-Bit Server VM, 24.0-b56, Java(TM) SE Runtime Environment, 1.7.0_40-b43 OS: Linux User Comments: pandemonica: Trying to click on an error message in the compilation output console but the file was a generated file that may have changed size during compilation. Stacktrace: java.lang.IllegalArgumentException: Negative size at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:824) at org.netbeans.core.output2.FileMapStorage.getReadBuffer(FileMapStorage.java:365) at org.netbeans.core.output2.AbstractLines.getText(AbstractLines.java:150) at org.netbeans.core.output2.OutputDocument.getText(OutputDocument.java:220) at org.netbeans.core.output2.ExtPlainView.getText(ExtPlainView.java:185) at org.netbeans.core.output2.ExtPlainView.drawText(ExtPlainView.java:112)
Created attachment 155909 [details] stacktrace
FileChannel.size() returned 0 for the file with output data. It is very strange, as quite a lot of output has been already written to it. Didn't you clear the folder with temporary files while NetBeans IDE was running? Did you notice any other problems related to filesystem? Thank you.
Email response from the reporter: > No, neither of those. Thank you. Unfortunately, I don't know what could be wrong. Can you please provide any additional information? What were you doing, or what tasks were writing data to output window?