Bug 27920 - NullPointerException in javax.swing.tree.VariableHeightLayoutCache.setModel()
Summary: NullPointerException in javax.swing.tree.VariableHeightLayoutCache.setModel()
Status: RESOLVED FIXED
Alias: None
Product: classpath
Classification: Unclassified
Component: awt (show other bugs)
Version: unspecified
: P3 normal
Target Milestone: 0.92
Assignee: Roman Kennke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-06 18:52 UTC by pere
Modified: 2006-06-07 20:21 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pere 2006-06-06 18:52:21 UTC
When running openjump with the CVS version of classpath, I now get this error.
Never seen it before, so it is introduced the last two days.

Exception during event dispatch:
java.lang.NullPointerException
   at javax.swing.tree.VariableHeightLayoutCache.setModel(VariableHeightLayoutCache.java:559)
   at javax.swing.plaf.basic.BasicTreeUI.setModel(BasicTreeUI.java:518)
   at javax.swing.plaf.basic.BasicTreeUI.installUI(BasicTreeUI.java:1353)
   at javax.swing.plaf.metal.MetalTreeUI.installUI(MetalTreeUI.java:107)
   at javax.swing.JComponent.setUI(JComponent.java:3056)
   at javax.swing.JTree.setUI(JTree.java:1622)
   at javax.swing.JTree.updateUI(JTree.java:1630)
   at javax.swing.JTree.<init>(JTree.java:1517)
   at javax.swing.JTree.<init>(JTree.java:1481)
   at com.vividsolutions.jump.workbench.ui.TreeLayerNamePanel$1.<init>(TreeLayerNamePanel.java:104)
   at com.vividsolutions.jump.workbench.ui.TreeLayerNamePanel.<init>(TreeLayerNamePanel.java:104)
   at com.vividsolutions.jump.workbench.ui.TaskFrame.createLayerNamePanel(TaskFrame.java:155)
   at com.vividsolutions.jump.workbench.ui.TaskFrame$1.internalFrameOpened(TaskFrame.java:130)
   at javax.swing.JInternalFrame.fireInternalFrameEvent(JInternalFrame.java:747)
   at javax.swing.JInternalFrame.show(JInternalFrame.java:1729)
   at java.awt.Component.show(Component.java:934)
   at java.awt.Component.setVisible(Component.java:884)
   at javax.swing.JComponent.setVisible(JComponent.java:2995)
   at com.vividsolutions.jump.workbench.ui.WorkbenchFrame.addInternalFrame(WorkbenchFrame.java:473)
   at com.vividsolutions.jump.workbench.ui.WorkbenchFrame.addInternalFrame(WorkbenchFrame.java:456)
   at com.vividsolutions.jump.workbench.ui.WorkbenchFrame.addTaskFrame(WorkbenchFrame.java:614)
   at com.vividsolutions.jump.workbench.ui.WorkbenchFrame.addTaskFrame(WorkbenchFrame.java:600)
   at com.vividsolutions.jump.workbench.ui.WorkbenchFrame.addTaskFrame(WorkbenchFrame.java:585)
   at com.vividsolutions.jump.workbench.ui.plugin.FirstTaskFramePlugIn$1.componentShown(FirstTaskFramePlugIn.java:68)
   at java.awt.AWTEventMulticaster.componentShown(AWTEventMulticaster.java:213)
   at java.awt.Component.processComponentEvent(Component.java:3005)
   at java.awt.Component.processEvent(Component.java:2967)
   at java.awt.Container.processEvent(Container.java:950)
   at java.awt.Window.processEvent(Window.java:692)
   at java.awt.Component.dispatchEventImpl(Component.java:5059)
   at java.awt.Container.dispatchEventImpl(Container.java:1777)
   at java.awt.Window.dispatchEventImpl(Window.java:675)
   at java.awt.Component.dispatchEvent(Component.java:2318)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:474)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:95)
Comment 1 Roman Kennke 2006-06-07 20:21:04 UTC
Fixed in CVS.