-
Notifications
You must be signed in to change notification settings - Fork 821
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot open project with an unexpected exception #7067
Comments
can you post the exception as text? (then mark the text and press the code button on the markdown editor) |
Sure thing. The general error message is like:
|
I have posted the exception and the exception detail as a text. And BTW what do you mean by mark the text and press the code button on the markdown editor? |
Could you be more specific about exactly what JDK you're using? How can
The |
I'm using JDK 21.0.2 |
I don't know actually. It's really weird. |
Are there any solution for my weird problem? |
Just to save anyone else the effort, the last Netbeans code before the exception is (line 578) in netbeans/ide/projectui/src/org/netbeans/modules/project/ui/ProjectChooserAccessory.java Lines 566 to 599 in 6a9d501
I can't see how a Is is possible Open Project is defaulting to start from a directory that no longer exists or is invalid in some way? Is it possible to reset that starting directory somehow (where is it stored?) |
No I don't think so, I can't such settings in netbeans. |
Can you check though? Other questions:
Hopefully something will begin to make sense! |
Thank you for your patience and help! But I don't think I have the file named projectui.properties you're talking about in my folder. Just a file named ui.properties. And for your other questions, when I used netbeans the year before last, everything was fine. Last month, I needed to start using Netbeans again because of a certain project and it didn't work properly when I opened the project. But open file can work properly. Yes, I have tried uninstalling the NB and tried a lot different versions of NB. Everytime before my installation, I will clean the previous one's cache. But they all showed the same problem that can't open project. |
I don't really have any more ideas - hopefully someone else has some thoughts? The only thing was that you looked in Was there nothing under the \20\ subdirectory? That might be significant. |
If that config file doesn't exist then it should still be the default |
There's only a org folder inside C:\Users\Andrew Chou\AppData\Roaming\NetBeans\20\config\Preferences |
Yes, the NetBeansProjects folder does exists and has projects in it. I tried rename it and it didn't work. |
Apache NetBeans version
Apache NetBeans 20
What happened
When I clicked on File -> Open Project, no window poped up but with an unexpected exception appeared below.
I have tried different version of JDK and clear the cache of previous Netbeans but none of them worked.
Language / Project Type / NetBeans Component
No response
How to reproduce
I'm not sure just click File then Open Project
Did this work correctly in an earlier version?
No / Don't know
Operating System
windows
JDK
21
Apache NetBeans packaging
Apache NetBeans provided installer
Anything else
No response
Are you willing to submit a pull request?
No
The text was updated successfully, but these errors were encountered: