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 150090 - [65cat] java.util.concurrent.ExecutionException: java.io.IOException: Cannot run program ""C:\Program Files\NetBeans Dev 200810100201\nbpython\jython-2.5\jython.jar"" (in directory "C:\Program Files\NetBeans
Summary: [65cat] java.util.concurrent.ExecutionException: java.io.IOException: Cannot ...
Status: RESOLVED FIXED
Alias: None
Product: python
Classification: Unclassified
Component: Platform (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Lou Dasaro
URL: http://statistics.netbeans.org/except...
Keywords:
: 150442 152075 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-14 13:17 UTC by sunbiz
Modified: 2015-11-27 17:16 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 127734


Attachments
stacktrace (10.15 KB, text/plain)
2008-10-14 13:18 UTC, sunbiz
Details
stacktrace (2.20 KB, text/plain)
2008-10-16 06:18 UTC, rajivderas
Details
stacktrace (335 bytes, text/plain)
2008-10-16 15:59 UTC, rajivderas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sunbiz 2008-10-14 13:18:34 UTC
Build: NetBeans IDE Dev (Build 200810100201)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc2-b32
OS: Windows Vista, 6.0, x86

User Comments:
sunbiz: Selecting jython 2.5 as the new python platform throws the exception



Stacktrace: 
java.util.concurrent.ExecutionException: java.io.IOException: Cannot run program ""C:\Program Files\NetBeans Dev 200810100201\nbpython\jython-2.5\jython.jar"" (in directory "C:\Program Files\NetBeans Dev 200810100201\nbpython"): CreateProcess error=193, %1 is not a valid Win32 application
        at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
        at java.util.concurrent.FutureTask.get(FutureTask.java:83)
        at net.java.dev.nbpython.api.PythonPlatformManager.findPlatformProperties(PythonPlatformManager.java:158)
        at net.java.dev.nbpython.platform.panels.PythonPlatformPanel.newPlatformActionPerformed(PythonPlatformPanel.java:409)
        at net.java.dev.nbpython.platform.panels.PythonPlatformPanel.access$100(PythonPlatformPanel.java:38)
        at net.java.dev.nbpython.platform.panels.PythonPlatformPanel$2.actionPerformed(PythonPlatformPanel.java:110)
Comment 1 sunbiz 2008-10-14 13:18:52 UTC
Created attachment 71762 [details]
stacktrace
Comment 2 ardavis26 2008-10-14 16:14:43 UTC
did you select the jar file or the bat script?
Comment 3 sunbiz 2008-10-14 16:19:13 UTC
I selected the jar file... shouldn't it be shown in the JFileChooser ??
Comment 4 rajivderas 2008-10-16 06:18:12 UTC
Build: NetBeans IDE Dev (Build 20081015193613)
VM: Java HotSpot(TM) Client VM, 11.0-b11, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b21
OS: Windows XP, 5.1, x86

User Comments: 
how to reproduce:
Create a new py project and right click on the project explorer area and select run main project.

DO NOT SELECT THE PROJECT AND RIGHT CLICK.

Using dev build 62




Stacktrace: 
java.io.IOException: Cannot run program "D:\netbeans-hudson-python-60-ruby\netbeans\python1\jython-2.5\bin\jython.bat" (in directory "D:\65cat\Tutorial Reviews\NewPythonProject\src\src"): CreateProcess error=3, The system cannot find the path specified
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
        at org.netbeans.modules.extexecution.api.ExternalProcessBuilder.call(ExternalProcessBuilder.java:263)
        at org.netbeans.modules.extexecution.api.ExternalProcessBuilder.call(ExternalProcessBuilder.java:65)
        at org.netbeans.modules.extexecution.api.ExecutionService$3.call(ExecutionService.java:250)
        at org.netbeans.modules.extexecution.api.ExecutionService$3.call(ExecutionService.java:227)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
Comment 5 rajivderas 2008-10-16 06:18:21 UTC
Created attachment 71923 [details]
stacktrace
Comment 6 rajivderas 2008-10-16 15:59:36 UTC
Build: NetBeans IDE Dev (Build 20081016090302)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.io.IOException: Cannot run program "D:\netbeans-hudson-python-60-ruby\netbeans\python1\jython-2.5\bin\jython.bat" (in directory "D:\65cat\Tutorial Reviews\NewPythonProject\src"): CreateProcess error=3, The system cannot find the path specified
Comment 7 rajivderas 2008-10-16 15:59:45 UTC
Created attachment 71999 [details]
stacktrace
Comment 8 Lou Dasaro 2015-04-08 04:52:19 UTC
*** Bug 150442 has been marked as a duplicate of this bug. ***
Comment 9 Lou Dasaro 2015-04-08 04:53:23 UTC
*** Bug 152075 has been marked as a duplicate of this bug. ***
Comment 10 Lou Dasaro 2015-11-27 17:16:46 UTC
Please ensure that your Python is setup correctly in Tools->Python Platforms

Should be fixed by modifications to Python .151118 (for IDE 8.1).
If this is incorrect, please reopen with my apologies.