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 181905 - java.util.MissingResourceException: bin/nativeexecution/Windows-x86/pty_open
Summary: java.util.MissingResourceException: bin/nativeexecution/Windows-x86/pty_open
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: execution (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P2 normal (vote)
Assignee: Andrew Krasny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-12 05:23 UTC by Alexander Pepin
Modified: 2010-03-16 17:53 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 166314


Attachments
stacktrace (1.37 KB, text/plain)
2010-03-12 05:24 UTC, Alexander Pepin
Details
stacktrace (1.37 KB, text/plain)
2010-03-16 17:05 UTC, Alexey Vladykin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pepin 2010-03-12 05:23:58 UTC
Build: NetBeans IDE Dev (Build 201003110200)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows Vista

Stacktrace: 
java.util.MissingResourceException: bin/nativeexecution/Windows-x86/pty_open
   at org.netbeans.modules.nativeexecution.support.HelperUtility.getLocalFileLocationFor(HelperUtility.java:123)
   at org.netbeans.modules.nativeexecution.support.HelperUtility.getPath(HelperUtility.java:86)
   at org.netbeans.modules.nativeexecution.pty.PtyCreatorImpl.allocate(PtyCreatorImpl.java:71)
   at org.netbeans.modules.nativeexecution.pty.PtyCreatorImpl.allocate(PtyCreatorImpl.java:62)
   at org.netbeans.modules.nativeexecution.api.pty.PtySupport.allocate(PtySupport.java:147)
   at org.netbeans.modules.nativeexecution.PtyNativeProcess.<init>(PtyNativeProcess.java:72)
Comment 1 Alexander Pepin 2010-03-12 05:24:04 UTC
Created attachment 95080 [details]
stacktrace
Comment 2 Alexander Pepin 2010-03-12 05:29:21 UTC
Steps to reproduce (on Windows):
- call Window->Output->Terminal
Comment 3 Alexander Pepin 2010-03-12 05:30:50 UTC
if a user tries to cal remote terminal from Windows then (s)he gets:
java.util.MissingResourceException: bin/nativeexecution/SunOS-sparc_64/pty_open
	at org.netbeans.modules.nativeexecution.support.HelperUtility.getLocalFileLocationFor(HelperUtility.java:123)
	at org.netbeans.modules.nativeexecution.support.HelperUtility.getPath(HelperUtility.java:86)
Caused: java.io.IOException
	at org.netbeans.modules.nativeexecution.support.HelperUtility.getPath(HelperUtility.java:105)
	at org.netbeans.modules.nativeexecution.pty.PtyCreatorImpl.allocate(PtyCreatorImpl.java:71)
	at org.netbeans.modules.nativeexecution.pty.PtyCreatorImpl.allocate(PtyCreatorImpl.java:62)
	at org.netbeans.modules.nativeexecution.api.pty.PtySupport.allocate(PtySupport.java:147)
	at org.netbeans.modules.nativeexecution.PtyNativeProcess.<init>(PtyNativeProcess.java:72)
	at org.netbeans.modules.nativeexecution.api.NativeProcessBuilder.call(NativeProcessBuilder.java:171)
	at org.netbeans.modules.nativeexecution.api.execution.NativeExecutionService$1.call(NativeExecutionService.java:105)
	at org.netbeans.modules.nativeexecution.api.execution.NativeExecutionService$1.call(NativeExecutionService.java:100)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1356)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1894)
Comment 4 Maria Tishkova 2010-03-12 07:48:07 UTC
move to execution
Comment 5 Andrew Krasny 2010-03-16 16:58:24 UTC
Will switch to Output Window in case of local windows environment until local pty_open implementation is not available for Windows platform. 

Will file a separate IZ for this.
Comment 6 Alexey Vladykin 2010-03-16 17:05:57 UTC
Created attachment 95250 [details]
stacktrace

Ran a qt project in internal terminal
Comment 7 Andrew Krasny 2010-03-16 17:53:07 UTC
Will not switch to output window, but will use TerminalIO in non-terminal mode instead. So process will be started in TerminalIO, but will not be connected to a pty.

[See: Bug 182147 -  Provide pty-helpers for Windows ]

http://hg.netbeans.org/cnd-main/rev/a68146eba11c