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 270536

Summary: New File dialog never finishes, won't close, file is never created
Product: editor Reporter: desertdev
Component: -- Other --Assignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal CC: desertdev
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Windows 10 x64   
Issue Type: DEFECT Exception Reporter:
Attachments: Thread Dump

Description desertdev 2017-05-02 16:23:51 UTC
Created attachment 164227 [details]
Thread Dump

In the New File dialog, after selecting file type, file name and location, then clicking Finish, the "Please wait" progress indicator loops indefinitely. All of the buttons at the bottom of the dialog are inactive (greyed out), but the dialog can be dragged and the input fields still appear to accept changes.

Possible duplicate of 247582: https://netbeans.org/bugzilla/show_bug.cgi?id=247582

Attaching a thread dump.
Comment 1 desertdev 2017-05-04 21:12:09 UTC
More info:

Looking through the thread dump I noticed that the two threads with a state of BLOCKED were both related to the same call:

at org.netbeans.libs.git.GitRepository.createClient(GitRepository.java:163)

As a test, I removed the .git directory from the root of my project, launched Netbeans, and the problem goes away.

Side note:

I'm also using Typescript in this project, with Netbeans configured to automatically compile these files on save. This operation was failing in a similar manner to the attempts to create new files. Removing the .git directory also resolved this issue.

Of course effectively removing git versioning from my project is not an acceptable workaround, but hopefully this info is helpful to someone.
Comment 2 desertdev 2017-05-16 23:42:17 UTC
I have now deactivated the Git plugin inside Netbeans Tools -> Plugins as a workaround.

The Git plugin showed version 1.22.1.1