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.
The error occurs in tests if they use internal terminal: SEVERE [org.openide.util.Exceptions] java.lang.InterruptedException at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(Unknown Source) at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source) at java.util.concurrent.FutureTask.get(Unknown Source) at org.netbeans.modules.terminal.ioprovider.Task$ValueTask.get(Task.java:102) at org.netbeans.modules.terminal.ioprovider.TerminalInputOutput.getErr(TerminalInputOutput.java:678) at org.netbeans.modules.nativeexecution.api.execution.NativeExecutionService$1.call(NativeExecutionService.java:145) at org.netbeans.modules.nativeexecution.api.execution.NativeExecutionService$1.call(NativeExecutionService.java:123) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) [catch] at org.netbeans.modules.nativeexecution.support.NativeTaskExecutorService$2.run(NativeTaskExecutorService.java:79) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1415) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1954)
INFO [nativeexecution.support.logger]: Error occurred: java.lang.OutOfMemoryError: Java heap space
INFO [nativeexecution.support.logger]: Error occurred: java.lang.OutOfMemoryError: Java heap space SEVERE [org.openide.util.Exceptions] java.lang.InterruptedException at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(Unknown Source) at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source) at java.util.concurrent.FutureTask.get(Unknown Source) at org.netbeans.modules.terminal.ioprovider.Task$ValueTask.get(Task.java:102) at org.netbeans.modules.terminal.ioprovider.TerminalInputOutput.getErr(TerminalInputOutput.java:678) at org.netbeans.modules.nativeexecution.api.execution.NativeExecutionService$1.call(NativeExecutionService.java:145) at org.netbeans.modules.nativeexecution.api.execution.NativeExecutionService$1.call(NativeExecutionService.java:123) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) [catch] at org.netbeans.modules.nativeexecution.support.NativeTaskExecutorService$2.run(NativeTaskExecutorService.java:79) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1415) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1954)
I will look into this. The problem seems to be in a native part of the pty support (linux-specific). and... is it really a P2?
This exception appears on my linux machine if I create Welcome project, select "Internal Terminal" mode and launch project
cause is known. will commit fix shortly
The problem was in issue 186245. So the input was closed before an information about pty was put into the stream. Another bug was that this situation was not properly handled on the java side. the later is fixed with: http://hg.netbeans.org/cnd-main/rev/38baa2fb53a0