<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    使用ResourceNavigator出現的問題解決

    Posted on 2007-03-29 10:09 nemo 閱讀(1078) 評論(2)  編輯  收藏 所屬分類: EclipseRCP/SWT/JFACE

    When starting an eclipse instance (using the current development version) that uses the ResourceNavigator plugin, you might experience an exception during startup.

    ! ENTRY?org.eclipse.equinox.registry? 4 ? 1 ? 2007 - 02 - 04 ? 13 : 12 : 21.150
    ! MESSAGE?Unable?to?create?view?ID?org.eclipse.ui.views.ResourceNavigator:?Plug - in? " org.eclipse.ui.ide " ?was?unable?to?instantiate? class ? " org.eclipse.ui.views.navigator.ResourceNavigator " .
    ! STACK? 0
    java.lang.IllegalStateException
    ????at?org.eclipse.core.runtime.Platform.getPluginRegistry(Platform.java:
    748 )
    ????at?org.eclipse.core.runtime.Platform.getPlugin(Platform.java:
    723 )
    ????at?org.eclipse.ui.views.navigator.ResourceNavigator.initLinkingEnabled(ResourceNavigator.java:
    413 )
    ????at?org.eclipse.ui.views.navigator.ResourceNavigator.
    < init > (ResourceNavigator.java: 241 )
    ????at?sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native?Method)
    ????at?sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:
    39 )
    ????at?sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:
    27 )
    ????at?java.lang.reflect.Constructor.newInstance(Constructor.java:
    494 )
    ????at?java.lang.Class.newInstance0(Class.java:
    350 )
    ????at?java.lang.Class.newInstance(Class.java:
    303 )
    ????at?org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:
    170 )
    ????at?org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:
    787 )
    ????at?org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:
    243 )
    ????at?org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:
    51 )
    ????at?org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:
    234 )
    ????at?org.eclipse.ui.internal.registry.ViewDescriptor.createView(ViewDescriptor.java:
    69 )
    ????at?org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:
    305 )
    ????at?org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:
    210 )
    ????at?org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:
    566 )
    ????at?org.eclipse.ui.internal.WorkbenchPage$ActivationList.setActive(WorkbenchPage.java:
    3881 )
    ????at?org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:
    2905 )
    ????at?org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:
    1948 )
    ????at?org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.java:
    2888 )
    ????at?org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:
    1696 )
    ????at?org.eclipse.ui.internal.Workbench.access$
    11 (Workbench.java: 1681 )
    ????at?org.eclipse.ui.internal.Workbench$
    18 .run(Workbench.java: 1560 )
    ????at?org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:
    37 )
    ????at?org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:
    1504 )
    ????at?org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:
    183 )
    ????at?org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:
    751 )
    ????at?org.eclipse.ui.internal.Workbench.init(Workbench.java:
    1109 )
    ????at?org.eclipse.ui.internal.Workbench.runUI(Workbench.java:
    1878 )
    ????at?org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:
    425 )
    ????at?org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:
    149 )
    ????at?org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:
    95 )
    ????at?sun.reflect.NativeMethodAccessorImpl.invoke0(Native?Method)
    ????at?sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
    39 )
    ????at?sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
    25 )
    ????at?java.lang.reflect.Method.invoke(Method.java:
    585 )
    ????at?org.eclipse.equinox.internal.app.EclipseAppContainer.callMethod(EclipseAppContainer.java:
    522 )
    ????at?org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:
    147 )
    ????at?org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:
    104 )
    ????at?org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:
    74 )
    ????at?org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
    354 )
    ????at?org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
    170 )
    ????at?sun.reflect.NativeMethodAccessorImpl.invoke0(Native?Method)
    ????at?sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
    39 )
    ????at?sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
    25 )
    ????at?java.lang.reflect.Method.invoke(Method.java:
    585 )
    ????at?org.eclipse.core.launcher.Main.invokeFramework(Main.java:
    339 )
    ????at?org.eclipse.core.launcher.Main.basicRun(Main.java:
    283 )
    ????at?org.eclipse.core.launcher.Main.run(Main.java:
    984 )
    ????at?org.eclipse.core.launcher.Main.main(Main.java:
    959 )

    This causes the navigator view to display nothing but a grey box. It took me some time to figure out what went wrong here, especially since the validation of the plug-in set did not show any problems. You have to enable


    org.eclipse.core.runtime.compatibility?

    in order to get the resource navigator working.
    ------------------------
    即當ResourceNavigator在RCP程序中無法正常調用時,需要在依賴項中增加一個兼容性插件
    org.eclipse.core.runtime.compatibility。這個辦法很好地解決了我遇到的問題。

    Feedback

    # re: 使用ResourceNavigator出現的問題解決  回復  更多評論   

    2007-04-07 20:32 by Long Long Ago
    剛好最近也遇到了這樣的問題,在移植到3.3m5時出現了這樣的問題,多謝。

    # re: 使用ResourceNavigator出現的問題解決  回復  更多評論   

    2008-05-23 12:04 by gerry
    多謝,問題解決了,我原來還以為升級eclipse版本就方法不支持了呢,再次感謝!

    posts - 21, comments - 74, trackbacks - 0, articles - 3

    Copyright © nemo

    主站蜘蛛池模板: 亚洲AV无码码潮喷在线观看| 亚洲高清最新av网站| 亚洲欧洲日产国码久在线观看| 精品在线视频免费| 日本成人免费在线| 羞羞网站在线免费观看| 国产一级特黄高清免费大片| 国产精品亚洲专区在线播放| 日韩精品电影一区亚洲| 中文在线免费不卡视频| 亚洲色婷婷综合久久| 无码专区AAAAAA免费视频| 亚洲美女视频网站| 好大好硬好爽免费视频| 国产成人综合亚洲| 国产AV无码专区亚洲AV漫画 | 成人免费视频软件网站| 亚洲欧美中文日韩视频| 四虎永久精品免费观看| 男人j进女人p免费视频| 久久夜色精品国产亚洲| 99re6在线精品视频免费播放| 亚洲最大在线观看| 日本高清免费不卡视频| 大妹子影视剧在线观看全集免费| 亚洲男人的天堂www| 免费无码VA一区二区三区| 亚洲人成免费电影| 蜜臀91精品国产免费观看| 污视频网站在线观看免费| 日韩一卡2卡3卡4卡新区亚洲| 99精品在线免费观看| 亚洲暴爽av人人爽日日碰| 亚洲熟妇无码八AV在线播放| www视频免费看| 无码人妻一区二区三区免费视频| 国产av天堂亚洲国产av天堂 | 亚洲人午夜射精精品日韩| 久久久久久成人毛片免费看| 亚洲色大成网站www尤物| 亚洲无码在线播放|