Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » MESSAGE Exception in org.eclipse.ui.internal.PageLayout.addView(Could not create view)
MESSAGE Exception in org.eclipse.ui.internal.PageLayout.addView [message #910811] Mon, 10 September 2012 08:31 Go to next message
A Bench is currently offline A Bench
Messages: 3
Registered: September 2012
Junior Member
i become this error : Could not create view
and i dont know why! can u help me please!!
Thanks!!
A
Re: MESSAGE Exception in org.eclipse.ui.internal.PageLayout.addView [message #910812 is a reply to message #910811] Mon, 10 September 2012 08:32 Go to previous messageGo to next message
A Bench is currently offline A Bench
Messages: 3
Registered: September 2012
Junior Member
2012-09-10 14:21:45.971:INFO:oejs.Server:jetty-8.1.3.v20120522
osgi> 2012-09-10 14:21:47.561:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:9199
!SESSION 2012-09-10 14:21:45.181 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_06
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Command-line arguments: -dev file:E:/RAP_Workspace/.metadata/.plugins/org.eclipse.pde.core/de.vogella.rap.first/dev.properties -os win32 -ws win32 -arch x86_64 -console -consolelog -data E:\RAP_Workspace/.metadata/.plugins/org.eclipse.rap.ui.launch/de.vogella.rap.first

!ENTRY org.eclipse.rap.ui 4 4 2012-09-10 14:21:50.229
!MESSAGE Exception in org.eclipse.ui.internal.PageLayout.addView: org.eclipse.ui.PartInitException: Could not create view: de.vogella.rap.first.View

!ENTRY org.eclipse.rap.ui 4 4 2012-09-10 14:21:50.229
!MESSAGE Exception in org.eclipse.ui.internal.PageLayout.addView: org.eclipse.ui.PartInitException: Could not create view: de.vogella.rap.first.View
!STACK 1
org.eclipse.ui.PartInitException: Could not create view: de.vogella.rap.first.View
at org.eclipse.ui.internal.ViewFactory.createView(ViewFactory.java:157)
at org.eclipse.ui.internal.LayoutHelper.createView(LayoutHelper.java:161)
at org.eclipse.ui.internal.PageLayout.createView(PageLayout.java:542)
at org.eclipse.ui.internal.PageLayout.addView(PageLayout.java:415)
at org.eclipse.ui.internal.PageLayout.addStandaloneView(PageLayout.java:890)
at de.vogella.rap.first.Perspective.createInitialLayout(Perspective.java:14)
at org.eclipse.ui.internal.Perspective.loadPredefinedPersp(Perspective.java:815)
at org.eclipse.ui.internal.Perspective.createPresentation(Perspective.java:271)
at org.eclipse.ui.internal.Perspective.<init>(Perspective.java:157)
at org.eclipse.ui.internal.tweaklets.Workbench3xImplementation.createPerspective(Workbench3xImplementation.java:53)
at org.eclipse.ui.internal.WorkbenchPage.createPerspective(WorkbenchPage.java:1670)
at org.eclipse.ui.internal.WorkbenchPage.init(WorkbenchPage.java:2450)
at org.eclipse.ui.internal.WorkbenchPage.<init>(WorkbenchPage.java:566)
at org.eclipse.ui.internal.tweaklets.Workbench3xImplementation.createWorkbenchPage(Workbench3xImplementation.java:37)
at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:760)
at org.eclipse.ui.internal.Workbench$18.runWithException(Workbench.java:1267)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:32)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:229)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:1061)
at org.eclipse.ui.internal.StartupThreading.runWithWorkbenchExceptions(StartupThreading.java:55)
at org.eclipse.ui.internal.Workbench.busyOpenWorkbenchWindow(Workbench.java:1263)
at org.eclipse.ui.internal.Workbench.doOpenFirstTimeWindow(Workbench.java:2062)
at org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbench.java:1993)
at org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWindow(WorkbenchConfigurer.java:188)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:790)
at org.eclipse.ui.internal.Workbench$27.runWithException(Workbench.java:1641)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:32)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:229)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:1061)
at org.eclipse.ui.internal.StartupThreading.runWithoutExceptions(StartupThreading.java:110)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:1636)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2655)
at org.eclipse.ui.internal.Workbench.access$5(Workbench.java:2530)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:702)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:685)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:157)
at de.vogella.rap.first.Application.start(Application.java:18)
at org.eclipse.rap.ui.internal.application.EntryPointApplicationWrapper.createUI(EntryPointApplicationWrapper.java:38)
at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWTLifeCycle.java:177)
at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:289)
at java.lang.Thread.run(Unknown Source)
at org.eclipse.rwt.internal.lifecycle.UIThread.run(UIThread.java:102)
!SUBENTRY 1 org.eclipse.rap.ui 4 0 2012-09-10 14:21:50.239
!MESSAGE Could not create view: de.vogella.rap.first.View
Re: MESSAGE Exception in org.eclipse.ui.internal.PageLayout.addView [message #910881 is a reply to message #910812] Mon, 10 September 2012 10:57 Go to previous message
Ivan Furnadjiev is currently offline Ivan Furnadjiev
Messages: 1783
Registered: July 2009
Senior Member
Hi,
look at the stack trace -
org.eclipse.ui.internal.ViewFactory.createView(ViewFactory.java:157). It
seems that the view descriptor can not be found in the view registry for
the specified view id. Make sure that the view with the id specified in
the Perspective#createInitialLayout is already registered within
"org.eclipse.ui.views" extension point.
Best,
Ivan

On 9/10/2012 3:32 PM, A Bench wrote:
> 2012-09-10 14:21:45.971:INFO:oejs.Server:jetty-8.1.3.v20120522
> osgi> 2012-09-10 14:21:47.561:INFO:oejs.AbstractConnector:Started
> mailto:SelectChannelConnector@0.0.0.0:9199
> !SESSION 2012-09-10 14:21:45.181
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.7.0_06
> java.vendor=Oracle Corporation
> BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
> Command-line arguments: -dev
> file:E:/RAP_Workspace/.metadata/.plugins/org.eclipse.pde.core/de.vogella.rap.first/dev.properties
> -os win32 -ws win32 -arch x86_64 -console -consolelog -data
> E:\RAP_Workspace/.metadata/.plugins/org.eclipse.rap.ui.launch/de.vogella.rap.first
>
> !ENTRY org.eclipse.rap.ui 4 4 2012-09-10 14:21:50.229
> !MESSAGE Exception in org.eclipse.ui.internal.PageLayout.addView:
> org.eclipse.ui.PartInitException: Could not create view:
> de.vogella.rap.first.View
>
> !ENTRY org.eclipse.rap.ui 4 4 2012-09-10 14:21:50.229
> !MESSAGE Exception in org.eclipse.ui.internal.PageLayout.addView:
> org.eclipse.ui.PartInitException: Could not create view:
> de.vogella.rap.first.View
> !STACK 1
> org.eclipse.ui.PartInitException: Could not create view:
> de.vogella.rap.first.View
> at
> org.eclipse.ui.internal.ViewFactory.createView(ViewFactory.java:157)
> at
> org.eclipse.ui.internal.LayoutHelper.createView(LayoutHelper.java:161)
> at org.eclipse.ui.internal.PageLayout.createView(PageLayout.java:542)
> at org.eclipse.ui.internal.PageLayout.addView(PageLayout.java:415)
> at
> org.eclipse.ui.internal.PageLayout.addStandaloneView(PageLayout.java:890)
> at
> de.vogella.rap.first.Perspective.createInitialLayout(Perspective.java:14)
> at
> org.eclipse.ui.internal.Perspective.loadPredefinedPersp(Perspective.java:815)
> at
> org.eclipse.ui.internal.Perspective.createPresentation(Perspective.java:271)
> at org.eclipse.ui.internal.Perspective.<init>(Perspective.java:157)
> at
> org.eclipse.ui.internal.tweaklets.Workbench3xImplementation.createPerspective(Workbench3xImplementation.java:53)
> at
> org.eclipse.ui.internal.WorkbenchPage.createPerspective(WorkbenchPage.java:1670)
> at
> org.eclipse.ui.internal.WorkbenchPage.init(WorkbenchPage.java:2450)
> at
> org.eclipse.ui.internal.WorkbenchPage.<init>(WorkbenchPage.java:566)
> at
> org.eclipse.ui.internal.tweaklets.Workbench3xImplementation.createWorkbenchPage(Workbench3xImplementation.java:37)
> at
> org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:760)
> at
> org.eclipse.ui.internal.Workbench$18.runWithException(Workbench.java:1267)
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:32)
> at
> org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:229)
> at
> org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:1061)
> at
> org.eclipse.ui.internal.StartupThreading.runWithWorkbenchExceptions(StartupThreading.java:55)
> at
> org.eclipse.ui.internal.Workbench.busyOpenWorkbenchWindow(Workbench.java:1263)
> at
> org.eclipse.ui.internal.Workbench.doOpenFirstTimeWindow(Workbench.java:2062)
> at
> org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbench.java:1993)
> at
> org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWindow(WorkbenchConfigurer.java:188)
> at
> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:790)
> at
> org.eclipse.ui.internal.Workbench$27.runWithException(Workbench.java:1641)
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:32)
> at
> org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:229)
> at
> org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:1061)
> at
> org.eclipse.ui.internal.StartupThreading.runWithoutExceptions(StartupThreading.java:110)
> at org.eclipse.ui.internal.Workbench.init(Workbench.java:1636)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2655)
> at org.eclipse.ui.internal.Workbench.access$5(Workbench.java:2530)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:702)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:685)
> at
> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:157)
> at de.vogella.rap.first.Application.start(Application.java:18)
> at
> org.eclipse.rap.ui.internal.application.EntryPointApplicationWrapper.createUI(EntryPointApplicationWrapper.java:38)
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWTLifeCycle.java:177)
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:289)
> at java.lang.Thread.run(Unknown Source)
> at org.eclipse.rwt.internal.lifecycle.UIThread.run(UIThread.java:102)
> !SUBENTRY 1 org.eclipse.rap.ui 4 0 2012-09-10 14:21:50.239
> !MESSAGE Could not create view: de.vogella.rap.first.View
>

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/

On 9/10/2012 3:32 PM, A Bench wrote:
> 2012-09-10 14:21:45.971:INFO:oejs.Server:jetty-8.1.3.v20120522
> osgi> 2012-09-10 14:21:47.561:INFO:oejs.AbstractConnector:Started
> mailto:SelectChannelConnector@0.0.0.0:9199
> !SESSION 2012-09-10 14:21:45.181
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.7.0_06
> java.vendor=Oracle Corporation
> BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
> Command-line arguments: -dev
> file:E:/RAP_Workspace/.metadata/.plugins/org.eclipse.pde.core/de.vogella.rap.first/dev.properties
> -os win32 -ws win32 -arch x86_64 -console -consolelog -data
> E:\RAP_Workspace/.metadata/.plugins/org.eclipse.rap.ui.launch/de.vogella.rap.first
>
> !ENTRY org.eclipse.rap.ui 4 4 2012-09-10 14:21:50.229
> !MESSAGE Exception in org.eclipse.ui.internal.PageLayout.addView:
> org.eclipse.ui.PartInitException: Could not create view:
> de.vogella.rap.first.View
>
> !ENTRY org.eclipse.rap.ui 4 4 2012-09-10 14:21:50.229
> !MESSAGE Exception in org.eclipse.ui.internal.PageLayout.addView:
> org.eclipse.ui.PartInitException: Could not create view:
> de.vogella.rap.first.View
> !STACK 1
> org.eclipse.ui.PartInitException: Could not create view:
> de.vogella.rap.first.View
> at
> org.eclipse.ui.internal.ViewFactory.createView(ViewFactory.java:157)
> at
> org.eclipse.ui.internal.LayoutHelper.createView(LayoutHelper.java:161)
> at org.eclipse.ui.internal.PageLayout.createView(PageLayout.java:542)
> at org.eclipse.ui.internal.PageLayout.addView(PageLayout.java:415)
> at
> org.eclipse.ui.internal.PageLayout.addStandaloneView(PageLayout.java:890)
> at
> de.vogella.rap.first.Perspective.createInitialLayout(Perspective.java:14)
> at
> org.eclipse.ui.internal.Perspective.loadPredefinedPersp(Perspective.java:815)
> at
> org.eclipse.ui.internal.Perspective.createPresentation(Perspective.java:271)
> at org.eclipse.ui.internal.Perspective.<init>(Perspective.java:157)
> at
> org.eclipse.ui.internal.tweaklets.Workbench3xImplementation.createPerspective(Workbench3xImplementation.java:53)
> at
> org.eclipse.ui.internal.WorkbenchPage.createPerspective(WorkbenchPage.java:1670)
> at
> org.eclipse.ui.internal.WorkbenchPage.init(WorkbenchPage.java:2450)
> at
> org.eclipse.ui.internal.WorkbenchPage.<init>(WorkbenchPage.java:566)
> at
> org.eclipse.ui.internal.tweaklets.Workbench3xImplementation.createWorkbenchPage(Workbench3xImplementation.java:37)
> at
> org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:760)
> at
> org.eclipse.ui.internal.Workbench$18.runWithException(Workbench.java:1267)
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:32)
> at
> org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:229)
> at
> org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:1061)
> at
> org.eclipse.ui.internal.StartupThreading.runWithWorkbenchExceptions(StartupThreading.java:55)
> at
> org.eclipse.ui.internal.Workbench.busyOpenWorkbenchWindow(Workbench.java:1263)
> at
> org.eclipse.ui.internal.Workbench.doOpenFirstTimeWindow(Workbench.java:2062)
> at
> org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbench.java:1993)
> at
> org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWindow(WorkbenchConfigurer.java:188)
> at
> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:790)
> at
> org.eclipse.ui.internal.Workbench$27.runWithException(Workbench.java:1641)
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:32)
> at
> org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:229)
> at
> org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:1061)
> at
> org.eclipse.ui.internal.StartupThreading.runWithoutExceptions(StartupThreading.java:110)
> at org.eclipse.ui.internal.Workbench.init(Workbench.java:1636)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2655)
> at org.eclipse.ui.internal.Workbench.access$5(Workbench.java:2530)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:702)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:685)
> at
> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:157)
> at de.vogella.rap.first.Application.start(Application.java:18)
> at
> org.eclipse.rap.ui.internal.application.EntryPointApplicationWrapper.createUI(EntryPointApplicationWrapper.java:38)
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWTLifeCycle.java:177)
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:289)
> at java.lang.Thread.run(Unknown Source)
> at org.eclipse.rwt.internal.lifecycle.UIThread.run(UIThread.java:102)
> !SUBENTRY 1 org.eclipse.rap.ui 4 0 2012-09-10 14:21:50.239
> !MESSAGE Could not create view: de.vogella.rap.first.View
>

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:NullPointerException in SetPerspective
Next Topic:Single sourcing editors
Goto Forum:
  


Current Time: Fri Aug 01 11:58:59 EDT 2014

Powered by FUDForum. Page generated in 0.06477 seconds