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 77419 - NPE - when deleting project with form
Summary: NPE - when deleting project with form
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-06 10:04 UTC by Jana Maleckova
Modified: 2006-10-23 16:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
StackTrace - NPE (4.36 KB, application/octet-stream)
2006-06-06 10:04 UTC, Jana Maleckova
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jana Maleckova 2006-06-06 10:04:00 UTC
Development build #200606010200 of NetBeans 5.5
JDK 1.6.0, VM b84

Description:
============
NPE appeared during deleting project. 
1) New project, select General - JavaApplication, next, mark Set as Main
Project, deselect Create Main Class, finish

2) TestPackages - new JFrame Form, finish
3) insert some swing component into layout, e.g. JRadioButton, then try to Run
Main Project (F6). Dialog will appear with message "Project does not have main
class set". Click cancel.
4) Then try to delete project completely (without marked attribute "also delete
source" ) and NPE will occure

StackTrace
===========
java.lang.NullPointerException
[catch] at
org.netbeans.modules.form.FormEditorSupport$3.run(FormEditorSupport.java:314)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:598)

All stackTrace is in attachment
Comment 1 Jana Maleckova 2006-06-06 10:04:51 UTC
Created attachment 30821 [details]
StackTrace - NPE
Comment 2 Jan Stola 2006-08-17 13:50:57 UTC
Already fixed as the issue 77965.
Comment 3 Jana Maleckova 2006-08-23 15:28:02 UTC
verified on 200608230000 (5.5)
java 1.6-0rc b94