Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 540761

Summary: "Report bug or enhancement..." fails with "Unexpected error while creating task for this report"
Product: z_Archived Reporter: Chris Jordan <chrisjj>
Component: PDTAssignee: PHP UI <php.ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: eclipse, jonathan.belanger
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Chris Jordan CLA 2018-11-04 17:17:48 EST
I installed Eclipse for PHP Developers version "2018-09 (4.9.0)" (missing from Version on this form), then after finding a bug, I clicked Help, Report bug or enhancement..., Eclipse.org, Next>, Eclipse Platform (having found no entry for this product), Finish, and got

 Unexpected error while creating task for this report

https://i.imgur.com/CNa9KYD.png .

Three reattempts failed the same way.
Comment 1 Jonathan Belanger CLA 2018-11-05 11:12:59 EST
This is happening for me as well, with the following specifics:

Configuration:
*** Date: Monday, November 5, 2018 at 11:10:20 AM Eastern Standard Time

*** Platform Details:

*** System properties:
applicationXMI=org.eclipse.ui.workbench/LegacyIDE.e4xmi
awt.toolkit=sun.awt.windows.WToolkit
com.genuitec.eclipse.theming.ui.isDark=true
com.genuitec.eclipse.theming.ui.isDevStyle=true
ds.delayed.keepInstances=true
eclipse.application=org.eclipse.ui.ide.workbench
eclipse.buildId=4.9.0.I20180906-0745
eclipse.commands=-os
win32
-ws
win32
-arch
x86_64
-showsplash
-launcher
C:\Users\PC\eclipse\cpp-2018-09\eclipse\eclipse.exe
-name
Eclipse
--launcher.library
C:\Users\PC\.p2\pool\plugins\org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.800.v20180827-1352\eclipse_1705.dll
-startup
C:\Users\PC\eclipse\cpp-2018-09\eclipse\\plugins/org.eclipse.equinox.launcher_1.5.100.v20180827-1352.jar
--launcher.appendVmargs
-product
org.eclipse.epp.package.cpp.product
Comment 2 Chris Jordan CLA 2018-11-05 18:30:01 EST
Error details from Eclipse for PHP Developers:

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


!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)
Comment 3 Chris Jordan CLA 2018-11-05 18:31:41 EST
I find the same issue in Eclipse IDE for C/C++ Developers. Error details:

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


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
Comment 4 Holger Voormann CLA 2018-11-06 13:06:24 EST
I can reproduce this issue with "Eclipse IDE for Java Developers" 2018-09 on Windows 10 as well.

From the following error message I conclude that this bug is a duplicate of bug 527895:

eclipse.buildId=4.9.0.I20180906-0745
java.version=1.8.0_144
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Framework arguments:  -product org.eclipse.epp.package.java.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -data _/workspace -product org.eclipse.epp.package.java.product

org.eclipse.mylyn.tasks.bugs
Error
Tue Nov 06 13:23:36 CET 2018
Unexpected error while creating task for error report

org.eclipse.core.runtime.CoreException: I/O Error occurred while communicating with https://bugs.eclipse.org/bugs.

SSLHandshakeException: Received fatal alert: handshake_failure
	at org.eclipse.mylyn.internal.bugzilla.core.BugzillaClient.connectInternal(BugzillaClient.java:339)
	at org.eclipse.mylyn.internal.bugzilla.core.BugzillaClient.getConnectGzip(BugzillaClient.java:300)
	at org.eclipse.mylyn.internal.bugzilla.core.BugzillaClient.getRepositoryConfiguration(BugzillaClient.java:839)
	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)
Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
	at sun.security.ssl.Alerts.getSSLException(Unknown Source)
	at sun.security.ssl.Alerts.getSSLException(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.recvAlert(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.writeRecord(Unknown Source)
	at sun.security.ssl.AppOutputStream.write(Unknown Source)
	at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
	at java.io.BufferedOutputStream.flush(Unknown Source)
	at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:828)
	at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.flushRequestOutputStream(MultiThreadedHttpConnectionManager.java:1565)
	at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2116)
	at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
	at org.eclipse.mylyn.internal.bugzilla.core.GzipGetMethod.execute(GzipGetMethod.java:55)
	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
	at org.eclipse.mylyn.commons.net.WebUtil$2.execute(WebUtil.java:334)
	at org.eclipse.mylyn.commons.net.WebUtil$2.execute(WebUtil.java:1)
	at org.eclipse.mylyn.internal.commons.net.MonitoredRequest.call(MonitoredRequest.java:51)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

*** This bug has been marked as a duplicate of bug 527895 ***
Comment 5 Chris Jordan CLA 2018-11-06 14:16:05 EST
Evidently it is not a /duplicate/. "Unexpected error while creating task for error report" appears in this issue and not in the other. All that can be deduced from your evidence is that they two may be causally related.