Perforce Plugin 0.8.6 Exception

I do
Menu Perforce -> Refresh ...
on a file that is already checked out and get exception:

Error message: Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(44,118),button=1,modifiers=Button1,clickCount=1] on ###overrideRedirect###
java.lang.NullPointerException

at java.util.Hashtable.put(Hashtable.java:398)

at com.devbrat.vcs.perforce.FileEntryProvider.loadFileEntries(FileEntryProvider.java:217)

at com.devbrat.vcs.perforce.FileEntryProvider.refreshCache(FileEntryProvider.java:164)

at com.devbrat.vcs.perforce.PerforceStatusProvider.refresh(PerforceStatusProvider.java:123)

at com.devbrat.vcs.perforce.actions.RefreshAction.perform(RefreshAction.java:18)

at com.devbrat.vcs.perforce.actions.BasicAction.execute(BasicAction.java:117)

at com.devbrat.vcs.perforce.actions.BasicAction.access$000(BasicAction.java:19)

at com.devbrat.vcs.perforce.actions.BasicAction$1.run(BasicAction.java:50)

at com.intellij.openapi.vcs.impl.c.runTransactionRunnable(c.java:109)

at com.devbrat.vcs.perforce.actions.BasicAction.actionPerformed(BasicAction.java:45)

at com.intellij.openapi.actionSystem.b.n$b_.actionPerformed(n$b_.java:15)

at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)

at com.intellij.openapi.actionSystem.b.n.fireActionPerformed(n.java:52)

at com.intellij.ui.b.a.h.doClick(h.java:173)

at com.intellij.ui.b.a.h.access$300(h.java:24)

at com.intellij.ui.b.a.h$a_.mouseReleased(h$a_.java:6)

at java.awt.Component.processMouseEvent(Component.java:5100)

at java.awt.Component.processEvent(Component.java:4897)

at java.awt.Container.processEvent(Container.java:1569)

at java.awt.Component.dispatchEventImpl(Component.java:3615)

at java.awt.Container.dispatchEventImpl(Container.java:1627)

at java.awt.Component.dispatchEvent(Component.java:3477)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)

at java.awt.Container.dispatchEventImpl(Container.java:1613)

at java.awt.Window.dispatchEventImpl(Window.java:1606)

at java.awt.Component.dispatchEvent(Component.java:3477)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)

at com.intellij.ide.q.b(q.java:94)

at com.intellij.ide.q.a(q.java:70)

at com.intellij.ide.q.dispatchEvent(q.java:68)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

1 comment
Comment actions Permalink

Looks like I missed some NPE checks. Will post a fix soon..

Thanks,
Dash.

"Adam" <no_mail@jetbrains.com> wrote in message
news:3059147.1074176263814.JavaMail.itn@is.intellij.net...

I do
Menu Perforce -> Refresh ...
on a file that is already checked out and get exception:

>

Error message: Error during dispatching of

java.awt.event.MouseEvent[MOUSE_RELEASED,(44,118),button=1,modifiers=Button1
,clickCount=1] on ###overrideRedirect###

java.lang.NullPointerException

>

at java.util.Hashtable.put(Hashtable.java:398)

>

at

com.devbrat.vcs.perforce.FileEntryProvider.loadFileEntries(FileEntryProvider
.java:217)
>

at

com.devbrat.vcs.perforce.FileEntryProvider.refreshCache(FileEntryProvider.ja
va:164)
>

at

com.devbrat.vcs.perforce.PerforceStatusProvider.refresh(PerforceStatusProvid
er.java:123)
>

at

com.devbrat.vcs.perforce.actions.RefreshAction.perform(RefreshAction.java:18
)
>

at

com.devbrat.vcs.perforce.actions.BasicAction.execute(BasicAction.java:117)
>

at

com.devbrat.vcs.perforce.actions.BasicAction.access$000(BasicAction.java:19)
>

at com.devbrat.vcs.perforce.actions.BasicAction$1.run(BasicAction.java:50)

>

at com.intellij.openapi.vcs.impl.c.runTransactionRunnable(c.java:109)

>

at

com.devbrat.vcs.perforce.actions.BasicAction.actionPerformed(BasicAction.jav
a:45)
>

at com.intellij.openapi.actionSystem.b.n$b_.actionPerformed(n$b_.java:15)

>

at

javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
>

at com.intellij.openapi.actionSystem.b.n.fireActionPerformed(n.java:52)

>

at com.intellij.ui.b.a.h.doClick(h.java:173)

>

at com.intellij.ui.b.a.h.access$300(h.java:24)

>

at com.intellij.ui.b.a.h$a_.mouseReleased(h$a_.java:6)

>

at java.awt.Component.processMouseEvent(Component.java:5100)

>

at java.awt.Component.processEvent(Component.java:4897)

>

at java.awt.Container.processEvent(Container.java:1569)

>

at java.awt.Component.dispatchEventImpl(Component.java:3615)

>

at java.awt.Container.dispatchEventImpl(Container.java:1627)

>

at java.awt.Component.dispatchEvent(Component.java:3477)

>

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)

>

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)

>

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)

>

at java.awt.Container.dispatchEventImpl(Container.java:1613)

>

at java.awt.Window.dispatchEventImpl(Window.java:1606)

>

at java.awt.Component.dispatchEvent(Component.java:3477)

>

at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)

>

at com.intellij.ide.q.b(q.java:94)

>

at com.intellij.ide.q.a(q.java:70)

>

at com.intellij.ide.q.dispatchEvent(q.java:68)

>

at

java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:201)
>

at

java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:151)
>

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)

>

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)

>

at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

>
>



0

Please sign in to leave a comment.