Summary: | NPE in SourceElementParser (1GL496I) | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Martin Aeschlimann <martinae> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P2 | ||
Version: | 2.0 | ||
Target Milestone: | 2.0 M1 | ||
Hardware: | All | ||
OS: | Windows NT | ||
Whiteboard: |
Description
Martin Aeschlimann
2001-10-10 22:55:11 EDT
Could you please be a little bit more specific on the source I have to save in order to be able to reproduce the problem? Right now it is rather incomplete. The problem IS the incomplete source. Just save the (incomplete) source, and you will get the walkback. ----- package org.eclipse.jdt.ui.examples; * final int[] index = new int[]{0}; * add.addListener(SWT.Selection, new Listener() { * ------ The SourceElementParser retrieved a AnonymousDeclaration from this incomplete source with no allocation attached. The source didn't check that the allocation could be null before it tried to retrieve the type of the allocation expression. Fixed for 206. PRODUCT VERSION: 203_02 |