netbeans 出现错误 java.lang.nullpointerexception
atjava.awt.Dimension.<init>(Dimension.java:91)atjavax.swing.plaf.basic.BasicProgressB...
at java.awt.Dimension.<init>(Dimension.java:91)
at javax.swing.plaf.basic.BasicProgressBarUI.getPreferredSize(BasicProgressBarUI.java:799)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1275)
at org.netbeans.progress.module.ui.NbProgressBar.getPreferredSize(NbProgressBar.java:55)
at org.netbeans.progress.module.ui.StatusLineComponent.<init>(StatusLineComponent.java:95)
at org.netbeans.progress.module.Controller.getDefault(Controller.java:69)
at org.netbeans.progress.module.ProgressVisualizerProvider.getStatusLineElement(ProgressVisualizerProvider.java:30)
at org.netbeans.core.windows.view.ui.MainWindow.getStatusLineElements(MainWindow.java:247)
at org.netbeans.core.windows.view.ui.MainWindow.decoratePanel(MainWindow.java:221)
at org.netbeans.core.windows.view.ui.MainWindow.initializeComponents(MainWindow.java:176)
at org.netbeans.core.windows.view.DefaultView.showWindowSystem(DefaultView.java:500)
at org.netbeans.core.windows.view.DefaultView.windowSystemVisibilityChanged(DefaultView.java:479)
at org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:163)
at org.netbeans.core.windows.ViewRequestor.dispatchRequest(ViewRequestor.java:238)
at org.netbeans.core.windows.ViewRequestor.processVisibilityRequest(ViewRequestor.java:227)
at org.netbeans.core.windows.ViewRequestor.postVisibilityRequest(ViewRequestor.java:164)
at org.netbeans.core.windows.ViewRequestor.scheduleRequest(ViewRequestor.java:85)
at org.netbeans.core.windows.Central.setVisible(Central.java:74)
at org.netbeans.core.windows.WindowManagerImpl.setVisible(WindowManagerImpl.java:710)
at org.netbeans.core.windows.WindowSystemImpl.show(WindowSystemImpl.java:56)
[catch] at org.netbeans.core.NonGui$3.run(NonGui.java:223)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
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)
没运行程序,打开就这样.我是ide5 展开
at javax.swing.plaf.basic.BasicProgressBarUI.getPreferredSize(BasicProgressBarUI.java:799)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1275)
at org.netbeans.progress.module.ui.NbProgressBar.getPreferredSize(NbProgressBar.java:55)
at org.netbeans.progress.module.ui.StatusLineComponent.<init>(StatusLineComponent.java:95)
at org.netbeans.progress.module.Controller.getDefault(Controller.java:69)
at org.netbeans.progress.module.ProgressVisualizerProvider.getStatusLineElement(ProgressVisualizerProvider.java:30)
at org.netbeans.core.windows.view.ui.MainWindow.getStatusLineElements(MainWindow.java:247)
at org.netbeans.core.windows.view.ui.MainWindow.decoratePanel(MainWindow.java:221)
at org.netbeans.core.windows.view.ui.MainWindow.initializeComponents(MainWindow.java:176)
at org.netbeans.core.windows.view.DefaultView.showWindowSystem(DefaultView.java:500)
at org.netbeans.core.windows.view.DefaultView.windowSystemVisibilityChanged(DefaultView.java:479)
at org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:163)
at org.netbeans.core.windows.ViewRequestor.dispatchRequest(ViewRequestor.java:238)
at org.netbeans.core.windows.ViewRequestor.processVisibilityRequest(ViewRequestor.java:227)
at org.netbeans.core.windows.ViewRequestor.postVisibilityRequest(ViewRequestor.java:164)
at org.netbeans.core.windows.ViewRequestor.scheduleRequest(ViewRequestor.java:85)
at org.netbeans.core.windows.Central.setVisible(Central.java:74)
at org.netbeans.core.windows.WindowManagerImpl.setVisible(WindowManagerImpl.java:710)
at org.netbeans.core.windows.WindowSystemImpl.show(WindowSystemImpl.java:56)
[catch] at org.netbeans.core.NonGui$3.run(NonGui.java:223)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
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)
没运行程序,打开就这样.我是ide5 展开
4个回答
展开全部
java.lang.nullpointerexception
这个异常是指无效的指针定义。
就是说你的一些变量定义不正确
这个异常是指无效的指针定义。
就是说你的一些变量定义不正确
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
应该是Netbeans运行时的错误,卸载重装或者换个最新版的试试吧。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
你把程序代码亮出来啊?这叫人怎么看,
上面提示是空指针,但是你哪步出了问题,我们怎么知道.
http://zh-cn.netbeans.org/download/6.5/ml/
这是6.5版(最新版)的官方下载地址.很快的.装最新版的总会好用的.
上面提示是空指针,但是你哪步出了问题,我们怎么知道.
http://zh-cn.netbeans.org/download/6.5/ml/
这是6.5版(最新版)的官方下载地址.很快的.装最新版的总会好用的.
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
空指针异常 使用引用前未初始化?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询