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.
Summary: | Unreliable connection to DataObject for custom hints | ||
---|---|---|---|
Product: | java | Reporter: | err <err> |
Component: | Hints | Assignee: | Svata Dedic <sdedic> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 217602 |
Attachments: | stacktrace |
Description
err
2015-05-29 02:25:54 UTC
Created attachment 153936 [details]
stacktrace
I closed the IDE, manually renamed the file in /config/rules/, restarted IDE, then it was OK. The root cause is that the UI is trying to infer the DataObject from HintMetadata, using the id. However the id may be derived by parsing <!hint> directive. In your specific case, the algorithm the UI uses to get the DataObject (so it can rename it) clashes with some disambiguation done by declarative hints infrastructure. Perhaps the parsing should be redesigned as one file may produce several Hints which appear separately in the tree for management. Not good. In the meantime, please do NOT use "-" in hint names. This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss |