Bug 437269 - UnsupportedOperationException while indexing: Operation only supported in JLS2, JLS3 and JLS4 ASTs
Summary: UnsupportedOperationException while indexing: Operation only supported in JLS...
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Recommenders.incubator (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Marcel Bruch CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-12 08:13 EDT by Marcel Bruch CLA
Modified: 2019-07-24 14:36 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel Bruch CLA 2014-06-12 08:13:47 EDT
java.lang.UnsupportedOperationException: Operation only supported in JLS2, JLS3 and JLS4 ASTs
	at org.eclipse.jdt.core.dom.ASTNode.supportedOnlyIn2_3_4(ASTNode.java:2002)
	at org.eclipse.jdt.core.dom.MethodDeclaration.internalThrownExceptions(MethodDeclaration.java:847)
	at org.eclipse.jdt.core.dom.MethodDeclaration.thrownExceptions(MethodDeclaration.java:834)
	at org.eclipse.recommenders.codesearch.rcp.index.indexer.CheckedExceptionsIndexer.indexMethod(CheckedExceptionsIndexer.java:26)
	at org.eclipse.recommenders.codesearch.rcp.index.indexer.visitor.CompilationUnitVisitor.visit(CompilationUnitVisitor.java:83)
	at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:611)
	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
	at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2782)
	at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:470)
	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
	at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2782)
	at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:212)
	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
	at org.eclipse.recommenders.codesearch.rcp.index.indexer.CodeIndexer.index(CodeIndexer.java:132)
	at org.eclipse.recommenders.codesearch.rcp.index.indexer.CodeIndexer.index(CodeIndexer.java:107)
	at org.eclipse.recommenders.codesearch.rcp.index.indexer.CodeIndexer.index(CodeIndexer.java:102)
	at org.eclipse.recommenders.internal.codesearch.rcp.IndexUpdateService.tryIndexing(IndexUpdateService.java:184)
	at org.eclipse.recommenders.internal.codesearch.rcp.IndexUpdateService.onEvent(IndexUpdateService.java:174)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)
	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47)
	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
	at com.google.common.eventbus.AsyncEventBus.access$001(AsyncEventBus.java:34)
	at com.google.common.eventbus.AsyncEventBus$1.run(AsyncEventBus.java:100)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:744)