posts - 309, comments - 6940, trackbacks - 0, articles - 3
  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理

NetBeans 6.0异常(图)

Posted on 2008-01-08 15:02 诗特林 阅读(1223) 评论(3)  编辑  收藏 所属分类: J2EE
                                                                        NetBeans 6异常

        今天在使用NetBean6开发时,经常使用在整个项目中查找的功能,[Edit]>[Find in Project](或是按ctrl+shift+F),开始查找时并无问题,查了几个后,发生了如下图的错误,更加可恶的是,然后此功能就一直用不了,直到重启NetBeans,让俺大跌眼镜.请Sun快点搞定这个Bug呢.(俺的版本是在NetBeans官方网站上下载的哦)



java.lang.NullPointerException
 at javax.swing.JList$1.getSize(JList.java:315)
 at javax.swing.plaf.basic.BasicListUI.updateLayoutState(BasicListUI.java:1136)
 at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListUI.java:1105)
 at javax.swing.plaf.basic.BasicListUI.getPreferredSize(BasicListUI.java:356)
 at javax.swing.JComponent.getPreferredSize(JComponent.java:1615)
 at javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:769)
 at java.awt.Container.layout(Container.java:1401)
 at java.awt.Container.doLayout(Container.java:1390)
 at java.awt.Container.validateTree(Container.java:1473)
 at java.awt.Container.validateTree(Container.java:1480)
 at java.awt.Container.validateTree(Container.java:1480)
 at java.awt.Container.validateTree(Container.java:1480)
 at java.awt.Container.validateTree(Container.java:1480)
 at java.awt.Container.validate(Container.java:1448)
 at javax.swing.JLayeredPane.addImpl(JLayeredPane.java:205)
 at java.awt.Container.add(Container.java:899)
 at org.netbeans.core.windows.view.ui.slides.SlideOperationImpl.performOperation(SlideOperationImpl.java:126)
 at org.netbeans.core.windows.view.ui.slides.SlideOperationImpl.run(SlideOperationImpl.java:110)
 at org.netbeans.core.windows.view.ui.DesktopImpl.performSlide(DesktopImpl.java:287)
 at org.netbeans.core.windows.view.ui.DesktopImpl.performSlideIn(DesktopImpl.java:229)
 at org.netbeans.core.windows.view.ViewHierarchy.performSlideIn(ViewHierarchy.java:751)
 at org.netbeans.core.windows.view.DefaultView.userTriggeredSlideIn(DefaultView.java:883)
 at org.netbeans.core.windows.view.ui.TabbedHandler.actionPerformed(TabbedHandler.java:354)
 at org.netbeans.core.windows.view.ui.slides.TabbedSlideAdapter.postActionEvent(TabbedSlideAdapter.java:161)
 at org.netbeans.core.windows.view.ui.slides.CommandManager.postEvent(CommandManager.java:401)
 at org.netbeans.core.windows.view.ui.slides.CommandManager.slideIn(CommandManager.java:136)
 at org.netbeans.core.windows.view.ui.slides.SlideBar.stateChanged(SlideBar.java:263)
 at javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:116)
 at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:50)
 at org.netbeans.core.windows.view.ui.slides.TabbedSlideAdapter.setSelectedComponent(TabbedSlideAdapter.java:268)
 at org.netbeans.core.windows.view.ui.TabbedHandler.setSelectedTopComponent(TabbedHandler.java:258)
 at org.netbeans.core.windows.view.ui.AbstractModeContainer.setSelectedTopComponent(AbstractModeContainer.java:116)
 at org.netbeans.core.windows.view.ui.AbstractModeContainer.setTopComponents(AbstractModeContainer.java:129)
 at org.netbeans.core.windows.view.ui.slides.SlideBarContainer.setTopComponents(SlideBarContainer.java:101)
 at org.netbeans.core.windows.view.ModeView.setTopComponents(ModeView.java:137)
 at org.netbeans.core.windows.view.ViewHierarchy.updateViewForAccessor(ViewHierarchy.java:246)
 at org.netbeans.core.windows.view.ViewHierarchy.updateSlidingViews(ViewHierarchy.java:354)
 at org.netbeans.core.windows.view.ViewHierarchy.updateViewHierarchy(ViewHierarchy.java:156)
 at org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:149)
 at org.netbeans.core.windows.ViewRequestor.dispatchRequest(ViewRequestor.java:269)
 at org.netbeans.core.windows.ViewRequestor.processRequest(ViewRequestor.java:245)
 at org.netbeans.core.windows.ViewRequestor.postRequest(ViewRequestor.java:183)
 at org.netbeans.core.windows.ViewRequestor.scheduleRequest(ViewRequestor.java:123)
 at org.netbeans.core.windows.Central.activateModeTopComponent(Central.java:1697)
 at org.netbeans.core.windows.WindowManagerImpl.topComponentRequestActive(WindowManagerImpl.java:1126)
 at org.openide.windows.TopComponent.requestActive(TopComponent.java:709)
 at org.netbeans.modules.search.FindInFilesAction.performAction(FindInFilesAction.java:353)
 at org.netbeans.modules.search.FindInFilesAction.access$100(FindInFilesAction.java:94)
 at org.netbeans.modules.search.FindInFilesAction$LookupSensitive.actionPerformed(FindInFilesAction.java:434)
 at org.openide.windows.TopComponent.processKeyBinding(TopComponent.java:971)
 at javax.swing.JComponent.processKeyBindings(JComponent.java:2809)
 at javax.swing.JComponent.processKeyEvent(JComponent.java:2726)
 at java.awt.Component.processEvent(Component.java:5265)
 at java.awt.Container.processEvent(Container.java:1966)
 at java.awt.Component.dispatchEventImpl(Component.java:3955)
 at java.awt.Container.dispatchEventImpl(Container.java:2024)
 at java.awt.Component.dispatchEvent(Component.java:3803)
 at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1810)
 at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:672)
 at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:920)
 at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:798)
 at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:636)
 at java.awt.Component.dispatchEventImpl(Component.java:3841)
 at java.awt.Container.dispatchEventImpl(Container.java:2024)
 at java.awt.Window.dispatchEventImpl(Window.java:1778)
 at java.awt.Component.dispatchEvent(Component.java:3803)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
 at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

评论

# re: NetBeans 6.0异常(图)  回复  更多评论   

2008-01-08 15:41 by RaviLi
是不是JDK的版本不对啊,下个JDK5.0 update 14的或许就没有问题了。

# re: NetBeans 6.0异常(图)  回复  更多评论   

2008-01-08 22:03 by xidudui
beta版么?

# re: NetBeans 6.0异常(图)  回复  更多评论   

2008-01-09 04:40 by gr8vyguy
大惊少怪

只有注册用户登录后才能发表评论。


网站导航: