You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Miguel Castañeda <ar...@gmail.com> on 2021/04/03 02:17:59 UTC

NetBeans 12.3 . I can not open some projects

Hi,
I had opened a java 5 version  project and after that, I can not open any
java 8 project.I have this error message :
java.lang.IllegalArgumentException: Key contains code point U+0000
at
java.prefs/java.util.prefs.AbstractPreferences.get(AbstractPreferences.java:296)
at
org.netbeans.modules.maven.queries.MavenFileOwnerQueryImpl.registerCoordinates(MavenFileOwnerQueryImpl.java:153)
at
org.netbeans.modules.maven.ProjectOpenedHookImpl.registerWithSubmodules(ProjectOpenedHookImpl.java

How can I fix it ?
I uninstalled Java 8 and now my Java  version is jdk-11.05
My classpath =
Windows x64

-- 
Miguel Castañeda
Gestor Cultural
@rteyco
Bogotá D.C., Colombia, South Amerika
Cel.: 32044889439

Re: NetBeans 12.3 . I can not open some projects

Posted by Laszlo Kishalmi <la...@gmail.com>.
Delete your netbeans userdir (maybe cache as well) The way storing  java 
preferences on Windows got changed with older JDKs and not in a 
compatible way.

On 4/2/21 7:17 PM, Miguel Castañeda wrote:
> Hi,
> I had opened a java 5 version  project and after that, I can not open 
> any java 8 project.I have this error message : 
> java.lang.IllegalArgumentException: Key contains code point U+0000
> at 
> java.prefs/java.util.prefs.AbstractPreferences.get(AbstractPreferences.java:296)
> at 
> org.netbeans.modules.maven.queries.MavenFileOwnerQueryImpl.registerCoordinates(MavenFileOwnerQueryImpl.java:153)
> at 
> org.netbeans.modules.maven.ProjectOpenedHookImpl.registerWithSubmodules(ProjectOpenedHookImpl.java
>
> How can I fix it ?
> I uninstalled Java 8 and now my Java  version is jdk-11.05
> My classpath =
> Windows x64
>
> -- 
> Miguel Castañeda
> Gestor Cultural
> @rteyco
> Bogotá D.C., Colombia, South Amerika
> Cel.: 32044889439