This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Hy, The CSS Editor logs too many exceptions in CssHelpResolver.getPropertyHelpURL() if docs/css21-spec.zip is missing and thus HELP_URL==null. The reason is that it tries to build an URL by appending "null" which fails with MalformedURLException. This exception is logged every time document() is called basically (ie. every time the user switches the item in the completion list). Attaching a patch that fixes this behavior. If HELP_URL==null there shouldn't be a documentation window and that's it. Eventuall CssHelpResolver.getHelpZIPURL() could log a one-time warning that it is returning null if it's that important, but I don't think it is needed.
Created attachment 71998 [details] Check for null HELP_URL
btw why is docs/css21-spec.zip missing???
In my case it's missing because I've packaged the files in my own way and excluded the docs/ folder. So technically speaking this isn't a bug in a standard NetBeans install where you are guaranteed to have docs/css21-spec.zip somewhere, but the code does have this bug if the file goes missing.
Sure, I'll fix it. I just wanted to be sure there isn't another problem with the missing jar.
already fixed