| Summary: | [Xtend] Marker handling issue | ||
|---|---|---|---|
| Product: | [Modeling] M2T | Reporter: | Miles Parker <milesparker> |
| Component: | Xpand | Assignee: | Karsten Thoms <karsten.thoms> |
| Status: | CLOSED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | karsten.thoms, sven.efftinge |
| Version: | 1.0.1 | Flags: | sven.efftinge:
indigo+
|
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
|
Description
Miles Parker
Under normal circumstances the observed NPE can never occur. Very strange that this happened.
The plugin is configured to be activated when one class is loaded. This starts the Activator of this class. When the Activator was started, the call of getId() cannot cause a NullPointerException.
public static String getId() {
return getDefault().getBundle().getSymbolicName();
}
getDefault() returns the Activator instance, so cannot be null when the plugin was started. getBundle() can also be not result in null then.
Anyway, thanks for reporting. Open it again if you could reproduce it again.
I think that this can happen in the case where there is a failure in initialization of the bundle plugin... but I haven't been inolved in the same use cases since I reported this, so I have no idea if it's still as issue or not. :) Requested via bug 522520. -M. |