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 162096 - Scary error message when running on JRE and creating a Java SE project
Summary: Scary error message when running on JRE and creating a Java SE project
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Features On Demand (show other bugs)
Version: 6.x
Hardware: Other All
: P2 blocker (vote)
Assignee: Pavel Flaska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-07 09:23 UTC by Jaroslav Tulach
Modified: 2009-06-21 13:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2009-04-07 09:23:25 UTC
martinhavle just reported another incarnation of issue 160348: If you start the NetBeans with

./bin/netbeans --jdkhome /usr/lib/jvm/jre-1.5.0/ --userdir ~/tmp/jreud

and then try to create Java SE project. The JPDA debugger fails to get enabled. This is presented in a separate dialog 
(not in the wizard itself) and also another error about NPE is reported.

Preferably:
1. make sure the error is detected in right way and presented in the wizard with the option to cancel/go back
2. eliminate the NPE report in this case
3. improve the message produced by JPDA module to clearly say that "You are running on JRE and you need JDK".
4. make sure proper behaviour is also in other supported entry points

Log file by Martin:
http://statistics.netbeans.org/exceptions/messageslog?id=187010
Comment 1 Pavel Flaska 2009-04-10 09:30:33 UTC
http://hg.netbeans.org/ergonomics/rev/0423618f8ee0
Comment 2 Pavel Flaska 2009-04-10 10:39:27 UTC
f
Comment 3 Quality Engineering 2009-04-10 19:43:30 UTC
Integrated into 'main-golden', will be available in build *200904101401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/0423618f8ee0
User: Pavel Flaska <pflaska@netbeans.org>
Log: #162096: Present dependency problem when activating.