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.
This issue was reported manually by mmirilovic. It already has 22 duplicates Build: NetBeans IDE 7.1 RC2 (Build 201111302200) VM: Java HotSpot(TM) Client VM, 22.0-b10, Java(TM) SE Runtime Environment, 1.7.0_02-b13 OS: Windows 7 User Comments: Mr_DoanTuan: How to fix its? Thanks Mr_DoanTuan: help me. help me. help me help me. help me. help me help me. help me. help me help me. help me. help me Stacktrace: java.lang.IllegalArgumentException: We expect CloneableEditorSupport in AbstractLookup[IL[org.netbeans.modules.portalpack.portlets.genericportlets.node.ddloaders.PortletXMLDataObject@152f384[C:\Users\DoanTuan\Documents\NetBeansProjects\PortletDangNhap\web\WEB-INF\portlet.xml@38605a38:83f1d7], org.openide.cookies.EditorCookie, org.openide.cookies.OpenCookie, org.openide.cookies.CloseCookie, org.openide.cookies.PrintCookie, IL[org.openide.loaders.XMLDataObject$2@12b9a0d, IL[C:\Users\DoanTuan\Documents\NetBeansProjects\PortletDangNhap\web\WEB-INF\portlet.xml@38605a38:83f1d7] at org.netbeans.core.spi.multiview.text.MultiViewEditorElement.<init>(MultiViewEditorElement.java:97) at sun.reflect.GeneratedConstructorAccessor52.newInstance(GeneratedConstructorAccessor52.java:0) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at org.netbeans.core.spi.multiview.MultiViewFactory$MapMVD.createElement(MultiViewFactory.java:431) at org.netbeans.core.multiview.MultiViewModel.getElementForDescription(MultiViewModel.java:209)
Created attachment 114351 [details] stacktrace
*** Bug 206901 has been marked as a duplicate of this bug. ***
lkp.lookup(CloneableEditorSupport.class) returns null. But maybe the actual lookup is wrongly written and one could first ask for lkp.lookup(EditorCookie.class) and then the query for CloneableEditorSupport would succeed. Anyway this bug should probabaly be evaluated by org.netbeans.modules.portalpack.portlets.genericportlets.node.ddloaders.PortletXMLDataObject
Looks like the portlet support is broken.
this is not a window system bug, the owner of portlet support (whoever that is) must take care of this.