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.

Bug 244606 - NullPointerException at de.markiewb.netbeans.plugin.git.openinexternalviewer.GitUtils.getRemote
Summary: NullPointerException at de.markiewb.netbeans.plugin.git.openinexternalviewer....
Status: RESOLVED FIXED
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: markiewb
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-20 17:27 UTC by MacDada
Modified: 2014-05-21 07:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 209837


Attachments
stacktrace (3.45 KB, text/plain)
2014-05-20 17:27 UTC, MacDada
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MacDada 2014-05-20 17:27:48 UTC
Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13
OS: Mac OS X

User Comments:
MacDada: I have a git-based project with 2 remotes. Both private BitBucket repositories.

I get the exception when I right-click on the project in "Projects" panel.




Stacktrace: 
java.lang.NullPointerException
   at de.markiewb.netbeans.plugin.git.openinexternalviewer.GitUtils.getRemote(GitUtils.java:69)
   at de.markiewb.netbeans.plugin.git.openinexternalviewer.OpenAction$ContextAction.init(OpenAction.java:124)
   at de.markiewb.netbeans.plugin.git.openinexternalviewer.OpenAction$ContextAction.<init>(OpenAction.java:61)
   at de.markiewb.netbeans.plugin.git.openinexternalviewer.OpenAction$ContextAction.<init>(OpenAction.java:55)
   at de.markiewb.netbeans.plugin.git.openinexternalviewer.OpenAction.createContextAwareInstance(OpenAction.java:52)
   at org.openide.util.Utilities.actionsToPopup(Utilities.java:2832)
Comment 1 MacDada 2014-05-20 17:27:50 UTC
Created attachment 147347 [details]
stacktrace
Comment 2 markiewb 2014-05-21 07:41:59 UTC
Reported as https://github.com/markiewb/nb-git-open-in-external-repoviewer/issues/9

And fixed in v1.3.4 of the plugin. Verification of the plugin is still pending