<small id='hEkoP'></small><noframes id='hEkoP'>

  • <tfoot id='hEkoP'></tfoot>

    <i id='hEkoP'><tr id='hEkoP'><dt id='hEkoP'><q id='hEkoP'><span id='hEkoP'><b id='hEkoP'><form id='hEkoP'><ins id='hEkoP'></ins><ul id='hEkoP'></ul><sub id='hEkoP'></sub></form><legend id='hEkoP'></legend><bdo id='hEkoP'><pre id='hEkoP'><center id='hEkoP'></center></pre></bdo></b><th id='hEkoP'></th></span></q></dt></tr></i><div id='hEkoP'><tfoot id='hEkoP'></tfoot><dl id='hEkoP'><fieldset id='hEkoP'></fieldset></dl></div>
  • <legend id='hEkoP'><style id='hEkoP'><dir id='hEkoP'><q id='hEkoP'></q></dir></style></legend>

        <bdo id='hEkoP'></bdo><ul id='hEkoP'></ul>
      1. 从插件调用代码时出现问题:“org.eclipse.jface"

        时间:2023-08-22
        <i id='G0MfE'><tr id='G0MfE'><dt id='G0MfE'><q id='G0MfE'><span id='G0MfE'><b id='G0MfE'><form id='G0MfE'><ins id='G0MfE'></ins><ul id='G0MfE'></ul><sub id='G0MfE'></sub></form><legend id='G0MfE'></legend><bdo id='G0MfE'><pre id='G0MfE'><center id='G0MfE'></center></pre></bdo></b><th id='G0MfE'></th></span></q></dt></tr></i><div id='G0MfE'><tfoot id='G0MfE'></tfoot><dl id='G0MfE'><fieldset id='G0MfE'></fieldset></dl></div>

        <small id='G0MfE'></small><noframes id='G0MfE'>

        • <bdo id='G0MfE'></bdo><ul id='G0MfE'></ul>
              <legend id='G0MfE'><style id='G0MfE'><dir id='G0MfE'><q id='G0MfE'></q></dir></style></legend>
              <tfoot id='G0MfE'></tfoot>

                <tbody id='G0MfE'></tbody>
                  本文介绍了从插件调用代码时出现问题:“org.eclipse.jface"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我在 Eclipse 上从 SVN 获得了一个新的 Java 项目,只是尝试在 Eclipse 的项目资源管理器窗口中打开该项目并收到此错误:

                  I've got a new Java project at Eclipse from SVN and just tried to open the project in the Eclipse's Project Explorer window and received this error:

                  从插件调用代码时出现问题:"org.eclipse.jface".

                  Problems occurred when invoking code from plug-in: "org.eclipse.jface".

                  我该如何解决这个问题?

                  How could I fix that issue?

                  异常堆栈跟踪:

                  java.lang.NullPointerException
                      at org.jboss.ide.eclipse.as.classpath.core.ejb3.EJB3ClasspathContainer.getClasspathEntries(EJB3ClasspathContainer.java:115)
                      at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2695)
                      at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2853)
                      at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1958)
                      at org.eclipse.jdt.internal.core.PackageFragmentRoot.getRawClasspathEntry(PackageFragmentRoot.java:547)
                      at org.eclipse.jdt.internal.corext.buildpath.ClasspathModifier.isExcluded(ClasspathModifier.java:485)
                      at org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.IncludeToBuildpathAction.canHandle(IncludeToBuildpathAction.java:170)
                      at org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.BuildpathModifierAction.selectionChanged(BuildpathModifierAction.java:101)
                      at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:164)
                      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
                      at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
                      at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
                      at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:162)
                      at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2188)
                      at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1211)
                      at org.eclipse.ui.navigator.CommonViewer.handleSelect(CommonViewer.java:478)
                      at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1241)
                      at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:239)
                      at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:233)
                      at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:403)
                      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
                      at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
                      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
                      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
                      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
                      at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
                      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974)
                      at org.eclipse.swt.widgets.Display.applicationNextEventMatchingMask(Display.java:4875)
                      at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5226)
                      at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
                      at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220)
                      at org.eclipse.swt.widgets.Widget.mouseDownSuper(Widget.java:1092)
                      at org.eclipse.swt.widgets.Tree.mouseDownSuper(Tree.java:2052)
                      at org.eclipse.swt.widgets.Widget.mouseDown(Widget.java:1084)
                      at org.eclipse.swt.widgets.Control.mouseDown(Control.java:2528)
                      at org.eclipse.swt.widgets.Tree.mouseDown(Tree.java:2007)
                      at org.eclipse.swt.widgets.Display.windowProc(Display.java:5471)
                      at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
                      at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220)
                      at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2095)
                      at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2253)
                      at org.eclipse.swt.widgets.Display.windowProc(Display.java:5535)
                      at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
                      at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:4989)
                      at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5138)
                      at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
                      at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)
                      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3610)
                      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
                      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
                      at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
                      at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
                      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
                      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
                      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
                      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
                      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
                      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
                      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
                      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
                      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
                      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:597)
                      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
                      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
                      at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
                  

                  会话数据:

                  eclipse.buildId=M20120208-0800
                  java.version=1.6.0_37
                  java.vendor=Apple Inc.
                  BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
                  Framework arguments:  -product org.eclipse.epp.package.jee.product -keyring /Users/saraiva/.eclipse_keyring -showlocation
                  Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.jee.product -keyring /Users/saraiva/.eclipse_keyring -showlocation
                  

                  推荐答案

                  您的项目可能配置不适合您的 comp.尝试删除 .classpath.project 并从现有源重新创建项目.如果意外提交给 SVN(例如以点开头的 .settings),也请删除任何 eclipse 内部目录.

                  Your project may be configured not for your comp. Try to remove .classpath and .project and recreate the project from existed sources. Also remove any eclipse internal dirs if they are accidentally committed to the SVN such as .settings that starts with dot.

                  这篇关于从插件调用代码时出现问题:“org.eclipse.jface"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:为 Android 项目外部化字符串 下一篇:如何使用不同的插件集启动不同的工作区?

                  相关文章

                1. <legend id='gvOmh'><style id='gvOmh'><dir id='gvOmh'><q id='gvOmh'></q></dir></style></legend>

                    1. <tfoot id='gvOmh'></tfoot>
                      <i id='gvOmh'><tr id='gvOmh'><dt id='gvOmh'><q id='gvOmh'><span id='gvOmh'><b id='gvOmh'><form id='gvOmh'><ins id='gvOmh'></ins><ul id='gvOmh'></ul><sub id='gvOmh'></sub></form><legend id='gvOmh'></legend><bdo id='gvOmh'><pre id='gvOmh'><center id='gvOmh'></center></pre></bdo></b><th id='gvOmh'></th></span></q></dt></tr></i><div id='gvOmh'><tfoot id='gvOmh'></tfoot><dl id='gvOmh'><fieldset id='gvOmh'></fieldset></dl></div>
                        <bdo id='gvOmh'></bdo><ul id='gvOmh'></ul>

                      <small id='gvOmh'></small><noframes id='gvOmh'>