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 37120 - [JDK1.5.0] NPE when loading saved example forms
Summary: [JDK1.5.0] NPE when loading saved example forms
Status: VERIFIED WONTFIX
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords: JDK_SPECIFIC
Depends on:
Blocks:
 
Reported: 2003-11-10 14:07 UTC by Milan Kubec
Modified: 2004-02-09 10:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide.log file (32.77 KB, text/plain)
2003-11-10 14:08 UTC, Milan Kubec
Details
exc stack trace (4.66 KB, text/plain)
2003-11-25 10:50 UTC, Milan Kubec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2003-11-10 14:07:53 UTC
[build dev-200311061900, JDK 1.5.0 b27]
NullPointerExceptions were thrown when opening
sample forms (ColorPicker, Ted, ...).
Comment 1 Milan Kubec 2003-11-10 14:08:28 UTC
Created attachment 12102 [details]
ide.log file
Comment 2 Tomas Pavek 2003-11-18 18:33:16 UTC
Looks like some problem with BeanInfos, needs to be checked if not bug
in jdk.
Comment 3 Milan Kubec 2003-11-25 10:48:14 UTC
This exception is also thrown when selecting BoxLayout or
GridBagLayout for some component. I will attach ide.log, since the
stack trace is a bit different. Marking as P2 because it makes form
editor unusable.
Comment 4 Milan Kubec 2003-11-25 10:50:29 UTC
Created attachment 12281 [details]
exc stack trace
Comment 5 Milan Kubec 2003-11-28 12:58:59 UTC
Tomas, please, could you check it. It seems that this issues is not
the only one with the same problem (BeanInfo). Thanks.
Comment 6 Tomas Pavek 2003-11-28 14:23:33 UTC
Okay, installed jdk1.5.0 b29 and did some investigation. Looks like
bug in jdk - Introspector fails on beans having no properties (which
is the case of BoxLayout in the case of ColorPicker; and also
GridBagLayout). Bug 4960996 was submitted. No workaround is possible.
Comment 7 Tomas Pavek 2003-12-02 09:38:52 UTC
Should be fixed in tiger build 30.
Comment 8 Milan Kubec 2003-12-04 13:05:48 UTC
Verified, fixed in JDK 1.5.0 b30.