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.
Anything that has to do with Git/JGit functions blocks and returns errors. Here's some examples using NetBeans IDE 8.0.2 (Build 201411181905) + Java 1.8.0_60; Java HotSpot(TM) 64-Bit Server VM 25.60-b23: Team -> Git -> Clone... -> Typing in "Repository URL" and returns java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.jgit.transport.URIish at org.netbeans.libs.git.GitURI.<init>(GitURI.java:76) at org.netbeans.modules.git.ui.repository.remote.RemoteRepository.getURI(RemoteRepository.java:184) at org.netbeans.modules.git.ui.repository.remote.RemoteRepository.getURI(RemoteRepository.java:177) at org.netbeans.modules.git.ui.repository.remote.RemoteRepository.itemStateChanged(RemoteRepository.java:262) at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1223) at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1271) at javax.swing.JComboBox.contentsChanged(JComboBox.java:1330) at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:118) at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:93) at javax.swing.JComboBox.actionPerformed(JComboBox.java:1314) at javax.swing.plaf.basic.BasicComboBoxUI$Handler.focusLost(BasicComboBoxUI.java:1852) at java.awt.AWTEventMulticaster.focusLost(AWTEventMulticaster.java:230) at java.awt.AWTEventMulticaster.focusLost(AWTEventMulticaster.java:229) at java.awt.Component.processFocusEvent(Component.java:6427) at java.awt.Component.processEvent(Component.java:6291) at java.awt.Container.processEvent(Container.java:2236) at java.awt.Component.dispatchEventImpl(Component.java:4891) at java.awt.Container.dispatchEventImpl(Container.java:2294) at java.awt.Component.dispatchEvent(Component.java:4713) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:995) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:661) at java.awt.Component.dispatchEventImpl(Component.java:4762) at java.awt.Container.dispatchEventImpl(Container.java:2294) at java.awt.Component.dispatchEvent(Component.java:4713) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.awt.EventQueue$4.run(EventQueue.java:729) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159) [catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227) at java.awt.Dialog.show(Dialog.java:1084) at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:1065) at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:1115) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:1087) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:128) at org.openide.util.Mutex.doEventAccess(Mutex.java:1376) at org.openide.util.Mutex.readAccess(Mutex.java:278) at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:1072) at java.awt.Component.show(Component.java:1673) at java.awt.Component.setVisible(Component.java:1625) at java.awt.Window.setVisible(Window.java:1014) at java.awt.Dialog.setVisible(Dialog.java:1005) at org.netbeans.modules.git.ui.clone.CloneWizard.show(CloneWizard.java:108) at org.netbeans.modules.git.ui.clone.CloneAction$1.run(CloneAction.java:188) at org.netbeans.modules.git.ui.clone.CloneAction$1.run(CloneAction.java:185) at org.openide.util.Mutex.doEventAccess(Mutex.java:1376) at org.openide.util.Mutex.readAccess(Mutex.java:278) at org.netbeans.modules.git.ui.clone.CloneAction.performClone(CloneAction.java:185) at org.netbeans.modules.git.ui.clone.CloneAction.performClone(CloneAction.java:164) at org.netbeans.modules.git.ui.clone.CloneAction.actionPerformed(CloneAction.java:160) at org.openide.awt.InjectorExactlyOne.actionPerformed(InjectorExactlyOne.java:78) at org.openide.awt.ContextAction$Performer.actionPerformed(ContextAction.java:226) at org.openide.awt.ContextManager.actionPerformed(ContextManager.java:260) at org.openide.awt.ContextAction.actionPerformed(ContextAction.java:109) at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:93) at org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:116) at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:99) at org.openide.awt.GeneralAction$BaseDelAction.actionPerformed(GeneralAction.java:234) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.AbstractButton.doClick(AbstractButton.java:376) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877) at java.awt.Component.processMouseEvent(Component.java:6535) at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at java.awt.Component.processEvent(Component.java:6300) at java.awt.Container.processEvent(Container.java:2236) at java.awt.Component.dispatchEventImpl(Component.java:4891) at java.awt.Container.dispatchEventImpl(Container.java:2294) at java.awt.Component.dispatchEvent(Component.java:4713) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466) at java.awt.Container.dispatchEventImpl(Container.java:2280) at java.awt.Window.dispatchEventImpl(Window.java:2750) at java.awt.Component.dispatchEvent(Component.java:4713) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.awt.EventQueue$4.run(EventQueue.java:729) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) File -> New Project... -> PHP / PHP Application with Existing Sources -> Next -> Sources Folder (Path containing a valid ".git" directory) -> Finish then returns java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.jgit.util.FS at org.eclipse.jgit.lib.BaseRepositoryBuilder.setupWorkTree(BaseRepositoryBuilder.java:620) at org.eclipse.jgit.lib.BaseRepositoryBuilder.setup(BaseRepositoryBuilder.java:556) at org.eclipse.jgit.storage.file.FileRepositoryBuilder.build(FileRepositoryBuilder.java:92) at org.netbeans.libs.git.jgit.Utils.getRepositoryForWorkingDir(Utils.java:102) at org.netbeans.libs.git.jgit.JGitRepository.getRepository(JGitRepository.java:76) at org.netbeans.libs.git.jgit.JGitRepository.increaseClientUsage(JGitRepository.java:64) at org.netbeans.libs.git.GitClient.<init>(GitClient.java:312) at org.netbeans.libs.git.GitRepository.createClient(GitRepository.java:212) at org.netbeans.libs.git.GitRepository.createClient(GitRepository.java:164) at org.netbeans.modules.git.client.GitClient.<init>(GitClient.java:213) at org.netbeans.modules.git.Git.getClient(Git.java:216) at org.netbeans.modules.git.Git.getClient(Git.java:212) at org.netbeans.modules.git.Git.getClient(Git.java:208) at org.netbeans.modules.git.FilesystemInterceptor.beforeCreate(FilesystemInterceptor.java:169) at org.netbeans.modules.versioning.DelegatingVCS$4.beforeCreate(DelegatingVCS.java:343) at org.netbeans.modules.versioning.core.filesystems.VCSFilesystemInterceptor$DelegatingInterceptor.beforeCreate(VCSFilesystemInterceptor.java:667) at org.netbeans.modules.versioning.core.filesystems.VCSFilesystemInterceptor.beforeCreate(VCSFilesystemInterceptor.java:282) at org.netbeans.modules.versioning.masterfs.FilesystemInterceptor.beforeCreate(FilesystemInterceptor.java:223) at org.netbeans.modules.masterfs.ProvidedExtensionsProxy$2.run(ProvidedExtensionsProxy.java:157) at org.netbeans.modules.masterfs.ProvidedExtensionsProxy.runCheckCode(ProvidedExtensionsProxy.java:493) at org.netbeans.modules.masterfs.ProvidedExtensionsProxy.beforeCreate(ProvidedExtensionsProxy.java:155) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createDataImpl(FolderObj.java:342) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$1.call(FolderObj.java:315) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$1.call(FolderObj.java:313) at org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem.runAsInconsistent(FileBasedFileSystem.java:120) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createData(FolderObj.java:318) at org.openide.filesystems.FileUtil.createData(FileUtil.java:799) at org.netbeans.spi.project.support.ant.ProjectGenerator$1.run(ProjectGenerator.java:141) at org.netbeans.spi.project.support.ant.ProjectGenerator$1.run(ProjectGenerator.java:122) at org.openide.util.Mutex.writeAccess(Mutex.java:443) at org.netbeans.spi.project.support.ant.ProjectGenerator.createProject0(ProjectGenerator.java:122) at org.netbeans.spi.project.support.ant.ProjectGenerator.createProject(ProjectGenerator.java:103) at org.netbeans.modules.php.project.util.PhpProjectGenerator.createProject0(PhpProjectGenerator.java:167) at org.netbeans.modules.php.project.util.PhpProjectGenerator.createProject(PhpProjectGenerator.java:121) at org.netbeans.modules.php.project.ui.wizards.NewPhpProjectWizardIterator.instantiate(NewPhpProjectWizardIterator.java:257) at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1044) at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:605) at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:439) at org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:253) at org.openide.loaders.TemplateWizardIteratorWrapper$ProgressInstantiatingIterator.instantiate(TemplateWizardIteratorWrapper.java:180) at org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1626) at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1570) at org.openide.WizardDescriptor.access$2300(WizardDescriptor.java:92) at org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2257) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) Team -> Git -> Commit and returns java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.jgit.util.FS at org.eclipse.jgit.lib.BaseRepositoryBuilder.setupWorkTree(BaseRepositoryBuilder.java:620) at org.eclipse.jgit.lib.BaseRepositoryBuilder.setup(BaseRepositoryBuilder.java:556) at org.eclipse.jgit.storage.file.FileRepositoryBuilder.build(FileRepositoryBuilder.java:92) at org.netbeans.libs.git.jgit.Utils.getRepositoryForWorkingDir(Utils.java:102) at org.netbeans.libs.git.jgit.JGitRepository.getRepository(JGitRepository.java:76) at org.netbeans.libs.git.jgit.JGitRepository.increaseClientUsage(JGitRepository.java:64) at org.netbeans.libs.git.GitClient.<init>(GitClient.java:312) at org.netbeans.libs.git.GitRepository.createClient(GitRepository.java:212) at org.netbeans.libs.git.GitRepository.createClient(GitRepository.java:164) at org.netbeans.modules.git.client.GitClient.<init>(GitClient.java:213) at org.netbeans.modules.git.Git.getClient(Git.java:216) at org.netbeans.modules.git.Git.getClient(Git.java:212) at org.netbeans.modules.git.Git.getClient(Git.java:208) at org.netbeans.modules.git.FileStatusCache.refreshAllRoots(FileStatusCache.java:231) at org.netbeans.modules.git.FileStatusCache.refreshAllRoots(FileStatusCache.java:192) at org.netbeans.modules.git.FilesystemInterceptor$RefreshTask.run(FilesystemInterceptor.java:676) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) *** Note that everytime, the actions is not performed and the popup wizard stays open without any buttons available. Same errors occures with the following version (Maybe with different trace but with same main error "java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.jgit.*") Tested with: Product Version: NetBeans IDE 8.0.2 (Build 201411181905) Updates: Updates available to version NetBeans 8.0.2 Patch 2 Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b14 System: Windows 7 version 6.1 running on amd64; UTF-8; en_US (nb) & Product Version: NetBeans IDE 8.0.2 (Build 201411181905) Updates: Updates available to version NetBeans 8.0.2 Patch 2 Java: 1.8.0_60; Java HotSpot(TM) 64-Bit Server VM 25.60-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27 System: Windows 7 version 6.1 running on amd64; UTF-8; en_US (nb) & Product Version: NetBeans IDE Dev (Build 201510140002) Java: 1.8.0_60; Java HotSpot(TM) 64-Bit Server VM 25.60-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) & Product Version: NetBeans IDE 8.1 RC2 (Build 201510122201) Java: 1.8.0_60; Java HotSpot(TM) 64-Bit Server VM 25.60-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) Additional info: - Tested both with and without admin access (Run as administrator) - Using some portable (self-extracted) JDK, so no registry of environment path applies on the system. (Manually unpacked with "unpack200.exe" for "rt") - Using portable (zip versions) of Netbeans-PHP - Tested both with "netbeans64.exe" and "netbeans.exe" Tested with both relative and absolute JDK home path in "etc/netbeans.conf" -> netbeans_jdkhome="../runtimes/java" netbeans_jdkhome="C:\\runtimes\\java" - Tested with different git repositories - No PATH nor CLASSPATH or any other environment variables or registries are used We insinuate that "netbeans_jdkhome" is used to do the whole work properly - PortableGit is installed and in user's PATH (mentioned in case of possible conflict) - Tested on two different PCs with different profiles - I used to make it work earlier (few months ago) but I ain't sure how I made it but I remember having applied updates between those times. Is it possible that the latest version of JGit distributed with all Netbeans-PHP bundles is not properly compatible? (Just a thought) Thank you.
Please attach full IDE log with the error.
Created attachment 156751 [details] Error while inserting a new Repository URL with Team -> Git -> Clone...
(In reply to danny_b from comment #0) > Is it possible that the latest version of JGit distributed with all > Netbeans-PHP bundles is not properly compatible? (Just a thought) No way. JGit works fine for almost all times with NetBeans. Your problem originates at: java.security.NoSuchAlgorithmException: SHA-1 MessageDigest not available at sun.security.jca.GetInstance.getInstance(GetInstance.java:159) Seems your Java installation does not contain/support a basic message-digest algorithm. Can you please reinstall JDK?
Indeed, I was not aware that "jre\lib\" was containing more "pack" file then only the "rt.pack". I've unpacked them all and it seems to work properly now. Sorry and thank you for the notice.