question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Invalid preferences format

See original GitHub issue

For some reason, I get the above error each time I try to open previous settings. After some investigation, this seem to be because of characters that are stored that the preference file does not support. This is an example of a preference:

<entry key="/&#29;��Lϙ ��`��L?�H}=&lt;�&#9;�H�}&#23;��#=" value="0"/>

Note how it says e.g. &#29; instead of the character it is supposed to show. Removing those characters made the preference file open again. Changing this line to the line below resolves the issue for me.

return Base64.getEncoder().encodeToString(messageDigest.digest());

Has anyone else noticed this issue and would there be any other problems with changing the line to the above?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
martinfrancoiscommented, Jul 23, 2019

Hi @Adyel @ArvidNy @seamlik The fix for this issue was included in release 8.3.0 (for Java 8) and 11.3.0 (for Java 11), which has just been released.

1reaction
martinfrancoiscommented, Jul 19, 2019

@seamlik yes, @ArvidNy is correct. It’s fixed, but not released yet. We are working on getting out a release soon. Thanks for your patience!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Handling Invalid Format settings | WinForms Forums
Hi, In my virtual grid I allow the user to set their own Format settings. However, if the format settings is invalid (eg...
Read more >
InvalidPreferencesFormatExcepti...
Constructs an InvalidPreferencesFormatException with the specified cause. Method Summary. Methods inherited from class java.lang.Object · clone, equals, ...
Read more >
Invalid format error in Preferences - BQE Knowledgebase
User gets a server error when trying to save changes in the ArchiOffice/EngineerOffice 20xx Preferences screen. ao_pref_server_error.png.
Read more >
Repair Photoshop Error Preferences File Was Invalid - Yodot
Yodot PSD Repair is an ultimate solution to resolve Photoshop error Preferences file is invalid that you encounter while initializing Photoshop.
Read more >
Invalid format/ booting windows - Microsoft Community
Hi Rick, invalid Format implies a video issue, more than likely cause by a bad driver or incorrect resolution settings.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found