Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via SpringSource Issue Tracker by Nick Stokoe, 1 year ago
org.codehaus.groovy.ast.stmt.ExpressionStatement cannot be cast to org.codehaus.groovy.ast.stmt.BlockStatement
via SpringSource Issue Tracker by Shankar Krishna, 1 year ago
org.codehaus.groovy.ast.stmt.ExpressionStatement cannot be cast to org.codehaus.groovy.ast.stmt.BlockStatement
via SpringSource Issue Tracker by Nick Stokoe, 2 years ago
org.codehaus.groovy.ast.stmt.ExpressionStatement cannot be cast to org.codehaus.groovy.ast.stmt.BlockStatement
via SpringSource Issue Tracker by Shankar Krishna, 2 years ago
org.codehaus.groovy.ast.stmt.ExpressionStatement cannot be cast to org.codehaus.groovy.ast.stmt.BlockStatement
java.lang.ClassCastException: org.codehaus.groovy.ast.stmt.ExpressionStatement cannot be cast to org.codehaus.groovy.ast.stmt.BlockStatement	at org.codehaus.groovy.eclipse.codeassist.requestor.CompletionNodeFinder.visitClass(CompletionNodeFinder.java:229)	at org.codehaus.groovy.eclipse.codeassist.requestor.CompletionNodeFinder.visitClass(CompletionNodeFinder.java:188)	at org.codehaus.groovy.eclipse.codeassist.requestor.CompletionNodeFinder.internalVisitModuleNode(CompletionNodeFinder.java:140)	at org.codehaus.groovy.eclipse.codeassist.requestor.CompletionNodeFinder.findContentAssistContext(CompletionNodeFinder.java:125)	at org.codehaus.groovy.eclipse.codeassist.requestor.GroovyCompletionProposalComputer.createContentAssistContext(GroovyCompletionProposalComputer.java:231)	at org.codehaus.groovy.eclipse.codeassist.requestor.GroovyCompletionProposalComputer.computeCompletionProposals(GroovyCompletionProposalComputer.java:156)	at org.eclipse.jdt.internal.ui.text.java.CompletionProposalComputerDescriptor.computeCompletionProposals(CompletionProposalComputerDescriptor.java:333)	at org.eclipse.jdt.internal.ui.text.java.CompletionProposalCategory.computeCompletionProposals(CompletionProposalCategory.java:337)	at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.collectProposals(ContentAssistProcessor.java:325)	at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.computeCompletionProposals(ContentAssistProcessor.java:282)	at org.eclipse.jface.text.contentassist.ContentAssistant$5.run(ContentAssistant.java:1904)	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)	at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1902)	at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:573)	at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:570)	at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:505)	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)	at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:499)	at org.eclipse.jface.text.contentassist.ContentAssistant$2.run(ContentAssistant.java:384)	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3774)	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3412)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)	at org.eclipse.equinox.launcher.Main.main(Main.java:1438)