On the advice of the text in Geoserver I posted this as a bug via Jira.
After that I got some advice from a user that it would probably have been
better posted here, at least first.

For the record, the filed bug is GEOS-6940.

Bear with me, I'm new to Geoserver.

Geoserver 2.6.2, Mac OS X 10.10.2, Tomcat 7.0.56, .war file install.

Short version:
Data: Layer Preview and Data: Layer Groups throw an exception.
Data: Stores and Data: Layers are both empty, even though I'm fairly
certain that I put stuff in those.
Data: Workspaces and Data: Styles look as I expect them to.

Here's a chronology, mostly from memory, of how I got to the current,
somewhat stuck, state that I'm in now.

Yesterday afternoon I had loaded a shapefile (of lines representing some
roads) as a layer, and could preview it with default styling (all blue
lines).

I created a layer group with just that one layer (as a start) and I could
preview it.

Then I began trying to figure out how to style it.

I created a new style, using "Copy from existing style" of type "line".  No
errors yet, but style isn't being applied to my layer or layer group (based
on changing the default color in the style for a line and that color not
showing up in the Layer Preview).

I was trying to figure out how to instruct Geoserver to apply my new style
to my layer (or layer group).  I think (but I may be wrong) I need to tell
the style (in the SLD XML) the layer name that I want it applied to.
Trying that, it still didn't show up with my new color in Layer Preview.
But at one point in the process of tinkering with the style, when I tried
to save it (like I had done several times before) Geoserver responded that
I was no longer logged in.  The ability to do other things indicated that I
was, in fact, still logged in.  Got this same error multiple times when
trying to save my new style.

This morning I jumped back in, but on one of the (I think) Data: things on
the left the HTTP request just hung.  Tried to stop Tomcat politely via
shell script, which failed.  Finally did a kill -9, and restarted Tomcat.

Now when I hit Data: Layer Preview I'm getting the exception

org.apache.wicket.WicketRuntimeException: Can't instantiate page using
constructor public org.geoserver.web.demo.MapPreviewPage()

After a couple of "Caused by" chunks it comes down to a NPE at at
org.geoserver.ows.LocalWorkspaceCatalogFilter.hideResource(LocalWorkspaceCatalogFilter.java:62)

I'm tempted to just wipe out all my data and restart Geoserver to see if
problems go away, and I'll start over, but I'd rather get to the root of
this problem than just run away from it.

David


E-Mail to and from me, in connection with the transaction 
of public business, is subject to the Wyoming Public Records 
Act and may be disclosed to third parties.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to