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 59997 - NPE and impossible add JMenuBar or JDialog to the designed form
Summary: NPE and impossible add JMenuBar or JDialog to the designed form
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks: 59972
  Show dependency tree
 
Reported: 2005-06-15 10:10 UTC by Marian Mirilovic
Modified: 2005-09-05 09:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NullPointerException stack trace (1.87 KB, text/plain)
2005-06-15 10:10 UTC, Marian Mirilovic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2005-06-15 10:10:30 UTC
NB.dev(200506142000), JDK1.5.0_04

Steps to reproduce:
- run IDE
- create JFrame
- select JMenuBar in the Component Palette
- move mouse over the designer
-> NPE rises (see attachment)
Comment 1 Marian Mirilovic 2005-06-15 10:10:54 UTC
Created attachment 22681 [details]
NullPointerException stack trace
Comment 2 Marian Mirilovic 2005-06-15 10:13:58 UTC
So happend with JDialog and layouts ...
Comment 3 Marek Grummich 2005-06-15 10:40:08 UTC
The similar issue #59587 was appeared in the past! - regression??
Comment 4 Marian Mirilovic 2005-06-15 10:46:23 UTC
I think the stack trace is different, but who does know ? :)
Comment 5 Marek Grummich 2005-06-15 11:02:08 UTC
This issue is appearead based on latest commit. The issue doesn't happen in the
build 200506131800.
Comment 6 Tomas Pavek 2005-06-15 16:53:07 UTC
Yes, the exception was caused by yesterday commit. I've fixed it in the trunk.
Will do on q-build branch tomorrow.

/cvs/form/src/org/netbeans/modules/form/HandleLayer.java,v  <--  HandleLayer.java
new revision: 1.64; previous revision: 1.63
Comment 7 Marek Grummich 2005-06-16 08:54:36 UTC
I'd say it's fixed in the today 200506151800. Mariane, if you can confirm it,
set up verification state, please. Two-phase verification ;-)
Comment 8 Marian Mirilovic 2005-06-16 10:32:26 UTC
verified in NB.dev(200506151800) ;) , I just found another NPE - but it isn so
important (issue 60119)
Comment 9 Tomas Pavek 2005-06-16 11:24:55 UTC
Fix applied to q-build branch QBE200506142000.
Comment 10 Marian Mirilovic 2005-06-22 09:05:25 UTC
verified in NB.dev(200506211800)