|
Re: No layout registered with default id [message #544941 is a reply to message #544792] |
Tue, 06 July 2010 07:18 |
|
Hi,
could you post the plugin.xml of your example project?
Ralf
Ionut wrote:
> Hello,
>
> I am trying to run a simple (i.e. hello world) RAP application which
> contains a view with a label.
> When I try to run the application I am encountering the following error:
>
> osgi> 2010-07-05 16:56:31.593:INFO:org.mortbay.log:Logging to
> STDERRorg.mortbay.log via org.mortbay.log.Slf4jLog
> 2010-07-05 16:56:31.671:INFO::jetty-6.1.x
> 2010-07-05 16:56:32.140:INFO::Started SelectChannelConnector@0.0.0.0:1532
> !SESSION 2010-07-05 16:56:30.421
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.6.0_20
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Command-line arguments: -dev
> file:D:/work/eclipse_workspaces/.metadata/.plugins/org.eclip se.pde.core/Cat
> Shelter Manager/dev.properties -os win32 -ws win32 -arch x86 -consoleLog
> -console -consolelog
>
> !ENTRY org.eclipse.rap.ui 4 0 2010-07-05 16:56:48.781
> !MESSAGE Unhandled event loop exception
> !STACK 0
> java.lang.IllegalArgumentException: no layout registered with default id
> (LayoutRegistry.DEFAULT_LAYOUT_ID) or no layout activated over branding
> extension.
> at
> org.eclipse.rap.ui.interactiondesign.layout.ElementBuilder.<init >(ElementBuilder.java:96)
>
> at
> org.eclipse.rap.internal.design.example.builder.DummyBuilder . <init>(DummyBuilder.java:23)
>
> at
> org.eclipse.rap.internal.design.example.managers.CoolBarMana ger. <init>(CoolBarManager.java:140)
>
> at
> org.eclipse.rap.internal.design.example.business.BusinessPre sentationFactory.createCoolBarManager(BusinessPresentationFa ctory.java:31)
>
> at
> org.eclipse.ui.internal.WorkbenchWindow.createCoolBarManager 2(WorkbenchWindow.java:3742)
>
> at
> org.eclipse.jface.window.ApplicationWindow.addCoolBar(Applic ationWindow.java:288)
>
> at
> org.eclipse.ui.internal.WorkbenchWindow.<init>(WorkbenchWindow.java:347)
> at
> org.eclipse.ui.internal.tweaklets.Workbench3xImplementation. createWorkbenchWindow(Workbench3xImplementation.java:29)
>
> at
> org.eclipse.ui.internal.Workbench.newWorkbenchWindow(Workben ch.java:1676)
> at org.eclipse.ui.internal.Workbench.access$11(Workbench.java:1 674)
> at
> org.eclipse.ui.internal.Workbench$16.runWithException(Workbe nch.java:954)
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:32)
>
> at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.j ava:187)
> at
> org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchroniz er.java:150)
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:1019)
> at
> org.eclipse.ui.internal.StartupThreading.runWithWorkbenchExc eptions(StartupThreading.java:55)
>
> at
> org.eclipse.ui.internal.Workbench.busyOpenWorkbenchWindow(Wo rkbench.java:952)
>
> at
> org.eclipse.ui.internal.Workbench.doOpenFirstTimeWindow(Work bench.java:1799)
>
> at
> org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbe nch.java:1735)
> at
> org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWin dow(WorkbenchConfigurer.java:188)
>
> at
> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:790)
>
> at
> org.eclipse.ui.internal.Workbench$25.runWithException(Workbe nch.java:1341)
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:32)
>
> at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.j ava:187)
> at
> org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchroniz er.java:150)
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:1019)
> at
> org.eclipse.ui.internal.StartupThreading.runWithoutException s(StartupThreading.java:110)
>
> at org.eclipse.ui.internal.Workbench.init(Workbench.java:1336)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2315)
> at org.eclipse.ui.internal.Workbench.access$5(Workbench.java:22 06)
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:424)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>
> at
> org.eclipse.jface.internal.databinding.realmadapter.RealmAda pter.run(RealmAdapter.java:44)
>
> at
> org.eclipse.rap.ui.internal.RealmAdapterHook.runWithDefault( RealmAdapterHook.java:48)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:427)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:157)
> at catshelter.CatEntrypoint.createUI(CatEntrypoint.java:18)
> at
> org.eclipse.rwt.internal.lifecycle.EntryPointManager.createU I(EntryPointManager.java:92)
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWT LifeCycle.java:244)
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(RWTLifeCycle.java:113)
>
> at java.lang.Thread.run(Unknown Source)
> at org.eclipse.rwt.internal.lifecycle.UIThread.run(UIThread.jav a:102)
>
> I am running RAP version 1.3 on Eclipse Helios. I have successfully ran
> the org.eclipse.rap.demo application so I don't think it is a problem
> with the RAP installation. Does anyone have an advice for this issue?
>
> Thank you,
> Ionut.
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04228 seconds