"View descriptor not found" [message #503585] |
Mon, 14 December 2009 20:05 |
Eclipse User |
|
|
|
Originally posted by: yoduderoo.netscape.net
Hi,
How can I debug "View descriptor not found" ? I am doubly, triply,
quadruply sure that the view id passed in addView() (called during the
perspective's createInitialLayout() method) is really the view id of the
view to which I refer and that view is declared in its plugin. In fact,
it works in my workspace but not in the binary despite the very same
plugins being present in the binary.
Nevertheless, I get "View descriptor not found" (stack trace attached at
end).
Any tips appreciated.
Thanks, y
!ENTRY org.eclipse.ui 4 4 2009-12-14 20:57:53.854
!MESSAGE Exception in
org.eclipse.ui.internal.FolderLayout.addView(String):
org.eclipse.ui.PartInitException: View descriptor not found:
foo.UserAttrGraphView
!ENTRY org.eclipse.ui 4 4 2009-12-14 20:57:53.869
!MESSAGE Exception in
org.eclipse.ui.internal.FolderLayout.addView(String):
org.eclipse.ui.PartInitException: View descriptor not found:
foo.UserAttrGraphView
!STACK 1
org.eclipse.ui.PartInitException: View descriptor not found:
foo.UserAttrGraphView
at org.eclipse.ui.internal.FolderLayout.addView(FolderLayout.ja va:75)
at
foo.BarPerspectiveFactory.createInitialLayout(BarPerspective Factory.java:29)
|
|
|
|
Re: "View descriptor not found" [message #503949 is a reply to message #503654] |
Wed, 16 December 2009 10:26 |
Eclipse User |
|
|
|
Originally posted by: yoduderoo.netscape.net
Yes, the view class had a default constructor.
I was driven half-mad and finally created a new plugin and copied the
sources over. Then it worked. Never understood what the problem was.
Thanks, y
Prakash G.R. wrote:
> On 15/12/09 1:35 AM, Yodude wrote:
>> Hi,
>> How can I debug "View descriptor not found" ? I am doubly, triply,
>> quadruply sure that the view id passed in addView() (called during the
>> perspective's createInitialLayout() method) is really the view id of the
>> view to which I refer and that view is declared in its plugin. In fact,
>> it works in my workspace but not in the binary despite the very same
>> plugins being present in the binary.
>>
>> Nevertheless, I get "View descriptor not found" (stack trace attached at
>> end).
>
> Does the view class has a default constructor?
>
> - Prakash
> Platform UI Team, IBM
>
> Blog <http://blog.eclipse-tips.com>
> Twitter <http://www.twitter.com/Eclipse_Tips>
|
|
|
Powered by
FUDForum. Page generated in 0.02959 seconds