且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

复制和粘贴时,Eclipse抛出错误

更新时间:2022-12-06 18:58:49

这个线程暗示了类似的错误,并提及 bug 214301 (这是解决 Egit 2.3.0,2013年2月


这看起来像是一个不一致的安装Mylyn导致此异常。

可以检查您安装的Mylyn功能的哪些版本(




 帮助> 
关于>配置详细信息




)?







Mylyn安装不一致的示例:



  • 安装Mylyn 2.1

  • 任务列表(mylyn-feature)和结构桥(ide-feature,
    pde-features等) )更新为2.2

  • 聚焦的UI(上下文功能)仍保留在版本2.1







解决方案:


再次更新确保您获得Mylyn Bridge:Eclipse SDK功能



首先,尝试再次通过




 帮助 - >软件更新 - >搜索
的新功能




..并确保所有的Mylyn功能已更新。



I am using Eclipse 3.5 SR2 for Java EE developers. Each time I press control+C or control+V for the first time after I open a file I get an error. After I close the error, I can successfully copy and paste. The error message made me believe that it was related to the Mylyn plugin, but I uninstalled it and still no difference. Has anyone else experience this problem? I also have the subclipse, adobe flex builder, and maven plugins installed.

The 'org.eclipse.mylyn.tasks.ui.hyperlinks.detectors.url' extension from plug-in 'org.eclipse.mylyn.tasks.ui' to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension point failed to load the hyperlink detector.

Plug-in org.eclipse.mylyn.tasks.ui was unable to load class org.eclipse.mylyn.internal.tasks.ui.editors.TaskUrlHyperlinkDetector.

An error occurred while automatically activating bundle org.eclipse.mylyn.tasks.ui (520).

The 'org.eclipse.mylyn.java.hyperlink.detector.stack' extension from plug-in 'org.eclipse.mylyn.java.tasks' to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension point failed to load the hyperlink detector.

Plug-in org.eclipse.mylyn.java.tasks was unable to load class org.eclipse.mylyn.internal.java.tasks.JavaStackTraceHyperlinkDetector.

org/eclipse/mylyn/tasks/ui/AbstractTaskHyperlinkDetector

The 'org.eclipse.mylyn.tasks.ui.hyperlinks.detectors.task' extension from plug-in 'org.eclipse.mylyn.tasks.ui' to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension point failed to load the hyperlink detector.

Plug-in org.eclipse.mylyn.tasks.ui was unable to load class org.eclipse.mylyn.internal.tasks.ui.editors.TaskHyperlinkDetector.

An error occurred while automatically activating bundle org.eclipse.mylyn.tasks.ui (520).

This thread alludes to a similar error and mentions bug 214301 (which is solved in Egit 2.3.0, February 2013)

this looks like an inconsistent install of Mylyn causing this exception.
Could you check which versions of the Mylyn features you have installed (

Help >
About > Configuration Details

)?


Example of inconsistent Mylyn installation:

  • Mylyn 2.1 is installed
  • The Task List (mylyn-feature) and the structure bridges (ide-feature, pde-feature etc.) are updated to 2.2
  • The Focused UI (context-feature) remains at version 2.1


Solution:

update again and ensure that you get the "Mylyn Bridge: Eclipse SDK" feature

First, try running the update again via

Help -> Software Updates -> Search
for new features

.. and ensure that all of the Mylyn features have been updated.