Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 549789 - [13] HierarchicalASTVisitorTest fails as no method visit(TextBlock) was found in HierarchicalASTVisitor
Summary: [13] HierarchicalASTVisitorTest fails as no method visit(TextBlock) was found...
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.12   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: BETA J13   Edit
Assignee: Kalyan Prasad Tatavarthi CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 548096
  Show dependency tree
 
Reported: 2019-08-05 06:02 EDT by Kalyan Prasad Tatavarthi CLA
Modified: 2019-08-07 06:20 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kalyan Prasad Tatavarthi CLA 2019-08-05 06:02:04 EDT
JDT UI gerrit patches fail with below error

Error Message

HierarchicalASTVisitor must be updated to reflect a change in the ASTNode hierarchy.  No method visit(TextBlock) was found in HierarchicalASTVisitor.

Stacktrace

junit.framework.AssertionFailedError: HierarchicalASTVisitor must be updated to reflect a change in the ASTNode hierarchy.  No method visit(TextBlock) was found in HierarchicalASTVisitor.
	at org.eclipse.jdt.ui.tests.core.HierarchicalASTVisitorTest.checkHierarchicalASTVisitorMethodExistsFor(HierarchicalASTVisitorTest.java:498)
	at org.eclipse.jdt.ui.tests.core.HierarchicalASTVisitorTest.checkAllMethodsForHierarchyExist(HierarchicalASTVisitorTest.java:471)
	at org.eclipse.jdt.ui.tests.core.HierarchicalASTVisitorTest.test(HierarchicalASTVisitorTest.java:447)
Comment 1 Noopur Gupta CLA 2019-08-05 09:05:57 EDT
Released the change: https://git.eclipse.org/r/#/c/147043/.

It may need handling TextBlock and adding similar visit methods at other locations also in JDT UI code.