Bug 97207 [refactoring] Infer Generic Type Arguments NullPE with missing bindings
Version: 3.1.0 Build id: I20050527-1300 (RC1) Steps to reproduce: 1.) Have a class like this: public class Main { public void loadSashWeights() { Hashtable<String, I[]> hash = new Hashtable<String, I[]>(); hash.put("Foo", new int[] { 3 }); } } 2.) Run Refactor > Infer Generic Type Arguments Actual Results: Find the attached Error Log Expected Results: - Regards, Ben
org.eclipse.jdt.ui.tests.refactoring/resources/InferTypeArguments/testCuMethodAndTypeGeneric02/in/A.java
package p;
class A {
    void call(Ex ex) {
        ex.method("Eclipse1", new Integer(1));
        Top top= ex;
        top.method("Eclipse2", new Integer(2));
    }
}
class Top<TC> {
    <TM> void method(TC cTop, TM mTop) {}
}
class Ex<C> extends Top<C> {
    <M> void method(C cEx, M mEx) {}
}