-
Notifications
You must be signed in to change notification settings - Fork 861
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
Netbeans not being able to open any project #8040
Comments
Interesting. I don't see how the code around |
btw as workaround you should be able to drag and drop projects directly into the editor or navigate to them using the favorites window to use right click open. Resetting your config might also fix this issue for you. But this won't help finding out what the cause for this was. The project folder which the dialog is opening by default is remembered as property in |
I found a solution for that. I uninstalled java, the jdk and also netbeans. After that, I updated windows, reinstalled java then a previous version of jdk (in my case jdk 19) which I was using on my second pc and lastly I installed netbeans 17 which I was also using on my second pc. I think I probably had to uninstall java completely and then install them with that specific order. I will also try to install the latest version of jdk and netbeans. Thanks for the help |
Make sure to delete the NB23 userdir and cachedir before attempting to upgrade again. @mbien could it be not properly protected in case of deserialization? |
@neilcsmith-net serialization could explain why a field is null in |
Apache NetBeans version
Apache NetBeans 23
What happened
I have been using the program for quite some time now and now all of a sudden I cant open any project. Every time I press open project it returns with an unexpected exception. The message is the following, Cannot invoke "String.matches(String)"because the return value of "java.io.File.to.String()"is null. If I press show details it also shows that a java.lang.NullPointerException has occured. I have tried uninstalling netbeans and reinstalling it several times and still the same thing. I did the same thing with the jdk but I still get the same error
messages.log
Language / Project Type / NetBeans Component
NetBeans Platform Application
How to reproduce
basically just by pressing open project or pressing ctrl+shift+o it should show the unexpected exception message I mentioned above
Did this work correctly in an earlier version?
No / Don't know
Operating System
windows 11 version 10.0
JDK
jdk-23_windows-x64_bin
Apache NetBeans packaging
Apache NetBeans provided installer
Anything else
Basically the problem occurs every time I try to open a project in netbeans
Are you willing to submit a pull request?
Yes
The text was updated successfully, but these errors were encountered: