java.lang.ClassCastException: org2.eclipse.php.internal.core.ast.nodes.Variable cannot be cast to org2.eclipse.php.internal.core.ast.nodes.Identifier

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Appcelerator JIRA by Ingo Muschenetz, 1 year ago
org2.eclipse.php.internal.core.ast.nodes.Variable cannot be cast to org2.eclipse.php.internal.core.ast.nodes.Identifier
via Appcelerator JIRA by Ingo Muschenetz, 1 year ago
org2.eclipse.php.internal.core.ast.nodes.Variable cannot be cast to org2.eclipse.php.internal.core.ast.nodes.Identifier
java.lang.ClassCastException: org2.eclipse.php.internal.core.ast.nodes.Variable cannot be cast to org2.eclipse.php.internal.core.ast.nodes.Identifier
at com.aptana.editor.php.internal.indexer.PDTPHPModuleIndexer$PHPASTVisitor.getPathByStaticDispatch(PDTPHPModuleIndexer.java:2444)
at com.aptana.editor.php.internal.indexer.PDTPHPModuleIndexer$PHPASTVisitor.countStaticDispatchTypes(PDTPHPModuleIndexer.java:2847)
at com.aptana.editor.php.internal.indexer.PDTPHPModuleIndexer$PHPASTVisitor.countExpressionTypes(PDTPHPModuleIndexer.java:2687)
at com.aptana.editor.php.internal.indexer.PDTPHPModuleIndexer$PHPASTVisitor.visit(PDTPHPModuleIndexer.java:1781)
at org2.eclipse.php.internal.core.ast.nodes.ReturnStatement.accept0(ReturnStatement.java:67)
at org2.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNode.java:285)
at org2.eclipse.php.internal.core.ast.nodes.Block.childrenAccept(Block.java:98)
at org2.eclipse.php.internal.core.ast.nodes.Block.accept0(Block.java:91)
at org2.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNode.java:285)
at org2.eclipse.php.internal.core.ast.nodes.FunctionDeclaration.childrenAccept(FunctionDeclaration.java:109)
at org2.eclipse.php.internal.core.ast.nodes.FunctionDeclaration.accept0(FunctionDeclaration.java:98)
at org2.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNode.java:285)
at org2.eclipse.php.internal.core.ast.nodes.MethodDeclaration.childrenAccept(MethodDeclaration.java:92)
at org2.eclipse.php.internal.core.ast.nodes.MethodDeclaration.accept0(MethodDeclaration.java:84)
at org2.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNode.java:285)
at org2.eclipse.php.internal.core.ast.nodes.Block.childrenAccept(Block.java:98)
at org2.eclipse.php.internal.core.ast.nodes.Block.accept0(Block.java:91)
at org2.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNode.java:285)
at org2.eclipse.php.internal.core.ast.nodes.ClassDeclaration.childrenAccept(ClassDeclaration.java:119)
at org2.eclipse.php.internal.core.ast.nodes.ClassDeclaration.accept0(ClassDeclaration.java:105)
at org2.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNode.java:285)
at org2.eclipse.php.internal.core.ast.nodes.Block.childrenAccept(Block.java:98)
at org2.eclipse.php.internal.core.ast.nodes.Block.accept0(Block.java:91)
at org2.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNode.java:285)
at org2.eclipse.php.internal.core.ast.nodes.NamespaceDeclaration.childrenAccept(NamespaceDeclaration.java:187)
at org2.eclipse.php.internal.core.ast.nodes.NamespaceDeclaration.accept0(NamespaceDeclaration.java:231)
at org2.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNode.java:285)
at org2.eclipse.php.internal.core.ast.nodes.Program.childrenAccept(Program.java:203)
at org2.eclipse.php.internal.core.ast.nodes.Program.accept0(Program.java:196)
at org2.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNode.java:285)
at com.aptana.editor.php.internal.indexer.PDTPHPModuleIndexer.indexModule(PDTPHPModuleIndexer.java:3851)
at com.aptana.editor.php.indexer.PHPGlobalIndexer$WrapIndexer.indexModule(PHPGlobalIndexer.java:92)
at com.aptana.editor.php.indexer.PHPGlobalIndexer$8.run(PHPGlobalIndexer.java:524)
at org2.eclipse.php.internal.core.ast.nodes.ReturnStatement.accept0(ReturnStatement.java:67)
at org2.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNode.java:285)
at org2.eclipse.php.internal.core.ast.nodes.Block.childrenAccept(Block.java:98)
at org2.eclipse.php.internal.core.ast.nodes.Block.accept0(Block.java:91)
at org2.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNode.java:285)
at org2.eclipse.php.internal.core.ast.nodes.FunctionDeclaration.childrenAccept(FunctionDeclaration.java:109)
at org2.eclipse.php.internal.core.ast.nodes.FunctionDeclaration.accept0(FunctionDeclaration.java:98)
at org2.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNode.java:285)
at org2.eclipse.php.internal.core.ast.nodes.MethodDeclaration.childrenAccept(MethodDeclaration.java:92)
at org2.eclipse.php.internal.core.ast.nodes.MethodDeclaration.accept0(MethodDeclaration.java:84)
at org2.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNode.java:285)
at org2.eclipse.php.internal.core.ast.nodes.Block.childrenAccept(Block.java:98)
at org2.eclipse.php.internal.core.ast.nodes.Block.accept0(Block.java:91)
at org2.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNode.java:285)
at org2.eclipse.php.internal.core.ast.nodes.ClassDeclaration.childrenAccept(ClassDeclaration.java:119)
at org2.eclipse.php.internal.core.ast.nodes.ClassDeclaration.accept0(ClassDeclaration.java:105)
at org2.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNode.java:285)
at org2.eclipse.php.internal.core.ast.nodes.Block.childrenAccept(Block.java:98)
at org2.eclipse.php.internal.core.ast.nodes.Block.accept0(Block.java:91)
at org2.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNode.java:285)
at org2.eclipse.php.internal.core.ast.nodes.NamespaceDeclaration.childrenAccept(NamespaceDeclaration.java:187)
at org2.eclipse.php.internal.core.ast.nodes.NamespaceDeclaration.accept0(NamespaceDeclaration.java:231)
at org2.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNode.java:285)
at org2.eclipse.php.internal.core.ast.nodes.Program.childrenAccept(Program.java:203)
at org2.eclipse.php.internal.core.ast.nodes.Program.accept0(Program.java:196)
at org2.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNode.java:285)
at com.aptana.editor.php.internal.indexer.PDTPHPModuleIndexer.indexModule(PDTPHPModuleIndexer.java:3851)
at com.aptana.editor.php.indexer.PHPGlobalIndexer$WrapIndexer.indexModule(PHPGlobalIndexer.java:92)
at com.aptana.editor.php.indexer.PHPGlobalIndexer$8.run(PHPGlobalIndexer.java:524)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.