• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

NetBeans 8.1: Project folder is not a valid path

 
Bartender
Posts: 5465
212
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Since yesterday (I think) I am unable to create a new Java application in NetBeans 8.1. It gives the error: "Project folder is not a valid path"
But that is nonsense.

Yesterday evening NetBeans suddenly appeared not to be functioning anymore, but after a while everything seemed normal again. So I have no idea what might have happened.
I could not find any useful info on the internet either. Does anyone know what might be the problem and/or knows a cure?

If all else fails, I will uninstall NetBeans and download 8.2.

Thanks upfront!
 
Saloon Keeper
Posts: 15484
363
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Piet,

I've heard about other users having problems with NetBeans 8.1 recently. I think your best course of action is to upgrade.
 
Piet Souris
Bartender
Posts: 5465
212
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi Stephan

thanks for your reply.

I created manually a new project folder, and then I could create, in NetBeans, that new project. But it suddenly seems to be unable to create such a folder by itself. I checked whether the privileges of the users for writing to the drive had changed suddenly, but I don't see anything unusual (not that I'm an expert in these thing though).

Well, I've been using NetBens 8.1 for more than a year now, without problems, so this is very strange.

But indeed, I think I will follow your advice and download 8.2.

I'll let you know.
 
Stephan van Hulst
Saloon Keeper
Posts: 15484
363
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's possible that an update to your OS caused something to stop working.
 
Piet Souris
Bartender
Posts: 5465
212
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Now that you mention it: there was indeed an automatic Windows 10 update this week. But how to check if that caused any problems? And if so, is that only related to NetBeans? I have not encountered any other problems so far.
 
Stephan van Hulst
Saloon Keeper
Posts: 15484
363
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, if you *really* want to know, you can try rolling your updates back to last week.

It would be too much of a bother for me though. If updating NetBeans works, I wouldn't break my head over it.
 
Piet Souris
Bartender
Posts: 5465
212
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When installing NetBeans 8.2, it gives me the error:

'the specified installation folder canot be canonized' (that folder being 'C:\Program Files\NetBeans 8.2', but any other folder gives the same message).).

There is also an exception reported on the next line:

Exception:
java.io.IOException:
No More files ("er zijn geen bestanden meer")

This is maddening! Anyone knows what might be the problem?

 
Stephan van Hulst
Saloon Keeper
Posts: 15484
363
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You might try uninstalling Java completely, and installing the latest version of the JDK before attempting to run the NetBeans installer. You might want to try cleaning up your environment variables as well.
 
Piet Souris
Bartender
Posts: 5465
212
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Solved it, but what a nightmare....

At first I followed Stephans advice: uninstalled Java and NetBeans (many versions, collected over the past few years), and cleaned up my system variables.
Then installation of Java 8.131 went smooth (wel I think it did). However, with NetBeans I kept getting this error:



(by the way: Sylvia is my wife, it is her laptop officially)

It was maddening, and searching the internet for this 'canonized' was without any success.
It was only after I made a screenshot of this error and tried to save it via Windows Paint, that I got this "io exception: no more files" too that I started searching for this error.
And that helped. See for instance:this site

It seems to be related to what is called the "Asus Data Security Manager". My (wife's) laptop is indeed an Asus, and I followed what that site said: remove this ADSM via the windows add/remove software, and what a relieve: I could suddenly save this error-picture and, best of all, my NetBeans is installed and running!

I really don't know why this error suddenly popped up, or how long it has been going on. Maybe since the latest Windows update from a few days ago?

I hope that this reply helps someone facing the same problem.

And Stephan, a cow for all your help!


 
Stephan van Hulst
Saloon Keeper
Posts: 15484
363
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm glad you managed to sort it out. Thanks for the cow, and have one in return for getting back to us with an answer that will help users with similar issues.
 
reply
    Bookmark Topic Watch Topic
  • New Topic