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.
Many new regressions. Below are some of them. Before closing this IZ, please verify I/O sample works on all supported platforms (OpenSolaris/Solaris/Linux/Mac/Windows) with SunStudio and GNU sets and in both external and internal output window. I know it is a lot of testing but it is easy to oversee a problem if not testing all combinations. 1) On Ubuntu Linux: Using internal output window: ejava.lang.NullPointerException at org.netbeans.modules.dlight.perfan.storage.impl.Erprint$FilteredInputProcessor.reset(Erprint.java:296) at org.netbeans.modules.dlight.perfan.storage.impl.Erprint.stop(Erprint.java:129) at org.netbeans.modules.dlight.perfan.spi.MonitorsUpdateService.stop(MonitorsUpdateService.java:101) at org.netbeans.modules.dlight.perfan.spi.SunStudioDataCollector.targetFinished(SunStudioDataCollector.java:447) at org.netbeans.modules.dlight.perfan.spi.SunStudioDataCollector.targetStateChanged(SunStudioDataCollector.java:225) at org.netbeans.modules.dlight.api.execution.DLightTarget$1.run(DLightTarget.java:136) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1005) 2) On Mac External output window doesn't show. No obvious errors. 3) On Mac: I/O sample doesn't work in internal output window. This is what it shows (with no typing): Type a string (or 'q' when done) >>> Read: exit Type a string (or 'q' when done) >>> Read: $? Type a string (or 'q' when done) >>>
http://hg.netbeans.org/cnd-main/rev/67eceaf17363 - part fix. Fixes problems with not found env file in case of ext. terminal usage...
http://hg.netbeans.org/cnd-main/rev/3e82cc3206d3 - part fix. Fixes regressions on Windows.
http://hg.netbeans.org/cnd-main/rev/a8b0885b395a - part fix. Fixes NPE in erprint.
I have verified on Mac and I/O works fine (Quote) if internal InputOutput is used. External terminal doesn't work - it just cannot find xterm I think it is not P1 anymore and can be downgraded to at least P2...
http://hg.netbeans.org/cnd-main/rev/baad9bfe6be5 and http://hg.netbeans.org/cnd-main/rev/5a99b3052807 fix several minor MacOS problems
Cannot get output to work on Windows Vista. External terminal just flashes and disappears and no output in internal output window. You basically cannot run apps on Windows Vista. I think this is a P1.
agree with thp
The following exception appears on Solaris 10 while running any application using external terminal: java.io.InterruptedIOException at java.io.FileOutputStream.writeBytes(Native Method) at java.io.FileOutputStream.write(FileOutputStream.java:260) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123) at org.netbeans.modules.nativeexecution.LocalNativeProcess.<init>(LocalNativeProcess.java:160) at org.netbeans.modules.nativeexecution.api.NativeProcessBuilder.call(NativeProcessBuilder.java:140) at org.netbeans.modules.nativeexecution.api.NativeProcessBuilder.call(NativeProcessBuilder.java:70) at org.netbeans.api.extexecution.ExecutionService$3.call(ExecutionService.java:254) at org.netbeans.api.extexecution.ExecutionService$3.call(ExecutionService.java:230) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [catch] at java.lang.Thread.run(Thread.java:619)
Here is the exception on Mac mentioned by Thomas: java.io.IOException: no xterm in /usr/bin /bin /usr/sbin /sbin: not found at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.<init>(UNIXProcess.java:52) at java.lang.ProcessImpl.start(ProcessImpl.java:91) at java.lang.ProcessBuilder.start(ProcessBuilder.java:451) at org.netbeans.modules.nativeexecution.TerminalLocalNativeProcess.<init>(TerminalLocalNativeProcess.java: 173) at org.netbeans.modules.nativeexecution.api.NativeProcessBuilder.call(NativeProcessBuilder.java:134) at org.netbeans.modules.nativeexecution.api.NativeProcessBuilder.call(NativeProcessBuilder.java:70) [catch] at org.netbeans.api.extexecution.ExecutionService$3.call(ExecutionService.java:254) at org.netbeans.api.extexecution.ExecutionService$3.call(ExecutionService.java:230) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:613)
Regarding exception on Mac... The problem was because of 'which' utility on this particular version of MacOS (at least on the laptop I've performed my testing which worked as expected)... And problem with this one is that it's exit code is always 0 (SUCCESS) disregarding the existence or absence of xterm in user's PATH.. As I was looking for xterm using command: sh -c "which xterm || ls /usr/bin/xterm || ls /usr/X11R6/bin/xterm" 2>/dev/null on that Mac I received "no xterm found in .... " from which ;( fixed with http://hg.netbeans.org/cnd-main/rev/3e3d8229beb6
Fixes have been tested on all platforms. No showstoppers found (both I/O, ext terminal works on Solaris, Windows, Linux, MacOS). Fixed also in release67_m3 http://hg.netbeans.org/release67_m3/rev/3bd9124c47a6 http://hg.netbeans.org/release67_m3/rev/9cef0278eb20
the fix verified on all platforms