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 152377 - adding an invalid python platform throws PythonException (to log)
Summary: adding an invalid python platform throws PythonException (to log)
Status: RESOLVED FIXED
Alias: None
Product: python
Classification: Unclassified
Component: Platform (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Lou Dasaro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-05 01:15 UTC by Peter Lam
Modified: 2015-11-10 19:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide log file (30.97 KB, text/plain)
2008-11-05 01:16 UTC, Peter Lam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Lam 2008-11-05 01:15:31 UTC
Product Version: NetBeans IDE 6.5 RC2 (Build 20081104041628)
Java: 1.6.0_07; Java HotSpot(TM) Client VM 10.0-b23
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)

From the Platform Manager, adding an invalid platform logs PythonException in ide log file. See attached ide log file
for exceptions.
If an invalid or inappropriate platform is added, displaying an informational or warning message would help users
understand what the problem is.
Comment 1 Peter Lam 2008-11-05 01:16:37 UTC
Created attachment 73259 [details]
ide log file
Comment 2 Peter Lam 2008-11-05 07:02:11 UTC
add an already listed platform also throws the same exception. Showing an informational/warning message would be more
user-friendly.
Comment 3 _ hong_lin 2008-11-05 22:21:19 UTC
In my case, I get the same exception right after the "New Python Project" panel comes up. See issue 152462 for more detail.

Comment 4 Lou Dasaro 2015-11-09 00:10:52 UTC
Changeset: c3249b3bfed8
Author:    Lou Dasaro <mr_lou_d@netbeans.org>
Date:      2015-11-08 18:11
Message:   Added an informational / warning message when an invalid Python platform is encountered.
Corrected message. Should be available in nightly builds after 9-Nov-2015
Comment 5 Lou Dasaro 2015-11-10 19:15:09 UTC
Changeset: 8fec7305fe04
Author:    Lou Dasaro <mr_lou_d@netbeans.org>
Date:      2015-11-10 13:14
Message:   Added guard to prevent user message from being displayed while autoDetect is running
Improved logged warning. Changed some platform messages to be logged if log.Level=CONFIG
Corrected message. Should be available in nightly builds after 9-Nov-2015