[Geoserver-devel] add FeatureType broken?

Hey,

it seems the adding a feature type is broken for me in 1.7.x. When I create a
datastore and try to add a feature type, both for shapefile and arcsde, is
fails with an exception like:
java.lang.NullPointerException
  at
org.vfny.geoserver.action.data.TypesEditorAction.sync(TypesEditorAction.java:403)
  at
org.vfny.geoserver.action.data.TypesEditorAction.executeSubmit(TypesEditorAction.java:565)
  at
org.vfny.geoserver.action.data.TypesEditorAction.execute(TypesEditorAction.java:130)
  at org.vfny.geoserver.action.ConfigAction.execute(ConfigAction.java:101)
  at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)

Could anyone confirm before I fill a bug report?

Gabriel
--
Gabriel Roldan
OpenGeo - http://www.opengeo.org

I fixed an issue involving an NPE on line 403 yesterday; how recent is
your checkout?

I will be doing some testing and polish on geosearch tomorrow, so I can
investigate this issue as well if 'svn up' doesn't fix it.

-d

On Fri, 2009-01-16 at 21:08 -0200, Gabriel Roldan wrote:

Hey,

it seems the adding a feature type is broken for me in 1.7.x. When I create a
datastore and try to add a feature type, both for shapefile and arcsde, is
fails with an exception like:
java.lang.NullPointerException
  at
org.vfny.geoserver.action.data.TypesEditorAction.sync(TypesEditorAction.java:403)
  at
org.vfny.geoserver.action.data.TypesEditorAction.executeSubmit(TypesEditorAction.java:565)
  at
org.vfny.geoserver.action.data.TypesEditorAction.execute(TypesEditorAction.java:130)
  at org.vfny.geoserver.action.ConfigAction.execute(ConfigAction.java:101)
  at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)

Could anyone confirm before I fill a bug report?

Gabriel

I just tried and could not replicate with an up to date checkout. Added both a shapefile and postgis feature type ok.

Gabriel Roldan wrote:

Hey,

it seems the adding a feature type is broken for me in 1.7.x. When I create a datastore and try to add a feature type, both for shapefile and arcsde, is fails with an exception like:
java.lang.NullPointerException
  at org.vfny.geoserver.action.data.TypesEditorAction.sync(TypesEditorAction.java:403)
  at org.vfny.geoserver.action.data.TypesEditorAction.executeSubmit(TypesEditorAction.java:565)
  at org.vfny.geoserver.action.data.TypesEditorAction.execute(TypesEditorAction.java:130)
  at org.vfny.geoserver.action.ConfigAction.execute(ConfigAction.java:101)
  at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)

Could anyone confirm before I fill a bug report?

Gabriel

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

I see there's already a thread on the matter: "Geoserver 1.7.x bug when adding
a new featuresTypes from UI"

Dave, had you a chance to look at it yet?

I'm worries since we're going for 1.7.2 and can't add a FT from the ui :frowning:

cheers,

gabriel

On Friday 16 January 2009 21:08:36 Gabriel Roldan wrote:

Hey,

it seems the adding a feature type is broken for me in 1.7.x. When I create
a datastore and try to add a feature type, both for shapefile and arcsde,
is fails with an exception like:
java.lang.NullPointerException
  at
org.vfny.geoserver.action.data.TypesEditorAction.sync(TypesEditorAction.jav
a:403) at
org.vfny.geoserver.action.data.TypesEditorAction.executeSubmit(TypesEditorA
ction.java:565) at
org.vfny.geoserver.action.data.TypesEditorAction.execute(TypesEditorAction.
java:130) at
org.vfny.geoserver.action.ConfigAction.execute(ConfigAction.java:101) at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProce
ssor.java:431)

Could anyone confirm before I fill a bug report?

Gabriel

--
Gabriel Roldan
OpenGeo - http://www.opengeo.org

On Friday 16 January 2009 21:14:20 David Winslow wrote:

I fixed an issue involving an NPE on line 403 yesterday; how recent is
your checkout?

its of yesterday. And so please forget my last message, this one came over
just after I sent the other one asking you.

Gabriel

I will be doing some testing and polish on geosearch tomorrow, so I can
investigate this issue as well if 'svn up' doesn't fix it.

-d

On Fri, 2009-01-16 at 21:08 -0200, Gabriel Roldan wrote:
> Hey,
>
> it seems the adding a feature type is broken for me in 1.7.x. When I
> create a datastore and try to add a feature type, both for shapefile and
> arcsde, is fails with an exception like:
> java.lang.NullPointerException
> at
> org.vfny.geoserver.action.data.TypesEditorAction.sync(TypesEditorAction.j
>ava:403) at
> org.vfny.geoserver.action.data.TypesEditorAction.executeSubmit(TypesEdito
>rAction.java:565) at
> org.vfny.geoserver.action.data.TypesEditorAction.execute(TypesEditorActio
>n.java:130) at
> org.vfny.geoserver.action.ConfigAction.execute(ConfigAction.java:101) at
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestPro
>cessor.java:431)
>
>
> Could anyone confirm before I fill a bug report?
>
> Gabriel

--
Gabriel Roldan
OpenGeo - http://www.opengeo.org