nullpointerexception

blmhpbnm  于 2021-08-25  发布在  Java
关注(0)|答案(0)|浏览(156)

**已关闭。**此问题不符合堆栈溢出准则。它目前不接受答案。
**想要改进此问题?**更新问题,使其位于堆栈溢出主题上。

四天前关门。
改进这个问题
每当我尝试在netbeans上创建一个新的webservice或打开一个已经创建的webservice并转到设计模式添加一个新操作时,netbeans都会保持这种状态,并给出这个nullpointerexception错误

java.lang.NullPointerException
at org.netbeans.modules.websvc.design.view.widget.DescriptionWidget.populateContentWidget(DescriptionWidget.java:119)
at org.netbeans.modules.websvc.design.view.widget.DescriptionWidget.createContent(DescriptionWidget.java:104)
at org.netbeans.modules.websvc.design.view.widget.DescriptionWidget.<init>(DescriptionWidget.java:69)
at org.netbeans.modules.websvc.design.view.widget.OperationWidget.createContent(OperationWidget.java:218)
at org.netbeans.modules.websvc.design.view.widget.OperationWidget.<init>(OperationWidget.java:101)
at org.netbeans.modules.websvc.design.view.widget.OperationsWidget.createContent(OperationsWidget.java:185)
at org.netbeans.modules.websvc.design.view.widget.OperationsWidget.<init>(OperationsWidget.java:148)
at org.netbeans.modules.websvc.design.view.DesignView.initUI(DesignView.java:283)
at org.netbeans.modules.websvc.design.view.DesignView.access$400(DesignView.java:75)
at org.netbeans.modules.websvc.design.view.DesignView$3.done(DesignView.java:243)
at java.desktop/javax.swing.SwingWorker$5.run(SwingWorker.java:750)
at java.desktop/javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:847)
at java.desktop/sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)
at java.desktop/javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:857)
at java.desktop/javax.swing.Timer.fireActionPerformed(Timer.java:317)
at java.desktop/javax.swing.Timer$DoPostEvent.run(Timer.java:249)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
[catch] at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

从执行或创建新的java项目到其他事情,其他一切都可以正常工作。
我已经尝试安装8.2到12.3版本的netbeans(我当前使用的版本),使用不同类型的jdk(当前使用jdk 13)临时禁用防病毒和防火墙,删除%appdata%\roaming\netbeans\“version”文件夹
任何帮助都会有帮助的,谢谢

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题