<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 閱讀(1089) 評論(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

    主站蜘蛛池模板: 99xxoo视频在线永久免费观看| 无码天堂亚洲国产AV| 永久免费AV无码网站国产| 免费**毛片在线播放直播| 亚洲日本VA午夜在线影院| 日韩精品福利片午夜免费观着| 亚洲黄色片在线观看| 午夜免费啪视频在线观看| 亚洲尹人九九大色香蕉网站| 国产精品99久久免费观看| 久久久久亚洲AV片无码| 57pao一国产成永久免费| 亚洲高清美女一区二区三区| 四虎最新永久免费视频| 99999久久久久久亚洲| 亚洲国产美女在线观看| 男女免费观看在线爽爽爽视频| 国产乱子伦精品免费女| 特级做a爰片毛片免费看| 日日噜噜噜噜夜夜爽亚洲精品| 成人av片无码免费天天看| 暖暖在线日本免费中文| 亚洲国产精品无码久久一线| 亚洲精品久久无码av片俺去也| 日韩免费a级在线观看| 丁香六月婷婷精品免费观看| 国产A在亚洲线播放| 99在线精品免费视频九九视| 亚洲综合中文字幕无线码| 免费人成在线观看网站品爱网日本| 亚欧洲精品在线视频免费观看| 久久久久亚洲精品影视| 德国女人一级毛片免费| igao激情在线视频免费| 久久99亚洲网美利坚合众国| 在线成人a毛片免费播放| av电影在线免费看| 亚洲免费观看网站| 69视频在线观看免费| 久久久久亚洲Av片无码v| 成年女人免费视频播放体验区|