Xin Zhou

Results 11 comments of Xin Zhou

Sure thing. The general error message is like: **_Cannot invoke "String.matches(String)" because the return value of "java.io.File.toString()" is null._** And the exceptions detail is like: ``` java.lang.NullPointerException: Cannot invoke "String.matches(String)"...

> can you post the exception as text? (then mark the text and press the code button on the markdown editor) I have posted the exception and the exception detail...

> Could you be more specific about exactly what JDK you're using? > > How can `File::toString` be null?! > > > And BTW what do you mean by mark...

> Could you be more specific about exactly what JDK you're using? > > How can `File::toString` be null?! > > > And BTW what do you mean by mark...

Are there any solution for my weird problem?

> This might be related to #6948. Please try to use JDK 17 or NB 21-rc3 (#6962) I tried but it didn't work.

> Just to save anyone else the effort, the last Netbeans code before the exception is (line 578) in > > https://github.com/apache/netbeans/blob/6a9d501fd805541ed261fd371772ab772c294c7f/ide/projectui/src/org/netbeans/modules/project/ui/ProjectChooserAccessory.java#L566-L599 > > I can't see how a `File`...

> > No I don't think so, I can't such settings in netbeans. > > Can you check though? Look in your 'User directory' (you can see what this is...

> I don't really have any more ideas - hopefully someone else has some thoughts? > > The only thing was that you looked in `C:\Users\Andrew Chou\AppData\Roaming\NetBeans\19\config\Preferences` and as you...