I’m used to give my Domino JavaScript libraries names like “main.js”.
Obviously Designer 8.5 does not like the “.js” extension: I can create a library using such a name but if I try to save any code entered I receive the following error message:
"Save failed
java.lang.NumberFormatException"
If I cancel out of the library then rename it by removing the extension (main.js ==> main_js) the problem is gone as I can save my code now.
This is true for both types of libraries (client and server) as well as for all kinds of extensions.
EDIT:
just found that the library is referenced in my XPage using an extension by itself (.jss), so that explains it.
In that case it shouldn’t be possible to create a library containing a “.”, or there should at least be some hint, similar to what happens upon creating a new theme or XPage.