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.

Bug 206569 - org.netbeans.modules.portalpack.portlets.genericportlets.node.ddloaders.PortletXMLDataObject is broken
Summary: org.netbeans.modules.portalpack.portlets.genericportlets.node.ddloaders.Portl...
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Portalpack (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Satyaranjan D
URL:
Keywords:
: 206901 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-12-20 12:27 UTC by Mr_DoanTuan
Modified: 2016-08-18 18:36 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 183824


Attachments
stacktrace (4.42 KB, text/plain)
2011-12-20 12:27 UTC, Mr_DoanTuan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mr_DoanTuan 2011-12-20 12:27:47 UTC
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)
Comment 1 Mr_DoanTuan 2011-12-20 12:27:49 UTC
Created attachment 114351 [details]
stacktrace
Comment 2 Stanislav Aubrecht 2012-01-04 15:55:49 UTC
*** Bug 206901 has been marked as a duplicate of this bug. ***
Comment 3 Jaroslav Tulach 2012-01-04 16:18:28 UTC
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
Comment 4 Jaroslav Tulach 2012-01-26 13:27:03 UTC
Looks like the portlet support is broken.
Comment 5 Stanislav Aubrecht 2012-02-02 08:50:37 UTC
this is not a window system bug, the owner of portlet support (whoever that is) must take care of this.