New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPE while debugging a NetBeans plugin #10

Closed
kelemen opened this Issue May 19, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@kelemen
Contributor

kelemen commented May 19, 2013

The exception stacktrace is the following:

java.lang.NullPointerException
    at com.junichi11.netbeans.changelf.ui.actions.ToggleEnableChangeLFAction$LookupListenerImpl.getProject(ToggleEnableChangeLFAction.java:241)
    at com.junichi11.netbeans.changelf.ui.actions.ToggleEnableChangeLFAction$LookupListenerImpl.resultChanged(ToggleEnableChangeLFAction.java:203)
    at org.openide.util.lookup.SimpleProxyLookup.checkLookup(SimpleProxyLookup.java:114)
    at org.openide.util.lookup.SimpleProxyLookup.lookup(SimpleProxyLookup.java:156)
    at org.netbeans.modules.openide.windows.GlobalActionContextImpl.blickActionMapImpl(GlobalActionContextImpl.java:120)
    at org.netbeans.modules.openide.windows.GlobalActionContextImpl.blickActionMap(GlobalActionContextImpl.java:96)
    at org.netbeans.modules.openide.windows.GlobalActionContextImpl.propertyChange(GlobalActionContextImpl.java:190)
    at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)
    at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:328)
    at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263)
    at java.awt.KeyboardFocusManager.firePropertyChange(KeyboardFocusManager.java:1434)
    at java.awt.KeyboardFocusManager.setGlobalPermanentFocusOwner(KeyboardFocusManager.java:738)
    at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:599)
    at java.awt.Component.dispatchEventImpl(Component.java:4731)
    at java.awt.Container.dispatchEventImpl(Container.java:2287)
    at java.awt.Component.dispatchEvent(Component.java:4687)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:729)
    at java.awt.EventQueue.access$200(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:688)
    at java.awt.EventQueue$3.run(EventQueue.java:686)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
    at java.awt.EventQueue$4.run(EventQueue.java:702)
    at java.awt.EventQueue$4.run(EventQueue.java:700)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:699)
    at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

I don't really know what actually triggers it but it gets thrown relatively often while debugging a NetBeans plugin.

junichi11 added a commit that referenced this issue May 19, 2013

@junichi11

This comment has been minimized.

Show comment
Hide comment
@junichi11

junichi11 May 19, 2013

Owner

I have uploaded a new nbm to Plugin Portal.

Thanks for reporting!

Owner

junichi11 commented May 19, 2013

I have uploaded a new nbm to Plugin Portal.

Thanks for reporting!

@junichi11 junichi11 closed this May 19, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment