| Perspective Article: Problems opening perspective [message #56686] | 
Fri, 30 May 2003 16:15   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: eipe.uiuc.edu 
 
Hi 
 
I was following the Perspective Article 
( http://www.eclipse.org/articles/using-perspectives/Perspecti veArticle.html); 
I've created the perspective, and when I re-start Eclipse, the 'Test' 
perspective shows up. When I click on it to open it (Window -> Open 
Perspective -> Other -> Test), I get a dialog box with the following 
message: 
 
Problems opening perspective: (org.eclipse.ui.articles.perspective.Test) 
 
That doesn't seem to indicate any possible course of action.  
 
Did anyone have a similar problem when they tried this? 
 
Thanks in advance 
 
Rohit Eipe
 |  
 |  
  | 
 | 
 | 
| Re: Perspective Article: Problems opening perspective [message #56875 is a reply to message #56822] | 
Fri, 30 May 2003 17:26    | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: eipe.uiuc.edu 
 
Simon Arsenault wrote: 
 
> Did you check the .log file for information why its failing? 
 
> Simon :-) 
 
> "Rohit Eipe" <eipe@uiuc.edu> wrote in message 
> news:bb8fgs$ebi$1@rogue.oti.com... 
> > Rohit Eipe wrote: 
> > 
> > > Hi 
> > 
> > > I was following the Perspective Article 
> > > 
> ( http://www.eclipse.org/articles/using-perspectives/Perspecti veArticle.html) 
> ; 
> > > I\'ve created the perspective, and when I re-start Eclipse, the \'Test\' 
> > > perspective shows up. When I click on it to open it (Window -> Open 
> > > Perspective -> Other -> Test), I get a dialog box with the following 
> > > message: 
> > 
> > > Problems opening perspective: (org.eclipse.ui.articles.perspective.Test) 
> > 
> > > That doesn\'t seem to indicate any possible course of action. 
> > 
> > > Did anyone have a similar problem when they tried this? 
> > 
> > > Thanks in advance 
> > 
> > > Rohit Eipe 
> > 
> > I figured out what the problem was (see above), but nothing happens when I 
> > choose the Test Perspective, and click ok. I don't see a window like the 
> > one depicted in the article. 
> > 
> > If you followed the article and everything worked, could you supply a src 
> > file that I can look at please? 
> > 
> > Thanks 
> > 
> > Rohit Eipe 
> > 
> > 
> > 
> > 
 
Hi 
 
I checked the .log file, and this is what is being appended to it 
everytime I try to open the TestPerspective: 
 
!ENTRY org.eclipse.ui 4 4 May 30, 2003 16:16:49.832 
!MESSAGE Unhandled exception caught in event loop. 
!ENTRY org.eclipse.ui 4 0 May 30, 2003 16:16:49.843 
!MESSAGE java.lang.ClassCastException 
!STACK 0 
java.lang.ClassCastException 
	at 
 org.eclipse.ui.internal.registry.PerspectiveDescriptor.creat eFactory(PerspectiveDescriptor.java:93) 
	at 
 org.eclipse.ui.internal.Perspective.loadPredefinedPersp(Pers pective.java:643) 
	at 
 org.eclipse.ui.internal.Perspective.createPresentation(Persp ective.java:277) 
	at org.eclipse.ui.internal.Perspective.<init>(Perspective.java:176) 
	at 
 org.eclipse.ui.internal.WorkbenchPage.createPerspective(Work benchPage.java:959) 
	at 
 org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(Wor kbenchPage.java:614) 
	at  org.eclipse.ui.internal.WorkbenchPage.access$8(WorkbenchPage .java:606) 
	at  org.eclipse.ui.internal.WorkbenchPage$11.run(WorkbenchPage.j ava:2670) 
	at  org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:65) 
	at 
 org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:2668) 
	at 
 org.eclipse.ui.internal.ChangeToPerspectiveMenu.run(ChangeTo PerspectiveMenu.java:52) 
	at  org.eclipse.ui.actions.PerspectiveMenu.run(PerspectiveMenu.j ava:322) 
	at 
 org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveM enu.java:337) 
	at 
 org.eclipse.ui.actions.PerspectiveMenu$4.widgetSelected(Pers pectiveMenu.java:110) 
	at 
 org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:87) 
	at  org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77) 
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:836) 
	at  org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1775) 
	at  org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1483) 
	at  org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1271) 
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:1254) 
	at 
 org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.java:845) 
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461) 
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39) 
	at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25) 
	at java.lang.reflect.Method.invoke(Method.java:324) 
	at org.eclipse.core.launcher.Main.basicRun(Main.java:247) 
	at org.eclipse.core.launcher.Main.run(Main.java:703) 
	at org.eclipse.core.launcher.Main.main(Main.java:539) 
 
Any help is appreciated. Thanks. 
 
Rohit
 |  
 |  
  | 
| Re: Perspective Article: Problems opening perspective [message #57063 is a reply to message #56875] | 
Fri, 30 May 2003 19:47   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: eipe.uiuc.edu 
 
Rohit Eipe wrote: 
 
> Simon Arsenault wrote: 
 
> > Did you check the .log file for information why its failing? 
 
> > Simon :-) 
 
> > \"Rohit Eipe\" <eipe@uiuc.edu> wrote in message 
> > news:bb8fgs$ebi$1@rogue.oti.com... 
> > > Rohit Eipe wrote: 
> > > 
> > > > Hi 
> > > 
> > > > I was following the Perspective Article 
> > > > 
> > 
( http://www.eclipse.org/articles/using-perspectives/Perspecti veArticle.html) 
> > ; 
> > > > I\\\'ve created the perspective, and when I re-start Eclipse, the 
\\\'Test\\\' 
> > > > perspective shows up. When I click on it to open it (Window -> Open 
> > > > Perspective -> Other -> Test), I get a dialog box with the following 
> > > > message: 
> > > 
> > > > Problems opening perspective: 
(org.eclipse.ui.articles.perspective.Test) 
> > > 
> > > > That doesn\\\'t seem to indicate any possible course of action. 
> > > 
> > > > Did anyone have a similar problem when they tried this? 
> > > 
> > > > Thanks in advance 
> > > 
> > > > Rohit Eipe 
> > > 
> > > I figured out what the problem was (see above), but nothing happens when 
I 
> > > choose the Test Perspective, and click ok. I don\'t see a window like the 
> > > one depicted in the article. 
> > > 
> > > If you followed the article and everything worked, could you supply a src 
> > > file that I can look at please? 
> > > 
> > > Thanks 
> > > 
> > > Rohit Eipe 
> > > 
> > > 
> > > 
> > > 
 
> Hi 
 
> I checked the .log file, and this is what is being appended to it 
> everytime I try to open the TestPerspective: 
 
> !ENTRY org.eclipse.ui 4 4 May 30, 2003 16:16:49.832 
> !MESSAGE Unhandled exception caught in event loop. 
> !ENTRY org.eclipse.ui 4 0 May 30, 2003 16:16:49.843 
> !MESSAGE java.lang.ClassCastException 
> !STACK 0 
> java.lang.ClassCastException 
> 	at 
> 
 org.eclipse.ui.internal.registry.PerspectiveDescriptor.creat eFactory(PerspectiveDescriptor.java:93) 
> 	at 
>  org.eclipse.ui.internal.Perspective.loadPredefinedPersp(Pers pective.java:643) 
> 	at 
>  org.eclipse.ui.internal.Perspective.createPresentation(Persp ective.java:277) 
> 	at org.eclipse.ui.internal.Perspective.<init>(Perspective.java:176) 
> 	at 
> 
 org.eclipse.ui.internal.WorkbenchPage.createPerspective(Work benchPage.java:959) 
> 	at 
> 
 org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(Wor kbenchPage.java:614) 
> 	at  org.eclipse.ui.internal.WorkbenchPage.access$8(WorkbenchPage .java:606) 
> 	at  org.eclipse.ui.internal.WorkbenchPage$11.run(WorkbenchPage.j ava:2670) 
> 	at  org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:65) 
> 	at 
>  org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:2668) 
> 	at 
> 
 org.eclipse.ui.internal.ChangeToPerspectiveMenu.run(ChangeTo PerspectiveMenu.java:52) 
> 	at  org.eclipse.ui.actions.PerspectiveMenu.run(PerspectiveMenu.j ava:322) 
> 	at 
>  org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveM enu.java:337) 
> 	at 
> 
 org.eclipse.ui.actions.PerspectiveMenu$4.widgetSelected(Pers pectiveMenu.java:110) 
> 	at 
>  org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:87) 
> 	at  org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77) 
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:836) 
> 	at  org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1775) 
> 	at  org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1483) 
> 	at  org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1271) 
> 	at org.eclipse.ui.internal.Workbench.run(Workbench.java:1254) 
> 	at 
> 
 org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.java:845) 
> 	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461) 
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
> 	at 
>  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39) 
> 	at 
> 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25) 
> 	at java.lang.reflect.Method.invoke(Method.java:324) 
> 	at org.eclipse.core.launcher.Main.basicRun(Main.java:247) 
> 	at org.eclipse.core.launcher.Main.run(Main.java:703) 
> 	at org.eclipse.core.launcher.Main.main(Main.java:539) 
 
> Any help is appreciated. Thanks. 
 
> Rohit 
 
Never mind, I figured it out. 
 
Rohit
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.04236 seconds