|
From: Jody G. <jod...@gm...> - 2010-10-15 15:06:59
|
I would recommend stepping through with the debugger and seeing what functions it can see; there is a chance it is being case sensitive or something. Jody On 16/10/2010, at 12:53 AM, andrea antonello wrote: > Hi Andrea, > thanks for the reply, > > [...] >> It seems you're having problems with SPI. All functions are registered in the >> usual META-INF directory, maybe you're running inside Eclipse and there are >> issues with how the OSGi runtime treats the SPI files? >> >> The registration file in question is org.opengis.filter.expression.Function, >> inside the META-INF/services folder of the GeoTools main module > > I am running from a test class inside the a maven project, so no > eclipse plugins in the game. > The SPI if indeed there, so I actually can't figure out why it doesn't > pick it up. > > Hmmmm.... > Andrea > > >> >> Cheers >> Andrea >> >>> at org.geotools.filter.FilterFactoryImpl.function(FilterFactoryImpl.java:467) >>> at org.geotools.feature.AttributeTypeBuilder.lengthRestriction(AttributeTypeBuilder.java:624) >>> at org.geotools.feature.AttributeTypeBuilder.buildType(AttributeTypeBuilder.java:455) >>> at org.geotools.feature.AttributeTypeBuilder.buildDescriptor(AttributeTypeBuilder.java:516) >>> at org.geotools.data.shapefile.ShapefileDataStore.readAttributes(ShapefileDataStore.java:811) >>> at org.geotools.data.shapefile.ShapefileDataStore.getSchema(ShapefileDataStore.java:714) >>> at org.geotools.data.AbstractFileDataStore.getFeatureSource(AbstractFileDataStore.java:75) >>> >>> I am running on 2.7-SNAPSHOT. >>> >>> Anyone an idea about what I might do wrong? >>> >>> Thanks, >>> Andrea >>> >>> ------------------------------------------------------------------------------ >>> Download new Adobe(R) Flash(R) Builder(TM) 4 >>> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly >>> Flex(R) Builder(TM)) enable the development of rich applications that run >>> across multiple browsers and platforms. Download your free trials today! >>> http://p.sf.net/sfu/adobe-dev2dev >>> _______________________________________________ >>> Geotools-devel mailing list >>> Geo...@li... >>> https://lists.sourceforge.net/lists/listinfo/geotools-devel >>> >>> >> >> >> >> -- >> ----------------------------------------------------- >> Ing. Andrea Aime >> Senior Software Engineer >> >> GeoSolutions S.A.S. >> Via Poggio alle Viti 1187 >> 55054 Massarosa (LU) >> Italy >> >> phone: +39 0584962313 >> fax: +39 0584962313 >> >> http://www.geo-solutions.it >> http://geo-solutions.blogspot.com/ >> http://www.linkedin.com/in/andreaaime >> http://twitter.com/geowolf >> >> ----------------------------------------------------- >> > > ------------------------------------------------------------------------------ > Download new Adobe(R) Flash(R) Builder(TM) 4 > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > Flex(R) Builder(TM)) enable the development of rich applications that run > across multiple browsers and platforms. Download your free trials today! > http://p.sf.net/sfu/adobe-dev2dev > _______________________________________________ > Geotools-devel mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geotools-devel |