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.
ViewCookie is not found on HTMLDataObject due to strange implementation of createCookie method. Node.Cookie createCookie (Class klass) { ... if (klass == ViewSupport.class) { return new ViewSupport(getPrimaryEntry()); } ... } where ViewSupport implements ViewCookie, but the if condition above is not satisfied for ViewCookie. Condition should like: if (ViewCookie.isAssignableFrom (klass)) { return new ViewSupport(getPrimaryEntry()); } The same holds for HtmlEditorSupport case in the same method.
Should be OK now http://html.netbeans.org/source/browse/html/src/org/netbeans/modules/html/HtmlDataObject.java.diff?r1=1.13&r2=1.14
verified in NetBeans IDE 3.4 Beta 2 (Build 20020620-0722)
Resolved for 3.3.x or earlier, no new info since then -> closing.