Summary: | [NPE] when category doesn't exist | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Christophe Elek <celek> |
Component: | Update (deprecated - use Eclipse>Equinox>p2) | Assignee: | Christophe Elek <celek> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P1 | ||
Version: | 2.0 | ||
Target Milestone: | 2.0 M6 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Christophe Elek
2002-04-15 08:21:51 EDT
I would say that core is breaking the contract. You are supposed to supply me with an array of non-null category objects. UI code bombs because one of the category entires is null. NPE -> P1 FeatureReference.getCategories() now check if getSite().getCategory(categoriesAsString[i]); returns a valid category and not null. |