Scratchpad plugin bug

I get the following exception if I select Edit from the main menu without a
project open:

Error message: update failed for ActionGroup:
com.deepmagic.plugins.scratchpad.CopyToScratchpadAction$InsertAction@1eb62b6

java.lang.NullPointerException

at
com.deepmagic.plugins.scratchpad.CopyToScratchpadAction$InsertAction.update(
CopyToScratchpadAction.java:57)

at com.intellij.openapi.actionSystem.b.j.a(j.java:73)

at com.intellij.openapi.actionSystem.b.j.a(j.java:10)

at com.intellij.openapi.actionSystem.b.j.a(j.java:53)

at com.intellij.openapi.actionSystem.b.j.a(j.java:2)

at com.intellij.openapi.actionSystem.b.n$c_.menuSelected(n$c_.java:8)

at javax.swing.JMenu.fireMenuSelected(Unknown Source)

at javax.swing.JMenu$MenuChangeListener.stateChanged(Unknown Source)

at javax.swing.DefaultButtonModel.fireStateChanged(Unknown Source)

at javax.swing.DefaultButtonModel.setSelected(Unknown Source)

at javax.swing.JMenu.setSelected(Unknown Source)

at javax.swing.JMenu.menuSelectionChanged(Unknown Source)

at com.intellij.openapi.actionSystem.b.n.menuSelectionChanged(n.java:54)

at javax.swing.MenuSelectionManager.setSelectedPath(Unknown Source)

at
javax.swing.plaf.basic.BasicMenuUI$MouseInputHandler.mouseEntered(Unknown
Source)

at java.awt.AWTEventMulticaster.mouseEntered(Unknown Source)

at java.awt.Component.processMouseEvent(Unknown Source)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.trackMouseEnterExit(Unknown Source)

at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Window.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at com.intellij.ide.s.a(s.java:41)

at com.intellij.ide.s.dispatchEvent(s.java:8)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)



Please sign in to leave a comment.