[Geoserver-devel] [jira] (GEOS-5546) WMS doesn't load data but WFS does

Jonathan Moules created BugGEOS-5546
WMS doesn’t load data but WFS does

Issue Type:

BugBug

Affects Versions:

2.2.3

Assignee:

Andrea Aime

Components:

WMS

Created:

10/Jan/13 6:57 AM

Description:

Following this:

http://sourceforge.net/mailarchive/forum.php?thread_name=CAA-xNcV-FJ0CPe%2BGgQDpC5M_t8bryBtOueNSQhxkbxHVNnLcgA%40mail.gmail.com&forum_name=geoserver-users

The issue was resolved by either removing the layers and re-adding them so I didn’t pursue it further.

But now its happened again. The solution is to actually restart GeoServer, removing and re-adding the layer alone didn’t do it, so it seems like a bug.

I’m not sure what causes this to happen in the first place though. I think some combination of removing a layer or being in a layer group or changing the style (those are the only things I’ve done). I’m sure it’ll happen again, but for now I can’t replicate it.
The error in this instance:

10 Jan 12:45:55 ERROR [org.geoserver.ows] -
java.lang.NullPointerException
at org.geoserver.catalog.impl.DataStoreInfoImpl.getDataStore(DataStoreInfoImpl.java:37)
at sun.reflect.GeneratedMethodAccessor156.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.java:144)
at $Proxy14.getDataStore(Unknown Source)

The data is coming from an Oracle layer. May be pertinent

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Jonathan Moules

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)