While loading a layer in Udig through WFS , I am getting the following exception . Any ideas ?
org.geoserver.wfs.WFSException: Could not find type: INDIA_STATES
at org.geoserver.wfs.DescribeFeatureType.run(DescribeFeatureType.java:13
5)
at org.geoserver.wfs.DefaultWebFeatureService.describeFeatureType(Defaul
tWebFeatureService.java:98)
at sun.reflect.GeneratedMethodAccessor107.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:310)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:149)
at org.geoserver.ows.util.EMFLogger.invoke(EMFLogger.java:51)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:204)
at $Proxy12.describeFeatureType(Unknown Source)
at sun.reflect.GeneratedMethodAccessor106.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.geoserver.security.OperationSecurityInterceptor.invoke(OperationS
ecurityInterceptor.java:41)
at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:574)
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:21
2)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(
AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.ha
ndle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(Dispatch
erServlet.java:875)
at org.springframework.web.servlet.DispatcherServlet.doService(Dispatche
rServlet.java:809)
at org.springframework.web.servlet.FrameworkServlet.processRequest(Frame
workServlet.java:571)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServl
et.java:501)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
Even money if that is a udig or geoserver support question.
Can you check the following:
- Does your capabilities document contain "INDIA_STATES"?
- What happens when you call describe feature type using the demo /
sample request page using "INDIA_STATES"? Check over the result and
see if it is in order?
- there may be some odd naming assumption ("INDIA_STATES" vs
"INDIA_STATES_Type" that the wfs code is expecting based on the OGC
examples?)
- try using both VERSION=1.0 and VERSION=1.1 (you may need the latest
udig milestone release to try out WFS 1.1)
Jody
On Thu, Apr 16, 2009 at 2:51 PM, Debasish Sahu <debasish.sahu@anonymised.com> wrote:
Hi,
While loading a layer in Udig through WFS , I am getting the following
exception . Any ideas ?
org.geoserver.wfs.WFSException: Could not find type: INDIA_STATES
at
org.geoserver.wfs.DescribeFeatureType.run(DescribeFeatureType.java:13
5)
at
org.geoserver.wfs.DefaultWebFeatureService.describeFeatureType(Defaul
tWebFeatureService.java:98)
at sun.reflect.GeneratedMethodAccessor107.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:310)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:182)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:149)
at org.geoserver.ows.util.EMFLogger.invoke(EMFLogger.java:51)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:204)
at $Proxy12.describeFeatureType(Unknown Source)
at sun.reflect.GeneratedMethodAccessor106.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.geoserver.security.OperationSecurityInterceptor.invoke(OperationS
ecurityInterceptor.java:41)
at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:574)
at
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:21
2)
at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(
AbstractController.java:153)
at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.ha
ndle(SimpleControllerHandlerAdapter.java:48)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(Dispatch
erServlet.java:875)
at
org.springframework.web.servlet.DispatcherServlet.doService(Dispatche
rServlet.java:809)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(Frame
workServlet.java:571)
at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServl
et.java:501)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
--
Thanks and Warm Regards
Debasish Sahu
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel
While loading a layer in Udig through WFS , I am getting the following exception . Any ideas ?
org.geoserver.wfs.WFSException: Could not find type: INDIA_STATES
at
It seems the feature type name is not being prefixed by the namespace?
How comes?
We run the various WFS cite tests just yesterday and the day before
and GeoServer was passing them (after a few fixes).
Cheers
Andrea
PS: GeoServer trunk is unstable and undergoing heavy development, it
will take some time until we get even close to an RC state where
things calm down enough. If you need to work against a stable
series check out the 1.7.x branch.