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 271295

Summary: NoClassDefFoundError: Could not initialize class org.netbeans.libs.git.GitBranch
Product: versioncontrol Reporter: nant82
Component: GitAssignee: Ondrej Vrabec <ovrabec>
Status: NEW ---    
Severity: normal CC: git
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 215042
Attachments: stacktrace

Description nant82 2017-08-15 08:05:19 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.101-b13, Java(TM) SE Runtime Environment, 1.8.0_101-b13
OS: Linux

User Comments:
GUEST: unable to use git on a project : the project looks like it is versionned under git, but right click git commit makes no action (no commit dialog box).

GUEST: GIT repository unavailable. Team menu tab also disabled.

GUEST: mouse over context menu git

GUEST: Trying to click on the Team menu doesn't open or show anything when I have a project based on git selected

GUEST: removed git plugin, tryed to install git plugin

nant82: After uninstall and reinstall the plugin




Stacktrace: 
java.lang.NoClassDefFoundError: Could not initialize class org.netbeans.libs.git.GitBranch
   at org.netbeans.modules.git.ui.repository.RepositoryInfo.<init>(RepositoryInfo.java:152)
   at org.netbeans.modules.git.ui.repository.RepositoryInfo.getInstance(RepositoryInfo.java:173)
   at org.netbeans.modules.git.ui.menu.BranchMenu.createMenu(BranchMenu.java:162)
   at org.netbeans.modules.git.ui.menu.DynamicMenu.getMenuPresenter(DynamicMenu.java:63)
   at org.netbeans.modules.versioning.core.ProjectMenuItem.createmenuItem(ProjectMenuItem.java:185)
   at org.netbeans.modules.versioning.core.ProjectMenuItem.access$800(ProjectMenuItem.java:76)
Comment 1 nant82 2017-08-15 08:05:23 UTC
Created attachment 164956 [details]
stacktrace