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 34074 - Unexpected exception when using an alternative look and feel
Summary: Unexpected exception when using an alternative look and feel
Status: VERIFIED INVALID
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Peter Zavadsky
URL:
Keywords: L&F
Depends on:
Blocks:
 
Reported: 2003-06-01 05:16 UTC by unicursal
Modified: 2008-12-23 09:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide.log (11.31 KB, text/plain)
2003-06-01 05:18 UTC, unicursal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description unicursal 2003-06-01 05:16:28 UTC
it gives java.security.AccessControlException from
time to time and it _always_ happens when trying
to install previously downloaded modules at the
moment you press the add button

Detail shown are:

=== cut ===

java.security.AccessControlException: access
denied (java.lang.RuntimePermission getClassLoader)
	at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
	at
java.security.AccessController.checkPermission(AccessController.java:401)
	at
java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
	at
org.netbeans.TopSecurityManager.checkPermission(TopSecurityManager.java:270)
	at java.lang.Class.getClassLoader(Class.java:506)
	at
org.openide.util.NbBundle.getBundle(NbBundle.java:317)
	at
org.openide.util.NbBundle.getMessage(NbBundle.java:563)
	at
org.netbeans.modules.autoupdate.SelectModulesPanel.getBundle(SelectModulesPanel.java:357)
	at
org.netbeans.modules.autoupdate.SelectModulesPanel.access$400(SelectModulesPanel.java:34)
	at
org.netbeans.modules.autoupdate.SelectModulesPanel$NbmFileFilter.getDescription(SelectModulesPanel.java:272)
	at
javax.swing.plaf.metal.MetalFileChooserUI$FilterComboBoxRenderer.getListCellRendererComponent(MetalFileChooserUI.java:1730)
	at
javax.swing.plaf.basic.BasicComboBoxUI.getDisplaySize(BasicComboBoxUI.java:1280)
	at
com.jgoodies.plaf.plastic.PlasticComboBoxUI.getMinimumSize(PlasticComboBoxUI.java)
	at
javax.swing.JComponent.getMinimumSize(JComponent.java:1356)
	at
javax.swing.BoxLayout.checkRequests(BoxLayout.java:426)
	at
javax.swing.BoxLayout.minimumLayoutSize(BoxLayout.java:269)
	at
java.awt.Container.minimumSize(Container.java:1210)
	at
java.awt.Container.getMinimumSize(Container.java:1194)
	at
javax.swing.JComponent.getMinimumSize(JComponent.java:1358)
	at
javax.swing.BoxLayout.checkRequests(BoxLayout.java:426)
	at
javax.swing.BoxLayout.preferredLayoutSize(BoxLayout.java:244)
	at
java.awt.Container.preferredSize(Container.java:1175)
	at
java.awt.Container.getPreferredSize(Container.java:1159)
	at
javax.swing.JComponent.getPreferredSize(JComponent.java:1274)
	at
java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:574)
	at
javax.swing.plaf.metal.MetalFileChooserUI.getPreferredSize(MetalFileChooserUI.java:1166)
	at
javax.swing.JComponent.getPreferredSize(JComponent.java:1272)
	at
java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:564)
	at
java.awt.Container.preferredSize(Container.java:1175)
	at
java.awt.Container.getPreferredSize(Container.java:1159)
	at
javax.swing.JComponent.getPreferredSize(JComponent.java:1274)
	at
javax.swing.JRootPane$RootLayout.preferredLayoutSize(JRootPane.java:816)
	at
java.awt.Container.preferredSize(Container.java:1175)
	at
java.awt.Container.getPreferredSize(Container.java:1159)
	at
javax.swing.JComponent.getPreferredSize(JComponent.java:1274)
	at
java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:564)
	at
java.awt.Container.preferredSize(Container.java:1175)
	at
java.awt.Container.getPreferredSize(Container.java:1159)
	at java.awt.Window.pack(Window.java:430)
	at
javax.swing.JFileChooser.createDialog(JFileChooser.java:747)
	at
javax.swing.JFileChooser.showDialog(JFileChooser.java:687)
	at
org.netbeans.modules.autoupdate.SelectModulesPanel.selectNbmFiles(SelectModulesPanel.java:311)
	at
org.netbeans.modules.autoupdate.SelectModulesPanel.addButtonActionPerformed(SelectModulesPanel.java:198)
	at
org.netbeans.modules.autoupdate.SelectModulesPanel.access$200(SelectModulesPanel.java:34)
	at
org.netbeans.modules.autoupdate.SelectModulesPanel$2.actionPerformed(SelectModulesPanel.java:130)
	at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
	at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)
	at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
	at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
	at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
	at
java.awt.Component.processMouseEvent(Component.java:5093)
	at
java.awt.Component.processEvent(Component.java:4890)
	at
java.awt.Container.processEvent(Container.java:1566)
	at
java.awt.Component.dispatchEventImpl(Component.java:3598)
	at
java.awt.Container.dispatchEventImpl(Container.java:1623)
	at
java.awt.Component.dispatchEvent(Component.java:3439)
	at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
	at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
	at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
	at
java.awt.Container.dispatchEventImpl(Container.java:1609)
	at
java.awt.Window.dispatchEventImpl(Window.java:1585)
	at
java.awt.Component.dispatchEvent(Component.java:3439)
[catch] at
java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
	at
java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

=== cut ===

ide.log is attached
Comment 1 unicursal 2003-06-01 05:18:06 UTC
Created attachment 10547 [details]
ide.log
Comment 2 pzajac 2003-06-02 08:49:21 UTC
reassigned to core/windows. Plase evaluate.
Comment 3 _ ttran 2003-06-03 12:19:28 UTC
your L&F jar must reside under the <ide> installer dir or the userdir.
Alternatively you can modify <ide>/bin/ide.policy to give permission
to code from l&f jar by adding the following lines

grant codeBase "file:/home/insider/apps/lf/plastic.jar" {
   permission java.security.AllPermission;
};

Comment 4 Marian Mirilovic 2003-07-24 14:38:45 UTC
verifying.
Comment 5 Jan Chalupa 2003-11-03 15:20:56 UTC
Previously VERIFIED issue that was mistakenly put into the NEW
state... closing again...
Comment 6 Jan Chalupa 2003-11-03 15:21:45 UTC
... verified.