Rational Software Architect7.0.0.4でEclipse-csプラグインを使用しようとしています。
最近、古いbeta2バージョンをアンインストールし、beta3をインストールしました。プラグイン自体は、以前に構成されたとおりに機能します。しかし、Windows->環境設定-> Checkstyleを使用してチェックルールを再構成しようとすると、次のエラーが発生します。
プラグイン「org.Eclipse.jface」からコードを呼び出すときに問題が発生しました。
これは、構成ボタンをクリックして、UIで選択した特定のチェックルールを再構成しようとすると発生します。
誰かが以前にこの問題に遭遇したことがあり、どのように修正できますか?
完全なエラーリストとスタックトレースを以下に示します。
Stack trace:
Java.lang.NoSuchMethodError: org/Eclipse/swt/widgets/Text.setMessage(Ljava/lang/String;)V
at net.sf.eclipsecs.ui.config.RuleConfigurationEditDialog.createAdvancedSection(Unknown Source)
at net.sf.eclipsecs.ui.config.RuleConfigurationEditDialog.createDialogArea(Unknown Source)
at org.Eclipse.jface.dialogs.TitleAreaDialog.createContents(Unknown Source)
at org.Eclipse.jface.window.Window.create(Unknown Source)
at org.Eclipse.jface.dialogs.Dialog.create(Unknown Source)
at net.sf.eclipsecs.ui.config.RuleConfigurationEditDialog.create(Unknown Source)
at org.Eclipse.jface.window.Window.open(Unknown Source)
at net.sf.eclipsecs.ui.config.CheckConfigurationConfigureDialog$PageController.openModule(Unknown Source)
at net.sf.eclipsecs.ui.config.CheckConfigurationConfigureDialog$PageController.doubleClick(Unknown Source)
at org.Eclipse.jface.viewers.StructuredViewer$1.run(Unknown Source)
at org.Eclipse.core.runtime.SafeRunner.run(Unknown Source)
at org.Eclipse.core.runtime.Platform.run(Unknown Source)
at org.Eclipse.ui.internal.JFaceUtil$1.run(Unknown Source)
at org.Eclipse.jface.util.SafeRunnable.run(Unknown Source)
at org.Eclipse.jface.viewers.StructuredViewer.fireDoubleClick(Unknown Source)
at org.Eclipse.jface.viewers.StructuredViewer.handleDoubleSelect(Unknown Source)
at org.Eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(Unknown Source)
at org.Eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(Unknown Source)
at org.Eclipse.jface.util.OpenStrategy.access$0(Unknown Source)
at org.Eclipse.jface.util.OpenStrategy$1.handleEvent(Unknown Source)
at org.Eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.Eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.Eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.Eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.Eclipse.jface.window.Window.runEventLoop(Unknown Source)
at org.Eclipse.jface.window.Window.open(Unknown Source)
at net.sf.eclipsecs.ui.config.CheckConfigurationWorkingSetEditor.configureCheckConfig(Unknown Source)
at net.sf.eclipsecs.ui.config.CheckConfigurationWorkingSetEditor.access$6(Unknown Source)
at net.sf.eclipsecs.ui.config.CheckConfigurationWorkingSetEditor$PageController.doubleClick(Unknown Source)
at org.Eclipse.jface.viewers.StructuredViewer$1.run(Unknown Source)
at org.Eclipse.core.runtime.SafeRunner.run(Unknown Source)
at org.Eclipse.core.runtime.Platform.run(Unknown Source)
at org.Eclipse.ui.internal.JFaceUtil$1.run(Unknown Source)
at org.Eclipse.jface.util.SafeRunnable.run(Unknown Source)
at org.Eclipse.jface.viewers.StructuredViewer.fireDoubleClick(Unknown Source)
at org.Eclipse.jface.viewers.StructuredViewer.handleDoubleSelect(Unknown Source)
at org.Eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(Unknown Source)
at org.Eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(Unknown Source)
at org.Eclipse.jface.util.OpenStrategy.access$0(Unknown Source)
at org.Eclipse.jface.util.OpenStrategy$1.handleEvent(Unknown Source)
at org.Eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.Eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.Eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.Eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.Eclipse.jface.window.Window.runEventLoop(Unknown Source)
at org.Eclipse.jface.window.Window.open(Unknown Source)
at org.Eclipse.ui.internal.OpenPreferencesAction.run(Unknown Source)
at org.Eclipse.jface.action.Action.runWithEvent(Unknown Source)
at org.Eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Unknown Source)
at org.Eclipse.jface.action.ActionContributionItem.access$2(Unknown Source)
at org.Eclipse.jface.action.ActionContributionItem$5.handleEvent(Unknown Source)
at org.Eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.Eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.Eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.Eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.Eclipse.ui.internal.Workbench.runEventLoop(Unknown Source)
at org.Eclipse.ui.internal.Workbench.runUI(Unknown Source)
at org.Eclipse.ui.internal.Workbench.createAndRunWorkbench(Unknown Source)
at org.Eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source)
at org.Eclipse.ui.internal.ide.IDEApplication.run(Unknown Source)
at org.Eclipse.core.internal.runtime.PlatformActivator$1.run(Unknown Source)
at org.Eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)
at org.Eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)
at org.Eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at org.Eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at Sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at Sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at Sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at Java.lang.reflect.Method.invoke(Unknown Source)
at org.Eclipse.core.launcher.Main.invokeFramework(Unknown Source)
at org.Eclipse.core.launcher.Main.basicRun(Unknown Source)
at org.Eclipse.core.launcher.Main.run(Unknown Source)
at org.Eclipse.core.launcher.Main.main(Unknown Source)
そしてセッションデータ:
Session Data:
Eclipse.buildId=unknown
Java.fullversion=J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223ifx-20070323 (JIT enabled)
J9VM - 20070322_12058_lHdSMR
JIT - 20070109_1805ifx3_r8
GC - WASIFIX_2007
BootLoader constants: OS=win32, Arch=x86, WS=win32, NL=en_GB
Framework arguments: -product com.ibm.rational.rsa.product.ide
Command-line arguments: -os win32 -ws win32 -Arch x86 -product com.ibm.rational.rsa.product.ide
-clean
オプションを使用してコンソール/ターミナルからEclipseを起動してみてください。
Windowsの場合:
Eclipse.exe -clean
* nixの場合:
./Eclipse -clean
またはEclipseがPATHにある場合
Eclipse -clean
これにより、プラグインのキャッシュがクリアされ、問題が解決する可能性があります。
私の簡単な推測では、RSA 7.0が基づいているEclipseのバージョンには、チェックスタイルのバージョンで必要ないくつかのメソッドがありません。 RSA7.5はEclipse3.4を使用しており、私は非常に満足しています。