Null Pointer Exception in checkin dialog

I am not able to use the checkin dialog in 963, because of this
NullPointerException loop. The Action can be added in the normal Vcs popup
menu. But does not work in the Checkin Dialog. Anyone else seen this ?

Thanks,
Dash.


ERROR - penapi.actionSystem.impl.Utils - update failed for
AnAction w
ith ID=Vcs.ShowDiffAction
ERROR - penapi.actionSystem.impl.Utils - IntelliJ IDEA (Aurora)
Bui
ld #963
ERROR - penapi.actionSystem.impl.Utils - JDK: 1.4.2
ERROR - penapi.actionSystem.impl.Utils - VM: Java HotSpot(TM)
Client
VM
ERROR - penapi.actionSystem.impl.Utils - Vendor: Sun Microsystems
Inc
.
ERROR - penapi.actionSystem.impl.Utils - OS: Windows 2000
ERROR - penapi.actionSystem.impl.Utils - Last Action:
Perforce.Checki
nProject
ERROR - penapi.actionSystem.impl.Utils - update failed for
AnAction w
ith ID=Vcs.ShowDiffAction
java.lang.NullPointerException
at com.intellij.openapi.localVcs.a.a.b$0.run(b$0.java:1)
at com.intellij.openapi.application.a.b.runReadAction(b.java:269)
at com.intellij.openapi.localVcs.a.a.b.]]>(b.java:19)
at
com.intellij.openapi.localVcs.a.a.a.createDifferencesProviderOn(a.jav
a:1)
at com.intellij.openapi.vcs.a.j.a(j.java:10)
at com.intellij.openapi.vcs.a.j.update(j.java:3)
at com.intellij.openapi.actionSystem.b.j.a(j.java:70)
at com.intellij.openapi.actionSystem.b.q.b(q.java:82)
at com.intellij.openapi.actionSystem.b.q$c_.run(q$c_.java:8)
at com.intellij.openapi.actionSystem.b.k.run(k.java:7)
at
com.intellij.openapi.actionSystem.b.a$0.actionPerformed(a$0.java:1)
at javax.swing.Timer.fireActionPerformed(Unknown Source)
at javax.swing.Timer$DoPostEvent.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.intellij.ide.s.a(s.java:43)
at com.intellij.ide.s.dispatchEvent(s.java:6)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog.show(Unknown Source)
at
com.intellij.openapi.ui.DialogWrapper$MyDialog.show(DialogWrapper.jav
a:35)
at
com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:177)
at
com.intellij.openapi.vcs.ui.OptionsDialog.show(OptionsDialog.java:4)
at
com.intellij.openapi.vcs.ui.CheckinDialog.show(CheckinDialog.java:5)
at
com.intellij.openapi.vcs.CheckinProjectDialog.show(CheckinProjectDialog.java
:69)
at
com.devbrat.vcs.perforce.actions.CheckinProjectHandler.execute(CheckinProjec
tHandler.java:31)
at
com.devbrat.vcs.perforce.actions.CheckinProjectAction.actionPerformed
(CheckinProjectAction.java:17)
at
com.intellij.openapi.actionSystem.b.o$b_.actionPerformed(o$b_.java:12
)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at
com.intellij.openapi.actionSystem.b.o.fireActionPerformed(o.java:57)
at com.intellij.ui.a.a.h.doClick(h.java:102)
at com.intellij.ui.a.a.h.access$300(h.java:222)
at com.intellij.ui.a.a.h$a_.mouseReleased(h$a_.java:1)
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.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:43)
at com.intellij.ide.s.dispatchEvent(s.java:93)
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)



2 comments

Seems Difference Provider is broken in 963. I have the same problem,
but only with "Show Difference" Action in Check In Project; I constructed my
Check IN Action so it bypasses this mechanism.

Debabrata Dash wrote:

I am not able to use the checkin dialog in 963, because of this
NullPointerException loop. The Action can be added in the normal Vcs popup
menu. But does not work in the Checkin Dialog. Anyone else seen this ?

Thanks,
Dash.


ERROR - penapi.actionSystem.impl.Utils - update failed for
AnAction w
ith ID=Vcs.ShowDiffAction
ERROR - penapi.actionSystem.impl.Utils - IntelliJ IDEA (Aurora)
Bui
ld #963
ERROR - penapi.actionSystem.impl.Utils - JDK: 1.4.2
ERROR - penapi.actionSystem.impl.Utils - VM: Java HotSpot(TM)
Client
VM
ERROR - penapi.actionSystem.impl.Utils - Vendor: Sun Microsystems
Inc
.
ERROR - penapi.actionSystem.impl.Utils - OS: Windows 2000
ERROR - penapi.actionSystem.impl.Utils - Last Action:
Perforce.Checki
nProject
ERROR - penapi.actionSystem.impl.Utils - update failed for
AnAction w
ith ID=Vcs.ShowDiffAction
java.lang.NullPointerException
at com.intellij.openapi.localVcs.a.a.b$0.run(b$0.java:1)
at com.intellij.openapi.application.a.b.runReadAction(b.java:269)
at com.intellij.openapi.localVcs.a.a.b.<init>(b.java:19)
at
com.intellij.openapi.localVcs.a.a.a.createDifferencesProviderOn(a.jav
a:1)
at com.intellij.openapi.vcs.a.j.a(j.java:10)
at com.intellij.openapi.vcs.a.j.update(j.java:3)
at com.intellij.openapi.actionSystem.b.j.a(j.java:70)
at com.intellij.openapi.actionSystem.b.q.b(q.java:82)
at com.intellij.openapi.actionSystem.b.q$c_.run(q$c_.java:8)
at com.intellij.openapi.actionSystem.b.k.run(k.java:7)
at
com.intellij.openapi.actionSystem.b.a$0.actionPerformed(a$0.java:1)
at javax.swing.Timer.fireActionPerformed(Unknown Source)
at javax.swing.Timer$DoPostEvent.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.intellij.ide.s.a(s.java:43)
at com.intellij.ide.s.dispatchEvent(s.java:6)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog.show(Unknown Source)
at
com.intellij.openapi.ui.DialogWrapper$MyDialog.show(DialogWrapper.jav
a:35)
at
com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:177)
at
com.intellij.openapi.vcs.ui.OptionsDialog.show(OptionsDialog.java:4)
at
com.intellij.openapi.vcs.ui.CheckinDialog.show(CheckinDialog.java:5)
at
com.intellij.openapi.vcs.CheckinProjectDialog.show(CheckinProjectDialog.java
:69)
at
com.devbrat.vcs.perforce.actions.CheckinProjectHandler.execute(CheckinProjec
tHandler.java:31)
at
com.devbrat.vcs.perforce.actions.CheckinProjectAction.actionPerformed
(CheckinProjectAction.java:17)
at
com.intellij.openapi.actionSystem.b.o$b_.actionPerformed(o$b_.java:12
)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at
com.intellij.openapi.actionSystem.b.o.fireActionPerformed(o.java:57)
at com.intellij.ui.a.a.h.doClick(h.java:102)
at com.intellij.ui.a.a.h.access$300(h.java:222)
at com.intellij.ui.a.a.h$a_.mouseReleased(h$a_.java:1)
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.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:43)
at com.intellij.ide.s.dispatchEvent(s.java:93)
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)


--

Erb

==============================================================
"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
- Larry Wall
==============================================================

0

Yes, it was a bug and fixed already. I did the workaround Olesya suggested
and things are working again

-Dash.


"Erb" <dont@evenbother.com> wrote in message
news:bo8j73$4ar$1@is.intellij.net...

Seems Difference Provider is broken in 963. I have the same problem,
but only with "Show Difference" Action in Check In Project; I constructed

my

Check IN Action so it bypasses this mechanism.

>

Debabrata Dash wrote:

>

I am not able to use the checkin dialog in 963, because of this
NullPointerException loop. The Action can be added in the normal Vcs

popup

menu. But does not work in the Checkin Dialog. Anyone else seen this ?

>

Thanks,
Dash.

>
>

ERROR - penapi.actionSystem.impl.Utils - update failed for
AnAction w
ith ID=Vcs.ShowDiffAction
ERROR - penapi.actionSystem.impl.Utils - IntelliJ IDEA

(Aurora)

Bui
ld #963
ERROR - penapi.actionSystem.impl.Utils - JDK: 1.4.2
ERROR - penapi.actionSystem.impl.Utils - VM: Java HotSpot(TM)
Client
VM
ERROR - penapi.actionSystem.impl.Utils - Vendor: Sun

Microsystems

Inc
.
ERROR - penapi.actionSystem.impl.Utils - OS: Windows 2000
ERROR - penapi.actionSystem.impl.Utils - Last Action:
Perforce.Checki
nProject
ERROR - penapi.actionSystem.impl.Utils - update failed for
AnAction w
ith ID=Vcs.ShowDiffAction
java.lang.NullPointerException
at com.intellij.openapi.localVcs.a.a.b$0.run(b$0.java:1)
at

com.intellij.openapi.application.a.b.runReadAction(b.java:269)

at com.intellij.openapi.localVcs.a.a.b.<init>(b.java:19)
at
com.intellij.openapi.localVcs.a.a.a.createDifferencesProviderOn(a.jav
a:1)
at com.intellij.openapi.vcs.a.j.a(j.java:10)
at com.intellij.openapi.vcs.a.j.update(j.java:3)
at com.intellij.openapi.actionSystem.b.j.a(j.java:70)
at com.intellij.openapi.actionSystem.b.q.b(q.java:82)
at com.intellij.openapi.actionSystem.b.q$c_.run(q$c_.java:8)
at com.intellij.openapi.actionSystem.b.k.run(k.java:7)
at
com.intellij.openapi.actionSystem.b.a$0.actionPerformed(a$0.java:1)
at javax.swing.Timer.fireActionPerformed(Unknown Source)
at javax.swing.Timer$DoPostEvent.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.intellij.ide.s.a(s.java:43)
at com.intellij.ide.s.dispatchEvent(s.java:6)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)

>

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog.show(Unknown Source)
at
com.intellij.openapi.ui.DialogWrapper$MyDialog.show(DialogWrapper.jav
a:35)
at
com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:177)
at
com.intellij.openapi.vcs.ui.OptionsDialog.show(OptionsDialog.java:4)
at
com.intellij.openapi.vcs.ui.CheckinDialog.show(CheckinDialog.java:5)
at

>

com.intellij.openapi.vcs.CheckinProjectDialog.show(CheckinProjectDialog.java

:69)
at

>

com.devbrat.vcs.perforce.actions.CheckinProjectHandler.execute(CheckinProjec

tHandler.java:31)
at
com.devbrat.vcs.perforce.actions.CheckinProjectAction.actionPerformed
(CheckinProjectAction.java:17)
at
com.intellij.openapi.actionSystem.b.o$b_.actionPerformed(o$b_.java:12
)
at javax.swing.AbstractButton.fireActionPerformed(Unknown

Source)

at
com.intellij.openapi.actionSystem.b.o.fireActionPerformed(o.java:57)
at com.intellij.ui.a.a.h.doClick(h.java:102)
at com.intellij.ui.a.a.h.access$300(h.java:222)
at com.intellij.ui.a.a.h$a_.mouseReleased(h$a_.java:1)
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.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:43)
at com.intellij.ide.s.dispatchEvent(s.java:93)
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)

>
>

>

--

>

Erb

>

==============================================================
"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
- Larry Wall
==============================================================

>


0

Please sign in to leave a comment.