Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 270517 - GitRepository blocks under Windows10 Creators update the file wizard
GitRepository blocks under Windows10 Creators update the file wizard
Status: NEW
Product: versioncontrol
Classification: Unclassified
Component: Git
Dev
PC Windows 10 x64
: P3 with 1 vote (vote)
: TBD
Assigned To: Ondrej Vrabec
issues@versioncontrol
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-04-28 17:17 UTC by kewlman
Modified: 2017-04-29 12:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
:


Attachments
Thread-dump (37.22 KB, application/octet-stream)
2017-04-28 17:17 UTC, kewlman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kewlman 2017-04-28 17:17:43 UTC
Created attachment 164205 [details]
Thread-dump

After updating my Windows 10 with the creators update Netbeans is not able to create new files, if there is a git repository.

VisualVm displays me the following:


"wizard-descriptor-asynchronous-jobs" - Thread t@14
   java.lang.Thread.State: BLOCKED
	at org.netbeans.libs.git.GitRepository.createClient(GitRepository.java:163)
	- waiting to lock <6d5af386> (a org.netbeans.libs.git.GitRepository) owned by "VersioningAnnotator.annotationRefresh" t@34
	at org.netbeans.modules.git.client.GitClient.<init>(GitClient.java:218)
	at org.netbeans.modules.git.Git.getClient(Git.java:217)
	at org.netbeans.modules.git.Git.getClient(Git.java:213)
	at org.netbeans.modules.git.Git.getClient(Git.java:209)
	at org.netbeans.modules.git.FilesystemInterceptor.beforeCreate(FilesystemInterceptor.java:176)
	at org.netbeans.modules.versioning.DelegatingVCS$4.beforeCreate(DelegatingVCS.java:347)
	at org.netbeans.modules.versioning.core.filesystems.VCSFilesystemInterceptor$DelegatingInterceptor.beforeCreate(VCSFilesystemInterceptor.java:673)
	at org.netbeans.modules.versioning.core.filesystems.VCSFilesystemInterceptor.beforeCreate(VCSFilesystemInterceptor.java:288)
	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:122)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createData(FolderObj.java:318)
	at org.openide.filesystems.FileUtil.createData(FileUtil.java:802)
	at org.netbeans.modules.templates.ScriptingCreateFromTemplateHandler.createFromTemplate(ScriptingCreateFromTemplateHandler.java:104)
	at org.netbeans.api.templates.CreateFromTemplateImpl.build(CreateFromTemplateImpl.java:137)
	at org.netbeans.api.templates.CreateFromTemplateImpl.build(CreateFromTemplateImpl.java:96)
	at org.netbeans.api.templates.FileBuilder.build(FileBuilder.java:250)
	at org.netbeans.api.templates.FileBuilder.createFromTemplate(FileBuilder.java:352)
	at org.openide.loaders.MultiDataObject.handleCreateFromTemplate(MultiDataObject.java:878)
	at org.openide.loaders.DataObject$CreateAction.run(DataObject.java:1597)
	at org.openide.loaders.DataObjectPool$1WrapAtomicAction.run(DataObjectPool.java:261)
	at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:127)
	at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:519)
	at org.openide.loaders.DataObjectPool.runAtomicAction(DataObjectPool.java:286)
	at org.openide.loaders.DataObject.invokeAtomicAction(DataObject.java:1051)
	at org.openide.loaders.DataObject.createFromTemplate(DataObject.java:983)
	at org.openide.loaders.DataObject.createFromTemplate(DataObject.java:963)
	at org.netbeans.modules.java.project.ui.NewJavaFileWizardIterator.instantiate(NewJavaFileWizardIterator.java:335)
	at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1053)
	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:248)
	at org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizardIteratorWrapper.java:160)
	at org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1629)
	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:1443)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)

   Locked ownable synchronizers:
	- None

This happens with Netbeans 8.1,8.2 and the current DevBuild.

I tested it with jdk8_u121 and jdk8_u131 with the same result:

JVM: Java HotSpot(TM) 64-Bit Server VM (25.131-b11, mixed mode)
Java: version 1.8.0_131, vendor Oracle Corporation
Java Home: C:\Program Files\Java\jdk1.8.0_131\jre
JVM Flags: <none>

steps to reproduced:

1. Open project (in my case a maven project)
2. Try to create a new Java class file and press finish
3. The file wizard is stuck and waits....

I can only kill the IDE.

If I remove the git repo from the project, then I'm able to create the files. If I initialize the a git repo within the project, the file wizard is stucked agen.


At work I still didn't update windows 10 and I'm able to create files in the same project with a git repo.
Comment 1 kewlman 2017-04-29 12:55:13 UTC
To make the data complete regarding the os:

OS: Windows 10 Pro
Version: 1703
build: 15063.250
system type: x64bit


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo