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 33218 - MRE in ServiceType getName() due to bad bundle info
Summary: MRE in ServiceType getName() due to bad bundle info
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@serverplugins
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-24 13:59 UTC by _ tboudreau
Modified: 2003-12-11 14:22 UTC (History)
1 user (show)

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 _ tboudreau 2003-04-24 13:59:21 UTC
The new propertysheet implementation queries
property editor tags
more aggressively, because it does not cache
property editors.

Whenever a Java data object is selected, the
following exception
occurs repeatedly.  It looks like the resource
bundle set to be
the localizing bundle for the J2EEServer module is
not set 
correctly in the layer.

This makes the new propertysheet unusable on
copies of netbeans
that have the j2ee module installed.

java.util.MissingResourceException: No such bundle
org.netbeans.modules.j2ee.impl.Bundle
        at
org.openide.util.NbBundle.getBundle(NbBundle.java:363)
        at
org.openide.util.NbBundle.getBundle(NbBundle.java:317)
        at
org.netbeans.modules.j2ee.impl.ServerExecutor.displayName(ServerExecutor.java:90)
        at
org.openide.ServiceType.getName(ServiceType.java:139)
        at
org.netbeans.beaninfo.editors.ServiceTypeEditor.updateTags(Unknown
Source)
        at
org.netbeans.beaninfo.editors.ServiceTypeEditor.getTags(Unknown
Source)
        at
org.openide.explorer.propertysheet.SheetCellRenderer.prepareValueRenderer(SheetCellRenderer.java:176)
        at
org.openide.explorer.propertysheet.SheetCellRenderer.getTableCellRendererComponent(SheetCellRenderer.java:89)
        at
javax.swing.JTable.prepareRenderer(JTable.java:3693)
        at
javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:1149)
        at
javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1051)
        at
javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:974)
        at
javax.swing.plaf.ComponentUI.update(ComponentUI.java:142)
        at
javax.swing.JComponent.paintComponent(JComponent.java:541)
        at
javax.swing.JComponent.paint(JComponent.java:808)
Comment 1 Jan Chalupa 2003-04-29 18:09:42 UTC
The new property sheet implementation is not to be part of 3.5/S1S 5.
So is this bug affecting those releases anyhow? If not, the Version
should be changed to '4.0 dev'.

The current version value '3.2' seems to be incorrect in either case.
Tim, please set appropriately.
Comment 2 Petr Jiricka 2003-12-05 12:55:09 UTC
Since class org.netbeans.modules.j2ee.impl.ServerExecutor is no longer
used, this is likely fixed. I can not reproduce in latest builds -
marking as FIXED.