Bug 166517 - NPE when saving class that doesn't implement interface methods
Summary: NPE when saving class that doesn't implement interface methods
Status: RESOLVED DUPLICATE of bug 166514
Alias: None
Product: AJDT
Classification: Tools
Component: Core (show other bugs)
Version: 1.4.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: AJDT-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-01 12:06 EST by Felix Mayer CLA
Modified: 2006-12-07 06:24 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Mayer CLA 2006-12-01 12:06:34 EST
Build ID: M20060921-0945

Steps To Reproduce:

1. Install the latest AJDT 1.4.1 for Eclipse 3.2.1

2. Create a new class like this:
import java.util.Map;

public class DelegatingMap<K, V> implements Map<K, V> {

    protected final Map<K, V> delegate;

    public DelegatingMap(Map<K, V> delegate) {
        super();
        this.delegate = delegate;
    }

}

3. Save it and get an Internal compiler error:
java.lang.NullPointerException
at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.abstractMethodMustBeImplemented(AjProblemReporter.java:231)
at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodVerifier.checkAbstractMethod(MethodVerifier.java:96)
at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodVerifier.checkMethods(MethodVerifier.java:269)
at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Method ... pter.java:102)
at org.aspectj.ajde.internal.AspectJBuildManager$CompilerThread.run(AspectJBuildManager.java:191)


More information:
Comment 1 Steve Young CLA 2006-12-04 10:27:03 EST
Isn't this a duplicate of bug 166514?
Comment 2 Felix Mayer CLA 2006-12-04 11:18:21 EST
166514 looks identical to me, no clue why it's there twice.
Comment 3 Helen Beeken CLA 2006-12-07 06:24:12 EST
As Steve says, this looks like a dup of 166514 - closing it as such.

*** This bug has been marked as a duplicate of bug 166514 ***