Modify

Opened 3 years ago

Closed 3 years ago

#13844 closed defect (fixed)

ServiceConfigurationError: org.opengis.filter.expression.Function: Provider org.geotools.resources.coverage.FilterFunction_isCoverageorg.geotools.filter.AreaFunction not found

Reported by: naoliv Owned by: Don-vip
Priority: normal Milestone:
Component: Plugin geotools Version:
Keywords: Cc:

Description

I guess this is a problem in geotools, but it could also be in opendata (since I was loading a shapefile):

ADVERTÊNCIA: Can't load a service for category "Function". Cause is "ServiceConfigurationError: org.opengis.filter.expression.Function: Provider org.geotools.resources.coverage.FilterFunction_isCoverageorg.geotools.filter.AreaFunction not found".
java.util.ServiceConfigurationError: org.opengis.filter.expression.Function: Provider org.geotools.resources.coverage.FilterFunction_isCoverageorg.geotools.filter.AreaFunction not found
	at java.util.ServiceLoader.fail(ServiceLoader.java:239)
	at java.util.ServiceLoader.access$300(ServiceLoader.java:185)
	at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:372)
	at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
	at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
	at org.geotools.factory.FactoryRegistry.register(FactoryRegistry.java:826)
	at org.geotools.factory.FactoryRegistry.scanForPlugins(FactoryRegistry.java:772)
	at org.geotools.factory.FactoryRegistry.scanForPluginsIfNeeded(FactoryRegistry.java:805)
	at org.geotools.factory.FactoryRegistry.getServiceProviders(FactoryRegistry.java:196)
	at org.geotools.factory.CommonFactoryFinder.getFunctions(CommonFactoryFinder.java:146)
	at org.geotools.filter.function.DefaultFunctionFactory.loadFunctions(DefaultFunctionFactory.java:137)
	at org.geotools.filter.function.DefaultFunctionFactory.functionCache(DefaultFunctionFactory.java:105)
	at org.geotools.filter.function.DefaultFunctionFactory.getFunctionNames(DefaultFunctionFactory.java:62)
	at org.geotools.filter.FunctionFinder.lookupFunctions(FunctionFinder.java:240)
	at org.geotools.filter.FunctionFinder.findFunctionInternal(FunctionFinder.java:213)
	at org.geotools.filter.FunctionFinder.findFunction(FunctionFinder.java:185)
	at org.geotools.filter.FunctionFinder.findFunction(FunctionFinder.java:152)
	at org.geotools.filter.FunctionFinder.findFunction(FunctionFinder.java:127)
	at org.geotools.filter.FilterFactoryImpl.function(FilterFactoryImpl.java:754)
	at org.geotools.feature.AttributeTypeBuilder.lengthRestriction(AttributeTypeBuilder.java:615)
	at org.geotools.feature.AttributeTypeBuilder.buildType(AttributeTypeBuilder.java:446)
	at org.geotools.feature.AttributeTypeBuilder.buildDescriptor(AttributeTypeBuilder.java:507)
	at org.geotools.data.shapefile.ShapefileFeatureSource.readAttributes(ShapefileFeatureSource.java:567)
	at org.geotools.data.shapefile.ShapefileFeatureSource.buildFeatureType(ShapefileFeatureSource.java:475)
	at org.geotools.data.shapefile.ShapefileFeatureStore.buildFeatureType(ShapefileFeatureStore.java:132)
	at org.geotools.data.store.ContentFeatureSource.getAbsoluteSchema(ContentFeatureSource.java:343)
	at org.geotools.data.store.ContentFeatureSource.getSchema(ContentFeatureSource.java:312)
	at org.geotools.data.store.ContentFeatureCollection.<init>(ContentFeatureCollection.java:80)
	at org.geotools.data.store.ContentFeatureSource.getFeatures(ContentFeatureSource.java:570)
	at org.geotools.data.store.ContentFeatureSource.getFeatures(ContentFeatureSource.java:112)
	at org.openstreetmap.josm.plugins.opendata.core.io.geographic.ShpReader.parse(ShpReader.java:215)
	at org.openstreetmap.josm.plugins.opendata.core.io.geographic.ShpReader.parseDataSet(ShpReader.java:75)
	at org.openstreetmap.josm.plugins.opendata.core.io.geographic.ShpImporter.parseDataSet(ShpImporter.java:29)
	at org.openstreetmap.josm.io.OsmImporter.loadLayer(OsmImporter.java:113)
	at org.openstreetmap.josm.io.OsmImporter.importData(OsmImporter.java:90)
	at org.openstreetmap.josm.plugins.opendata.core.io.AbstractImporter.importData(AbstractImporter.java:55)
	at org.openstreetmap.josm.io.FileImporter.importDataHandleExceptions(FileImporter.java:90)
	at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.importData(OpenFileAction.java:349)
	at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.realRun(OpenFileAction.java:302)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:93)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:141)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

JOSM:

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-10-22 12:33:10 +0200 (Sat, 22 Oct 2016)
Build-Date:2016-10-23 01:37:31
Revision:11154
Relative:URL: ^/trunk

Identification: JOSM/1.5 (11154 pt_BR) Linux Debian GNU/Linux unstable (sid)
Memory Usage: 247 MB / 4029 MB (75 MB allocated, but free)
Java version: 1.8.0_111-8u111-b14-2-b14, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1920x1080
Maximum Screen Size: 1920x1080
Java package: openjdk-8-jre:amd64-8u111-b14-2
Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-9
VM arguments: [-Dawt.useSystemAAFontSettings=on]

Plugins:
+ AddrInterpolation (32699)
+ Create_grid_of_ways (32699)
+ FastDraw (32938)
+ FixAddresses (32796)
+ ImportImagePlugin (32699)
+ OpeningHoursEditor (32699)
+ PicLayer (32796)
+ SimplifyArea (32796)
+ apache-commons (32699)
+ buildings_tools (32944)
+ download_along (32946)
+ editgpx (32699)
+ ejml (32680)
+ geojson (43)
+ geotools (32813)
+ graphview (32796)
+ jogl (1.0.46)
+ jts (32699)
+ kendzi3d (1.0.191)
+ kendzi3d-resources (0.0.1)
+ log4j (32699)
+ measurement (32936)
+ merge-overlap (32699)
+ opendata (32898)
+ pdfimport (32796)
+ photo_geotagging (32699)
+ poly (32699)
+ reverter (32796)
+ tageditor (33021)
+ tagging-preset-tester (32869)
+ todo (30000)
+ turnlanes-tagging (252)
+ turnrestrictions (32796)
+ undelete (32699)
+ utilsplugin2 (32815)

Attachments (0)

Change History (1)

comment:1 Changed 3 years ago by Don-vip

Resolution: fixed
Status: newclosed

Fixed in [o33038:33039].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Don-vip.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.