有没有人成功使Eclipse的“报告错误或增强功能……”起作用?

时间:2018-11-04 22:21:15

标签: eclipse

在多次安装中,每次都会失败,并显示“为该报告创建任务时发生意外错误” https://i.imgur.com/CNa9KYD.png

我正在使用“ Eclipse for PHP Developers”最新版本-2018-09(4.9.0)。

编辑:更多信息:

单击完成https://i.imgur.com/GcCZHI3.png后出现错误。我不使用相同的工作空间。我没有代理人。我没有有意尝试匿名举报,但失败的操作没有要求提供任何ID。这是在相当新的安装上。

编辑:错误详细信息

eclipse.buildId=4.9.0.I20180906-0745
java.version=1.8.0_191
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_GB
Framework arguments:  -product org.eclipse.epp.package.php.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.php.product

!ENTRY org.eclipse.mylyn.tasks.bugs 4 0 2018-11-04 22:03:08.842
!MESSAGE Unexpected error while creating task for error report
!STACK 1
org.eclipse.core.runtime.CoreException: Error retrieving task attributes from repository.

Premature end of file.
    at org.eclipse.mylyn.internal.bugzilla.core.BugzillaRepositoryConnector.getRepositoryConfiguration(BugzillaRepositoryConnector.java:774)
    at org.eclipse.mylyn.internal.bugzilla.core.BugzillaTaskDataHandler.initializeTaskData(BugzillaTaskDataHandler.java:439)
    at org.eclipse.mylyn.internal.tasks.ui.util.TasksUiInternal.createTaskData(TasksUiInternal.java:875)
    at org.eclipse.mylyn.internal.tasks.bugs.AttributeTaskMapper.createTaskData(AttributeTaskMapper.java:60)
    at org.eclipse.mylyn.internal.tasks.bugs.TaskErrorReporter.process(TaskErrorReporter.java:88)
    at org.eclipse.mylyn.internal.tasks.bugs.TaskErrorReporter$1.run(TaskErrorReporter.java:66)
    at org.eclipse.mylyn.commons.ui.CommonUiUtil$1.run(CommonUiUtil.java:47)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
Caused by: java.io.IOException: Premature end of file.
    at org.eclipse.mylyn.internal.bugzilla.core.AbstractReportFactory.collectResults(AbstractReportFactory.java:125)
    at org.eclipse.mylyn.internal.bugzilla.core.RepositoryConfigurationFactory.getConfiguration(RepositoryConfigurationFactory.java:40)
    at org.eclipse.mylyn.internal.bugzilla.core.BugzillaClient.getRepositoryConfiguration(BugzillaClient.java:857)
    at org.eclipse.mylyn.internal.bugzilla.core.BugzillaRepositoryConnector.getRepositoryConfiguration(BugzillaRepositoryConnector.java:751)
    ... 7 more
!SUBENTRY 1 org.eclipse.mylyn.bugzilla 4 1 2018-11-04 22:03:08.843
!MESSAGE Error retrieving task attributes from repository.

Premature end of file.
!STACK 0
java.io.IOException: Premature end of file.
    at org.eclipse.mylyn.internal.bugzilla.core.AbstractReportFactory.collectResults(AbstractReportFactory.java:125)
    at org.eclipse.mylyn.internal.bugzilla.core.RepositoryConfigurationFactory.getConfiguration(RepositoryConfigurationFactory.java:40)
    at org.eclipse.mylyn.internal.bugzilla.core.BugzillaClient.getRepositoryConfiguration(BugzillaClient.java:857)
    at org.eclipse.mylyn.internal.bugzilla.core.BugzillaRepositoryConnector.getRepositoryConfiguration(BugzillaRepositoryConnector.java:751)
    at org.eclipse.mylyn.internal.bugzilla.core.BugzillaTaskDataHandler.initializeTaskData(BugzillaTaskDataHandler.java:439)
    at org.eclipse.mylyn.internal.tasks.ui.util.TasksUiInternal.createTaskData(TasksUiInternal.java:875)
    at org.eclipse.mylyn.internal.tasks.bugs.AttributeTaskMapper.createTaskData(AttributeTaskMapper.java:60)
    at org.eclipse.mylyn.internal.tasks.bugs.TaskErrorReporter.process(TaskErrorReporter.java:88)
    at org.eclipse.mylyn.internal.tasks.bugs.TaskErrorReporter$1.run(TaskErrorReporter.java:66)
    at org.eclipse.mylyn.commons.ui.CommonUiUtil$1.run(CommonUiUtil.java:47)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)

针对C / C ++开发人员的Eclipse IDE上的同一问题给出了:

org.eclipse.core.runtime.CoreException: Error retrieving task attributes from repository.

Premature end of file.
    at org.eclipse.mylyn.internal.bugzilla.core.BugzillaRepositoryConnector.getRepositoryConfiguration(BugzillaRepositoryConnector.java:774)
    at org.eclipse.mylyn.internal.bugzilla.core.BugzillaTaskDataHandler.initializeTaskData(BugzillaTaskDataHandler.java:439)
    at org.eclipse.mylyn.internal.tasks.ui.util.TasksUiInternal.createTaskData(TasksUiInternal.java:875)
    at org.eclipse.mylyn.internal.tasks.bugs.AttributeTaskMapper.createTaskData(AttributeTaskMapper.java:60)
    at org.eclipse.mylyn.internal.tasks.bugs.TaskErrorReporter.process(TaskErrorReporter.java:88)
    at org.eclipse.mylyn.internal.tasks.bugs.TaskErrorReporter$1.run(TaskErrorReporter.java:66)
    at org.eclipse.mylyn.commons.ui.CommonUiUtil$1.run(CommonUiUtil.java:47)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Caused by: java.io.IOException: Premature end of file.
    at org.eclipse.mylyn.internal.bugzilla.core.AbstractReportFactory.collectResults(AbstractReportFactory.java:125)
    at org.eclipse.mylyn.internal.bugzilla.core.RepositoryConfigurationFactory.getConfiguration(RepositoryConfigurationFactory.java:40)
    at org.eclipse.mylyn.internal.bugzilla.core.BugzillaClient.getRepositoryConfiguration(BugzillaClient.java:857)
    at org.eclipse.mylyn.internal.bugzilla.core.BugzillaRepositoryConnector.getRepositoryConfiguration(BugzillaRepositoryConnector.java:751)
    ... 7 more

eclipse.buildId=4.8.0.I20180611-0500
java.version=1.8.0_191
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_GB
Framework arguments:  -product org.eclipse.epp.package.cpp.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.cpp.product

1 个答案:

答案 0 :(得分:1)

这看起来像Eclipse bug 527895,它出现在一个新的工作空间中。

如果工作空间足够旧,则可以使用该功能,否则它将因已知的错误对话框而失败。

请留下评论,帮助>报告错误或增强功能... 也受此错误影响。