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

Bug 529118

Summary: NoSuchMethodError: HTMLPrinter.insertPageProlog
Product: [Eclipse Project] JDT Reporter: Karsten Thoms <karsten.thoms>
Component: UIAssignee: Karsten Thoms <karsten.thoms>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: kalyan_prasad
Version: 4.8   
Target Milestone: 4.8 M5   
Hardware: PC   
OS: Mac OS X   
See Also: https://git.eclipse.org/r/114616
https://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=06724f84b47664985437506ca52a23af61316a06
Whiteboard:
Bug Depends on: 519783    
Bug Blocks:    

Description Karsten Thoms CLA 2017-12-21 17:34:42 EST
After updating Eclipse I'm getting this error when using content assist:

java.lang.NoSuchMethodError: org.eclipse.jface.internal.text.html.HTMLPrinter.insertPageProlog(Ljava/lang/StringBuilder;ILorg/eclipse/swt/graphics/RGB;Lorg/eclipse/swt/graphics/RGB;Ljava/lang/String;)V
	at org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.getAdditionalProposalInfo(AbstractJavaCompletionProposal.java:610)
	at org.eclipse.jface.text.contentassist.AdditionalInfoController$Timer$2$1.run(AdditionalInfoController.java:113)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Comment 1 Karsten Thoms CLA 2017-12-21 17:39:56 EST
org.eclipse.jdt.internal.ui.infoviews.JavadocView.doSetInput(Object)
has been refactored to use the new method 
org.eclipse.jface.internal.text.html.HTMLPrinter.insertPageProlog(StringBuilder, int, RGB, RGB, String)
that was introduced in jface.text 2.13 with bug#519783

The lower version for jface.text has to be adjusted.
Comment 2 Eclipse Genie CLA 2017-12-21 17:42:05 EST
New Gerrit change created: https://git.eclipse.org/r/114616
Comment 4 Kalyan Prasad Tatavarthi CLA 2018-01-24 00:36:12 EST
Verified in the 4.8 M5 Build I20180123-2000