mbien commented on issue #8941:
URL: https://github.com/apache/netbeans/issues/8941#issuecomment-3424661362

   looks like the broken config mitigation I added back in 
https://github.com/apache/netbeans/pull/6094 is incomplete. The idea was to 
skip broken keys on load so that they are not persisted again next time they 
are stored. 
   
   However, it looks like the `clean()` method is failing while its trying to 
store.
   
   ```
   java.lang.IllegalArgumentException: Key contains code point U+0000
        at 
java.prefs/java.util.prefs.AbstractPreferences.remove(AbstractPreferences.java:324)
        at 
java.prefs/java.util.prefs.AbstractPreferences.clear(AbstractPreferences.java:351)
        at 
org.apache.tools.ant.module.api.IntrospectedInfo$3.store(IntrospectedInfo.java:756)
        at 
org.apache.tools.ant.module.AntSettings.setCustomDefs(AntSettings.java:125)
        at 
org.apache.tools.ant.module.bridge.impl.BridgeImpl$PostRun.run(BridgeImpl.java:453)
        at 
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1403)
        at 
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
        at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
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