Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » "View descriptor not found"
"View descriptor not found" [message #503585] Mon, 14 December 2009 20:05 Go to next message
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 #503654 is a reply to message #503585] Tue, 15 December 2009 08:51 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.
Messages: 621
Registered: July 2009
Senior Member
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>
Re: "View descriptor not found" [message #503949 is a reply to message #503654] Wed, 16 December 2009 10:26 Go to previous message
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>
Previous Topic:new version cvs do not recursive
Next Topic:Pop-up Menus with Files
Goto Forum:
  


Current Time: Tue Sep 16 21:38:32 GMT 2014

Powered by FUDForum. Page generated in 0.23408 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software