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 - BeanInfo editor does not work due to NPE from ParameterImpl.getDimCount()
Summary: BeanInfo editor does not work due to NPE from ParameterImpl.getDimCount()
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2005-03-31 12:29 UTC by Jan Becicka
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NPE at ParameterImpl.java:252 (1.02 KB, text/plain)
2005-03-31 12:30 UTC, Jan Becicka
Details

Note You need to log in before you can comment on or make changes to this bug.
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