This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | NPE on showing include paths | ||
---|---|---|---|
Product: | cnd | Reporter: | Alexander Pepin <apepin> |
Component: | Code Model | Assignee: | issues@cnd <issues> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 7.0 | ||
Hardware: | PC | ||
OS: | Other | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Alexander Pepin
2011-01-24 18:49:26 UTC
Another NPE occurs if I call Code Assistance -> Failed #include/#error Directives: java.lang.NullPointerException at org.netbeans.modules.cnd.highlight.error.includes.ErrorIncludeDialog.guess(ErrorIncludeDialog.java:653) at org.netbeans.modules.cnd.highlight.error.includes.ErrorIncludeDialog.access$700(ErrorIncludeDialog.java:115) at org.netbeans.modules.cnd.highlight.error.includes.ErrorIncludeDialog$5.valueChanged(ErrorIncludeDialog.java:499) at javax.swing.JList.fireSelectionValueChanged(JList.java:1765) at javax.swing.JList$ListSelectionHandler.valueChanged(JList.java:1779) at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:167) at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:147) at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:194) at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:388) at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:398) at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:442) at javax.swing.JList.setSelectedIndex(JList.java:2179) at org.netbeans.modules.cnd.highlight.error.includes.ErrorIncludeDialog.addListeners(ErrorIncludeDialog.java:507) at org.netbeans.modules.cnd.highlight.error.includes.ErrorIncludeDialog.createComponents(ErrorIncludeDialog.java:212) at org.netbeans.modules.cnd.highlight.error.includes.ErrorIncludeDialog.<init>(ErrorIncludeDialog.java:147) at org.netbeans.modules.cnd.highlight.error.includes.ErrorIncludeDialog.showErrorIncludeDialog(ErrorIncludeDialog.java:191) at org.netbeans.modules.cnd.highlight.error.includes.FailedIncludesAction.performAction(FailedIncludesAction.java:86) at org.openide.util.actions.NodeAction.performAction(NodeAction.java:295) at org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:129) at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:95) at org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:116) at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:99) at org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:126) at org.openide.util.actions.NodeAction.actionPerformed(NodeAction.java:283) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.AbstractButton.doClick(AbstractButton.java:357) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1223) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1264) at java.awt.Component.processMouseEvent(Component.java:6267) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6032) at java.awt.Container.processEvent(Container.java:2041) at java.awt.Component.dispatchEventImpl(Component.java:4630) at java.awt.Container.dispatchEventImpl(Container.java:2099) at java.awt.Component.dispatchEvent(Component.java:4460) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168) at java.awt.Container.dispatchEventImpl(Container.java:2085) at java.awt.Window.dispatchEventImpl(Window.java:2478) at java.awt.Component.dispatchEvent(Component.java:4460) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148) [catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) *** This bug has been marked as a duplicate of bug 194612 *** |