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 - New File dialog never finishes, won't close, file is never created
Summary: New File dialog never finishes, won't close, file is never created
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.2
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-02 16:23 UTC by desertdev
Modified: 2017-05-16 23:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread Dump (35.96 KB, text/plain)
2017-05-02 16:23 UTC, desertdev
Details

Note You need to log in before you can comment on or make changes to this bug.
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