This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Build: NetBeans IDE 7.2 (Build 201207171143) VM: Dynamic Code Evolution 64-Bit Server VM, 0.2-b02-internal, 19.0-b04-internal, Java(TM) SE Runtime Environment, 1.6.0_33-b05 OS: Windows 7 User Comments: irinipaci: I am trying to push to a remote git repository. I first tried via ssh which didn't work at all even though I triple checked everything and tried via password and ssh private key. Then I tried via sftp which did connect and asked about braches and tags, but when I selected what I wanted to push, it threw this exception. Stacktrace: java.lang.NullPointerException at org.netbeans.libs.git.GitBranch.getId(GitBranch.java:102) at org.netbeans.modules.git.ui.push.PushMapping$PushBranchMapping.getRemoteRepositoryBranchHeadId(PushMapping.java:128) at org.netbeans.modules.git.ui.push.PushAction$1.getOutgoingRevisions(PushAction.java:194) at org.netbeans.modules.git.ui.push.PushAction$1.beforePush(PushAction.java:172) at org.netbeans.modules.git.ui.push.PushAction$1.perform(PushAction.java:125) at org.netbeans.modules.git.client.GitProgressSupport.performIntern(GitProgressSupport.java:102)
Created attachment 122895 [details] stacktrace
i added some logging: http://hg.netbeans.org/core-main/rev/2266f610144f download a dev build next week, try the same and upload the exception report again.
Will do. Thanks!
Integrated into 'main-golden', will be available in build *201208110001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/2266f610144f User: Ondrej Vrabec <ovrabec@netbeans.org> Log: Issue #216559 - NullPointerException at org.netbeans.libs.git.GitBranch.getId adding logging
fix: http://hg.netbeans.org/core-main/rev/84522024650a