Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This page displays a number of WMS services:

In a local copy of GeoServer, I can successfully create a WMS store and publish a layer from the WMS URLs provided on that page, however the layer preview options all throw NullPointerExceptions: at org.geoserver.catalog.impl.WMSStoreInfoImpl.getWebMapServer(

share|improve this question

By going to the GeoWebCache Settings page and checking the box Enable direct WMS integration, I was able to get the OrthoImage WMS layer to work. However, directly viewing that layer using the Layers Preview option threw the error described in the question.

In the end, using GeoWebCache is preferred, so this is the solution for me even though it doesn't explain why I get the error without GeoWebCache.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.