|
Jody Garnett [Administrator] created an issue |
Issue Type: |
|
---|---|
Affects Versions: |
2.12-beta |
Assignee: |
Unassigned |
Components: |
Main |
Created: |
20/May/17 4:58 PM |
Priority: |
|
Reporter: |
Andrea has clarifications on #2177: Check how you get there, from what I see the context checked is null only if the caller did pass a null context, or if the caller did not pass a context and GeoServerExtensions bean has not yet been initialized. Generally speaking, beans depending on a context-less call should declare a dependency on GeoServerExtensions (not all do, not all can). Ideally, it would be nice if GeoServerExtensions was the very first bean initialized in the spring context. There is an article about this here: Maybe the above is a better option than this fix, along with GeoServerExtensions automatically using its own default context if null is passed. |
This message was sent by Atlassian JIRA (v1000.990.2#100044-sha1:9546d20) |
|