Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4484590

NPE from java.beans.Introspector.getBeanInfo(Introspector.java:122)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 3_p1, 1.4.0
    • client-libs
    • None
    • beta2
    • generic, unknown
    • generic, windows_2000

      [pilsen_fcs 010725_1; merlin-beta-refresh (b73)]

      http://openide.netbeans.org/issues/show_bug.cgi?id=13961

      An attempt to expand the Tools | Options | Editor Settings node for the first
      time results in NPE in the beans introspector (see attachment). From that
      moment on, the node is no longer displayed as expandable.

      The problem can be successfully reproduced after restarting the IDE.

      Doesn't occur on JDK 1.3.1, so it's probably specific to Merlin.

      Thu Jul 26 11:44:22 CEST 2001: java.lang.NullPointerException: null
      java.lang.NullPointerException
              at java.beans.Introspector.processPropertyDescriptors(Introspector.java:655)
              at java.beans.Introspector.getTargetPropertyInfo(Introspector.java:514)
              at java.beans.Introspector.getBeanInfo(Introspector.java:342)
              at java.beans.Introspector.getBeanInfo(Introspector.java:179)
              at java.beans.Introspector.getBeanInfo(Introspector.java:122)
              at org.openide.util.Utilities.getBeanInfo(Utilities.java:228)
              at org.openide.nodes.BeanNode.initialization(BeanNode.java:456)
              at org.openide.nodes.BeanNode.<init>(BeanNode.java:121)
              at org.netbeans.core.ControlPanelNode$ControlPanelItemNode.<init>(ControlPanelNode.java:153)
              at org.netbeans.core.ControlPanelNode$1.createNode(ControlPanelNode.java:162)
              at org.openide.nodes.BeanChildren.createNodes(BeanChildren.java:83)
              at org.openide.nodes.Children$Keys$KE.nodes(Children.java:1757)
              at org.openide.nodes.ChildrenArray.nodesFor(ChildrenArray.java:125)
              at org.openide.nodes.Children$Info.nodes(Children.java:880)
              at org.openide.nodes.Children.updateAdd(Children.java:688)
              at org.openide.nodes.Children.setEntries(Children.java:480)
              at org.openide.nodes.Children$18.run(Children.java:1645)
              at org.openide.util.Mutex.leave(Mutex.java:565)
              at org.openide.util.Mutex.readAccess(Mutex.java:162)
              at org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:139)
              at org.openide.explorer.view.VisualizerNode.getChildCount(VisualizerNode.java:170)
              at javax.swing.tree.DefaultTreeModel.getChildCount(DefaultTreeModel.java:171)
              at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1464)
              at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1273)
              at javax.swing.tree.VariableHeightLayoutCache.ensurePathIsExpanded(VariableHeightLayoutCache.java:969)
              at javax.swing.tree.VariableHeightLayoutCache.setExpandedState(VariableHeightLayoutCache.java:167)
              at javax.swing.plaf.basic.BasicTreeUI.updateExpandedDescendants(BasicTreeUI.java:1488)
              at javax.swing.plaf.basic.BasicTreeUI$TreeExpansionHandler.treeExpanded(BasicTreeUI.java:2306)
              at javax.swing.JTree.fireTreeExpanded(JTree.java:2241)
              at javax.swing.JTree.setExpandedState(JTree.java:3012)
              at javax.swing.JTree.expandPath(JTree.java:1747)
              at javax.swing.plaf.basic.BasicTreeUI.toggleExpandState(BasicTreeUI.java:2087)
              at javax.swing.plaf.basic.BasicTreeUI.handleExpandControlClick(BasicTreeUI.java:2074)
              at javax.swing.plaf.basic.BasicTreeUI.checkForClickInExpandControl(BasicTreeUI.java:2028)
              at javax.swing.plaf.basic.BasicTreeUI$MouseHandler.handleSelection(BasicTreeUI.java:2802)
              at javax.swing.plaf.basic.BasicTreeUI$MouseHandler.mousePressed(BasicTreeUI.java:2772)
              at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
              at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:220)
              at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:220)
              at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:220)
              at java.awt.Component.processMouseEvent(Component.java:4965)
              at java.awt.Component.processEvent(Component.java:4778)
              at java.awt.Container.processEvent(Container.java:1383)
              at java.awt.Component.dispatchEventImpl(Component.java:3488)
              at java.awt.Container.dispatchEventImpl(Container.java:1440)
              at java.awt.Component.dispatchEvent(Component.java:3349)
              at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3176)
      [catch] at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2885)
              at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2842)
              at java.awt.Container.dispatchEventImpl(Container.java:1426)
              at java.awt.Window.dispatchEventImpl(Window.java:1531)
              at java.awt.Component.dispatchEvent(Component.java:3349)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

            mdavidsosunw Mark Davidson (Inactive)
            dstrupl David Štrupl (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: