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 28092 - beaninfo code generation buggy when bean descriptor almost empty
Summary: beaninfo code generation buggy when bean descriptor almost empty
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Beans (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-17 17:44 UTC by _ hkrug
Modified: 2002-10-30 13:04 UTC (History)
0 users

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 _ hkrug 2002-10-17 17:44:11 UTC
1) Bean A extends bean B and adds nothing to B.
2) Open the BeanInfo Editor for A.
3) Set a 16x16 color icon for A.
4) Close the BeanInfo Editor.
5) Open ABeanInfo. It contains neither a bean
descriptor nor is
   the icon set:

  ...

  private static BeanDescriptor getBdescriptor(){
    //GEN-HEADEREND:BeanDescriptor
    
    // Here you can add code for customizing the
BeanDescriptor.
    
    return beanDescriptor;     }
//GEN-LAST:BeanDescriptor

  ...
  
  private static java.awt.Image iconColor16 =
null; //GEN-BEGIN:IconsDef
  private static java.awt.Image iconColor32 = null;
  private static java.awt.Image iconMono16 = null;
  private static java.awt.Image iconMono32 = null;
//GEN-END:IconsDef
 
  ...
Comment 1 Jan Becicka 2002-10-30 12:25:09 UTC
Which version of NB do you use? It works for me in the latest dev build.
Comment 2 _ hkrug 2002-10-30 13:04:14 UTC
built from CVS Oct. 18th 2002
I'll reopen the issue when I'll meet this behavior once again.