Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344960 - NPE when trying to Push to 'review' on 'jgit'
Summary: NPE when trying to Push to 'review' on 'jgit'
Status: RESOLVED WORKSFORME
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-06 09:20 EDT by Tomasz Zarna CLA
Modified: 2012-03-21 05:15 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Zarna CLA 2011-05-06 09:20:49 EDT
I20110504-0800  + Eclipse EGit (Incubation)	0.12.0.201102172120	org.eclipse.egit.feature.group	Eclipse EGit

What steps will reproduce the problem?
1. Open Git repos view
2. Drill down to 'jgit' which in my case has two remotes: 'origin' and 'review'
3. I wasn't trying to actually push anything, just wondered what the UI for this looks like, so I closed my eyes and clicked Push on 'review'
=> This is what I saw when I finally opened them:

-- Error Details --
Date: Fri May 06 15:10:00 CEST 2011
Message: An internal error occurred during: "Push to jgit - review".
Severity: Error
Product: Eclipse SDK 3.7.0.v201105040800 (org.eclipse.sdk.ide)
Plugin: org.eclipse.egit.ui
Session Data:
eclipse.buildId=I20110504-0800
java.fullversion=JRE 1.6.0 IBM J9 2.4 Windows XP x86-32 jvmwi3260sr7-20091214_49398 (JIT enabled, AOT enabled)
J9VM - 20091214_049398
JIT  - r9_20091123_13891
GC   - 20091111_AA
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=pl_PL
Command-line arguments:  -os win32 -ws win32 -arch x86

Exception Stack Trace:
java.lang.NullPointerException
	at org.eclipse.egit.ui.internal.push.PushOperationUI.execute(PushOperationUI.java:147)
	at org.eclipse.egit.ui.internal.push.PushOperationUI$1.run(PushOperationUI.java:175)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Tomasz Zarna CLA 2011-05-06 09:45:04 EDT
(In reply to comment #0)
> I20110504-0800  + Eclipse EGit (Incubation)	0.12.0.201102172120	
 
Yeah, I know, I should update my version of EGit first. I'm doing it right now.
Comment 2 Tomasz Zarna CLA 2012-03-21 05:15:14 EDT
Works like a charm in EGit 2.0.0.