Community
Participate
Working Groups
1) JUnit set up 2) select junit.framework.TestCase 3) drag and drop it into junit.extensions 4) press yes to update the references and preview ->Class Cast Exception java.lang.reflect.InvocationTargetException: java.lang.ClassCastException: org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding at org.eclipse.jdt.internal.core.search.matching.DeclarationOfReferencedTypesPatter n.reportDeclaration(DeclarationOfReferencedTypesPattern.java:97) at org.eclipse.jdt.internal.core.search.matching.DeclarationOfReferencedTypesPatter n.matchReportReference(DeclarationOfReferencedTypesPattern.java:78) at org.eclipse.jdt.internal.core.search.matching.MatchLocator.reportReference (MatchLocator.java:1024) at org.eclipse.jdt.internal.core.search.matching.MatchSet.reportMatching (MatchSet.java:161) at org.eclipse.jdt.internal.core.search.matching.MatchSet.reportMatching (MatchSet.java:338) at org.eclipse.jdt.internal.core.search.matching.MatchSet.reportMatching (MatchSet.java:246) at org.eclipse.jdt.internal.core.search.matching.MatchingOpenable.locateMatchesInCo mpilationUnit(MatchingOpenable.java:295) at org.eclipse.jdt.internal.core.search.matching.MatchingOpenable.locateMatches (MatchingOpenable.java:155) at org.eclipse.jdt.internal.core.search.matching.MatchLocator.locateMatches (MatchLocator.java:1312) at org.eclipse.jdt.internal.core.search.matching.MatchLocator.locateMatches (MatchLocator.java:586) at org.eclipse.jdt.core.search.SearchEngine.searchDeclarationsOfReferencedTypes (SearchEngine.java:638) at org.eclipse.jdt.internal.corext.refactoring.structure.ReferenceFinderUtil.getTyp eReferencesIn(ReferenceFinderUtil.java:48) at org.eclipse.jdt.internal.corext.refactoring.structure.ReferenceFinderUtil.getTyp eReferencesIn(ReferenceFinderUtil.java:40) at org.eclipse.jdt.internal.corext.refactoring.structure.ReferenceFinderUtil.getTyp esReferencedIn(ReferenceFinderUtil.java:31) at org.eclipse.jdt.internal.corext.refactoring.reorg.MoveCuUpdateCreator.addImportT oSourcePackageTypes(MoveCuUpdateCreator.java:172) at org.eclipse.jdt.internal.corext.refactoring.reorg.MoveCuUpdateCreator.addUpdates (MoveCuUpdateCreator.java:121) at org.eclipse.jdt.internal.corext.refactoring.reorg.MoveCuUpdateCreator.addUpdates (MoveCuUpdateCreator.java:112) at org.eclipse.jdt.internal.corext.refactoring.reorg.MoveCuUpdateCreator.createUpda teChange(MoveCuUpdateCreator.java:90) at org.eclipse.jdt.internal.corext.refactoring.reorg.MoveRefactoring.createChange (MoveRefactoring.java:222) at org.eclipse.jdt.internal.ui.refactoring.CreateChangeOperation.run (CreateChangeOperation.java:97) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run (ModalContext.java:98)
*** This bug has been marked as a duplicate of 11627 ***