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 57248

Summary: BeanInfo editor does not work due to NPE from ParameterImpl.getDimCount()
Product: java Reporter: Jan Becicka <jbecicka>
Component: UnsupportedAssignee: Jan Becicka <jbecicka>
Status: CLOSED FIXED    
Severity: blocker CC: jpokorsky
Priority: P2 Keywords: REGRESSION
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: NPE at ParameterImpl.java:252

Description Jan Becicka 2005-03-31 12:29:07 UTC
Create a new JPanel form.
Open BeanInfo Editor.
NPE is thrown
Comment 1 Jan Becicka 2005-03-31 12:30:33 UTC
Created attachment 21251 [details]
NPE at ParameterImpl.java:252
Comment 2 Jan Becicka 2005-03-31 12:32:13 UTC
It causes regression in beans module.
Problem is that getDimCount() is called on Parameter from .class file. This
parameter does not have ASTree
Comment 3 Jan Pokorsky 2005-03-31 12:42:12 UTC
btw not reproducible on jdk1.5.0_02+winxp
Comment 4 Martin Matula 2005-03-31 15:13:05 UTC
Fixed.

Checking in src/org/netbeans/modules/javacore/jmiimpl/javamodel/FieldImpl.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/FieldImpl.java,v
 <--  FieldImpl.java
new revision: 1.26; previous revision: 1.25
done
Checking in src/org/netbeans/modules/javacore/jmiimpl/javamodel/ParameterImpl.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/ParameterImpl.java,v
 <--  ParameterImpl.java
new revision: 1.20; previous revision: 1.19
done
Comment 5 Jiri Prox 2005-07-14 10:33:58 UTC
Verified in 4.2 (200507110943)
Comment 6 Quality Engineering 2007-09-20 09:44:49 UTC
Reorganization of java component