Please use the Apache issue tracking system for new NetBeans 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
PC Windows 10 x64
: P3 with 1 vote (vote)
Assigned To: Ondrej Vrabec
Depends on:
  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

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

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]

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(
	- waiting to lock <6d5af386> (a org.netbeans.libs.git.GitRepository) owned by "VersioningAnnotator.annotationRefresh" t@34
	at org.netbeans.modules.git.client.GitClient.<init>(
	at org.netbeans.modules.git.Git.getClient(
	at org.netbeans.modules.git.Git.getClient(
	at org.netbeans.modules.git.Git.getClient(
	at org.netbeans.modules.git.FilesystemInterceptor.beforeCreate(
	at org.netbeans.modules.versioning.DelegatingVCS$4.beforeCreate(
	at org.netbeans.modules.versioning.core.filesystems.VCSFilesystemInterceptor$DelegatingInterceptor.beforeCreate(
	at org.netbeans.modules.versioning.core.filesystems.VCSFilesystemInterceptor.beforeCreate(
	at org.netbeans.modules.versioning.masterfs.FilesystemInterceptor.beforeCreate(
	at org.netbeans.modules.masterfs.ProvidedExtensionsProxy$
	at org.netbeans.modules.masterfs.ProvidedExtensionsProxy.runCheckCode(
	at org.netbeans.modules.masterfs.ProvidedExtensionsProxy.beforeCreate(
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createDataImpl(
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$
	at org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem.runAsInconsistent(
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createData(
	at org.openide.filesystems.FileUtil.createData(
	at org.netbeans.modules.templates.ScriptingCreateFromTemplateHandler.createFromTemplate(
	at org.netbeans.api.templates.FileBuilder.createFromTemplate(
	at org.openide.loaders.MultiDataObject.handleCreateFromTemplate(
	at org.openide.loaders.DataObject$
	at org.openide.loaders.DataObjectPool$
	at org.openide.filesystems.EventControl.runAtomicAction(
	at org.openide.filesystems.FileSystem.runAtomicAction(
	at org.openide.loaders.DataObjectPool.runAtomicAction(
	at org.openide.loaders.DataObject.invokeAtomicAction(
	at org.openide.loaders.DataObject.createFromTemplate(
	at org.openide.loaders.DataObject.createFromTemplate(
	at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(
	at org.openide.loaders.TemplateWizard.handleInstantiate(
	at org.openide.loaders.TemplateWizard.instantiateNewObjects(
	at org.openide.loaders.TemplateWizardIterImpl.instantiate(
	at org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(
	at org.openide.WizardDescriptor.callInstantiateOpen(
	at org.openide.WizardDescriptor.callInstantiate(
	at org.openide.WizardDescriptor.access$2300(
	at org.openide.WizardDescriptor$Listener$2$
	at org.openide.util.RequestProcessor$
	at org.netbeans.modules.openide.util.GlobalLookup.execute(
	at org.openide.util.lookup.Lookups.executeWith(
	at org.openide.util.RequestProcessor$

   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