You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unexpected java.lang.IllegalArgumentException: Key contains code point U+0000 #5633
SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.apache.tools.ant.module.bridge.impl.BridgeImpl$PostRun
java.lang.IllegalArgumentException: Key contains code point U+0000
at java.prefs/java.util.prefs.AbstractPreferences.get(AbstractPreferences.java:291)
at org.apache.tools.ant.module.api.IntrospectedInfo$3.load(IntrospectedInfo.java:681)
at org.apache.tools.ant.module.AntSettings.getCustomDefs(AntSettings.java:119)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl$PostRun.run(BridgeImpl.java:443)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Michael,
Do you have any idea which config file? It must be the same file in both 16 and 17.
NetBeans 15 did not show this problem, and when I first saw this in 16 I uninstalled that and reinstalled 15. The problem was still not there in 15, but was there again when I changed back to 16.
I had hoped the problem was just with 16, but it persists in 17, so it must be some config file that came with 16 and has been carried forward to 17.
Regards, Bruce
________________________________
Dr. Bruce K. Haddon
1506 Chambers Drive<https://www.google.com/maps/search/1506+Chambers+Drive?entry=gmail&source=g>
+1 303/499 6240
Boulder, CO 80305-7002
***@***.******@***.***>
"Science is facts; just as houses are made of stones, so is science made of facts; but a pile of stones is not a house and a collection of facts is not necessarily science."—Henri Poincare
From: Michael Bien ***@***.***>
Sent: Wednesday, 8 March, 2023 12:48
To: apache/netbeans ***@***.***>
Cc: Bruce Haddon ***@***.***>; Author ***@***.***>
Subject: Re: [apache/netbeans] Unexpected java.lang.IllegalArgumentException: Key contains code point U+0000 (Issue #5633)
SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.apache.tools.ant.module.bridge.impl.BridgeImpl$PostRun
java.lang.IllegalArgumentException: Key contains code point U+0000
at java.prefs/java.util.prefs.AbstractPreferences.get(AbstractPreferences.java:291)
at org.apache.tools.ant.module.api.IntrospectedInfo$3.load(IntrospectedInfo.java:681)
at org.apache.tools.ant.module.AntSettings.getCustomDefs(AntSettings.java:119)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl$PostRun.run(BridgeImpl.java:443)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
looks like there are invalid characters in a config file, the exception is in JDK code, this comment explains it:
https://github.com/openjdk/jdk/blob/f813dc71836e002814622fead8a2b0464b49c83a/src/java.prefs/share/classes/java/util/prefs/AbstractPreferences.java#L118-L123
—
Reply to this email directly, view it on GitHub<#5633 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AYPSWFPK36SOFNQ5EYQCJODW3DO6ZANCNFSM6AAAAAAVUFM6HM>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
well, resetting the config will solve the problem for you, but I would be curious if it is again the same file which is corrupted, or if it is just a random anomaly.
Could be worth trying to scan all property files for that code point
Activity
mbien commentedon Mar 8, 2023
looks like there are invalid characters in a config file, the exception is in JDK code, this comment explains it:
https://github.com/openjdk/jdk/blob/f813dc71836e002814622fead8a2b0464b49c83a/src/java.prefs/share/classes/java/util/prefs/AbstractPreferences.java#L118-L123
BruceKHaddon commentedon Mar 8, 2023
mbien commentedon Mar 8, 2023
I don't know unfortunately, but a similar issue was posted here: #5147
BruceKHaddon commentedon Mar 8, 2023
mbien commentedon Mar 8, 2023
well, resetting the config will solve the problem for you, but I would be curious if it is again the same file which is corrupted, or if it is just a random anomaly.
Could be worth trying to scan all property files for that code point
lkishalmi commentedon Mar 10, 2023
Were you using JDK 8 as NetBeans Runtime recently?
You may be seeing: NETBEANS-3284
BruceKHaddon commentedon Mar 10, 2023