[ 
https://issues.apache.org/jira/browse/NETBEANS-3284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16961059#comment-16961059
 ] 

Christian Lenz commented on NETBEANS-3284:
------------------------------------------

The solution sounds not nice. The solution should be removing such 
chars/content while importing. It tooks time to do every change for the options 
like setup the rules for each language. Why should we need to do that again and 
again for every new IDE instance? When I set up my options in one IDE version, 
I want to import them into the new IDE. Just my 2 cents.

As the commenter said inside of the stack overflow.
> Be aware: all you preferences will be lost!
And this is not nice.

> Another approach: you can search patterm \u0000 (just as text) in all files 
> at older configurations. In my case two files were containing lines

\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000

at the very begining. Removing that solved the problem.

I did that the same, but why not doing it automatically via NetBeans?

> IllegalArgumentException: Key contains code point U+0000
> --------------------------------------------------------
>
>                 Key: NETBEANS-3284
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3284
>             Project: NetBeans
>          Issue Type: Bug
>         Environment: Windows
>            Reporter: Laszlo Kishalmi
>            Priority: Major
>
> I open this new issue to collect several incarnation of this bug/feature.
> It seems Java changed how it is writing preferences on Windows between Java 8 
> and Java 9.
> This most probably triggers this issue when someone creates a Maven or Ant 
> project under Java 8 and then tries to open it on Java 9 or later.
> The resolution is to empty the userdir where the preferences are being saved.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to