[Geoserver-devel] [jira] (GEOS-5195) NPE while loading map preview on a newly created layer

Andrea Aime created BugGEOS-5195
NPE while loading map preview on a newly created layer

Issue Type:

BugBug

Affects Versions:

2.1.4

Assignee:

Andrea Aime

Components:

Configuration

Created:

28/Jun/12 2:36 AM

Description:

Steps to reproduce:

  • create new workspace
  • create new postgis store
  • create new layer out of postgis store (does not have native srid, don’t think it’s relevant)
  • save with default style
  • preview in OL

Boom, the NPE is in StyleInfoImpl.getStyle (assuming the “catalog” object is not populated but needs investigation)

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Andrea Aime

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your [JIRA administrators](https://jira.codehaus.org/secure/ContactAdministrators!default.jspa). For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)