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 32626 - Exceptions thrown from editor when using GTK Look
Summary: Exceptions thrown from editor when using GTK Look
Status: RESOLVED DUPLICATE of bug 32682
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-04 14:48 UTC by dynamite
Modified: 2007-09-26 09:14 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 dynamite 2003-04-04 14:48:32 UTC
I'm not sure if this is a NetBeans problem or a
JDK 1.4.2beta problem. In ide.cfg I have -ui
com.sun.java.swing.plaf.gtk.GTKLookAndFeel. To
give the GTK look and feel. However when scrolling
the editor pane or clicking around the editor I
get the following exception. I appologise in
advance if this proves to not be your fault!

java.lang.NullPointerException
	at
org.openide.explorer.propertysheet.editors.ModifierEditor.addPropertyChangeListener(ModifierEditor.java:233)
	at
com.sun.java.swing.plaf.gtk.SynthPanelUI.installListeners(SynthPanelUI.java:48)
	at
com.sun.java.swing.plaf.gtk.SynthPanelUI.installUI(SynthPanelUI.java:36)
	at javax.swing.JComponent.setUI(JComponent.java:449)
	at javax.swing.JPanel.setUI(JPanel.java:131)
	at javax.swing.JPanel.updateUI(JPanel.java:104)
	at javax.swing.JPanel.<init>(JPanel.java:64)
	at javax.swing.JPanel.<init>(JPanel.java:87)
	at javax.swing.JPanel.<init>(JPanel.java:95)
	at
org.openide.explorer.propertysheet.editors.ModifierEditor.<init>(ModifierEditor.java:62)
	at
org.openide.src.nodes.MemberElementNode$2.getPropertyEditor(MemberElementNode.java:127)
	at
org.openide.explorer.propertysheet.PropertyPanel.updateEditor(PropertyPanel.java:629)
	at
org.openide.explorer.propertysheet.PropertyPanel.<init>(PropertyPanel.java:284)
	at
org.openide.explorer.propertysheet.PropertyPanel.<init>(PropertyPanel.java:290)
	at
org.openide.explorer.propertysheet.PropertySheetTab.fillProperties(PropertySheetTab.java:290)
	at
org.openide.explorer.propertysheet.PropertySheetTab.createPane(PropertySheetTab.java:238)
	at
org.openide.explorer.propertysheet.PropertySheetTab.ensurePaneCreated(PropertySheetTab.java:193)
	at
org.openide.explorer.propertysheet.PropertySheet.setCurrentPage(PropertySheet.java:358)
	at
org.openide.explorer.propertysheet.PropertySheet$1.stateChanged(PropertySheet.java:148)
	at
javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:287)
	at
javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:219)
	at
javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:116)
	at
javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:50)
	at
javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:468)
	at
javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:461)
	at
javax.swing.JTabbedPane.insertTab(JTabbedPane.java:573)
	at
javax.swing.JTabbedPane.addTab(JTabbedPane.java:607)
	at
org.openide.explorer.propertysheet.PropertySheet.createPages(PropertySheet.java:572)
	at
org.openide.explorer.propertysheet.PropertySheet.setCurrentNode(PropertySheet.java:619)
	at
org.openide.explorer.propertysheet.PropertySheet.access$900(PropertySheet.java:53)
	at
org.openide.explorer.propertysheet.PropertySheet$3.run(PropertySheet.java:271)
	at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
	at
java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
[catch] at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
	at
java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Comment 1 pzajac 2003-04-04 15:00:08 UTC
reassigned to openide/explorer
Comment 2 _ tboudreau 2003-04-04 15:14:36 UTC
This property editor doesn't exist anymore in openide - however,
it was copied in toto, without changing it's package, into the
Java module.  As far as I know it was deprecated.

Tranferring ownership of this to the Java module.
Comment 3 Tomas Hurka 2003-04-08 15:52:27 UTC

*** This issue has been marked as a duplicate of 32682 ***