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: | NullPointerException at org.netbeans.modules.applemenu.CtrlClickHack.eventDispatched | ||
---|---|---|---|
Product: | platform | Reporter: | arcnor <arcnor> |
Component: | Window System | Assignee: | Antonin Nebuzelsky <anebuzelsky> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dstrupl, jonguymer, juhrik, mmetelka, pjiricka, sunflower |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 166748 |
Attachments: |
stacktrace
stacktrace stacktrace org-netbeans-modules-applemenu.jar with a fix |
Description
arcnor
2010-03-21 13:18:31 UTC
Created attachment 95498 [details]
stacktrace
Created attachment 95645 [details]
stacktrace
Very annoying --> P2. After closing a file the IDE becomes unusable. Created attachment 95655 [details]
stacktrace
Closed j2se project and the exception appeared...
Created attachment 95676 [details]
org-netbeans-modules-applemenu.jar with a fix
Can you test with the attached org-netbeans-modules-applemenu.jar ?
With the patch I am getting the following exception (on closing editor window): Milo, can you pleas have a look? Thanks. java.lang.AssertionError at org.netbeans.modules.editor.lib2.view.ViewBuilder.<init>(ViewBuilder.java:125) at org.netbeans.modules.editor.lib2.view.ViewUpdates.checkRebuild(ViewUpdates.java:420) at org.netbeans.modules.editor.lib2.view.ViewUpdates$FactoriesListener.viewFactoryChanged(ViewUpdates.java:452) at org.netbeans.modules.editor.lib2.view.EditorViewFactory.fireEvent(EditorViewFactory.java:194) at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.highlightChanged(HighlightsViewFactory.java:226) at org.netbeans.spi.editor.highlighting.support.AbstractHighlightsContainer.fireHighlightsChange(AbstractHighlightsContainer.java:110) at org.netbeans.modules.editor.lib2.highlighting.CompoundHighlightsContainer.access$100(CompoundHighlightsContainer.java:64) at org.netbeans.modules.editor.lib2.highlighting.CompoundHighlightsContainer$2.run(CompoundHighlightsContainer.java:303) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1379) at org.netbeans.modules.editor.lib2.highlighting.CompoundHighlightsContainer.layerChanged(CompoundHighlightsContainer.java:301) at org.netbeans.modules.editor.lib2.highlighting.CompoundHighlightsContainer.access$400(CompoundHighlightsContainer.java:64) at org.netbeans.modules.editor.lib2.highlighting.CompoundHighlightsContainer$LayerListener.highlightChanged(CompoundHighlightsContainer.java:481) at org.netbeans.spi.editor.highlighting.support.AbstractHighlightsContainer.fireHighlightsChange(AbstractHighlightsContainer.java:110) at org.netbeans.modules.editor.lib2.highlighting.CaretBasedBlockHighlighting.updateLineInfo(CaretBasedBlockHighlighting.java:197) at org.netbeans.modules.editor.lib2.highlighting.CaretBasedBlockHighlighting.propertyChange(CaretBasedBlockHighlighting.java:157) at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:188) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276) at java.awt.Component.firePropertyChange(Component.java:8213) at org.openide.text.QuietEditorPane.firePropertyChange(QuietEditorPane.java:204) at javax.swing.text.JTextComponent.setCaret(JTextComponent.java:585) at org.openide.text.QuietEditorPane.setCaret(QuietEditorPane.java:227) at org.netbeans.editor.BaseTextUI.uninstallUI(BaseTextUI.java:279) at javax.swing.JComponent.setUI(JComponent.java:639) at javax.swing.text.JTextComponent.setUI(JTextComponent.java:322) at javax.swing.text.JTextComponent.updateUI(JTextComponent.java:332) at org.netbeans.editor.BaseKit.deinstall(BaseKit.java:830) at javax.swing.JEditorPane.setEditorKit(JEditorPane.java:1091) at org.openide.text.CloneableEditor.componentClosed(CloneableEditor.java:820) at org.openide.windows.WindowManager.componentCloseNotify(WindowManager.java:315) Fixed this one. Please file the other exception separately. http://hg.netbeans.org/core-main/rev/ae9b92b45636 BTW, the other exception already filed as issue #182625. Integrated into 'main-golden', will be available in build *201003250201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ae9b92b45636 User: Antonin Nebuzelsky <anebuzelsky@netbeans.org> Log: #182448: NPE, need to test for null *** Bug 182763 has been marked as a duplicate of this bug. *** *** Bug 190251 has been marked as a duplicate of this bug. *** *** Bug 181553 has been marked as a duplicate of this bug. *** |