org.opengis.referencing.FactoryException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Missing EPSG Factory
    via Geographic Information Systems by user82538
    ,
  • Using JWNL, too many open files in system
    via Stack Overflow by hao
    ,
  • GitHub comment 952#145085983
    via GitHub by hlship
    ,
  • Having issues getting Cassandra to run on more than one node
    via by Dylan Bethune-Waddell,
  • Fatal errors running Camel examples
    via Stack Overflow by user5424235
    ,
  • GitHub comment 571#166662828
    via GitHub by maggu2810
    ,
  • GitHub comment 571#166657819
    via GitHub by maggu2810
    ,
    • org.opengis.referencing.FactoryException: Failed to connect to the EPSG database. at org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.createBackingStore(ThreadedEpsgFactory.java:441) at org.geotools.referencing.factory.DeferredAuthorityFactory.getBackingStore(DeferredAuthorityFactory.java:133) at org.geotools.referencing.factory.BufferedAuthorityFactory.isAvailable(BufferedAuthorityFactory.java:235) at org.geotools.referencing.factory.DeferredAuthorityFactory.isAvailable(DeferredAuthorityFactory.java:119) at org.geotools.factory.FactoryRegistry.isAvailable(FactoryRegistry.java:667) at org.geotools.factory.FactoryRegistry.isAcceptable(FactoryRegistry.java:501) at org.geotools.factory.FactoryCreator.getServiceProvider(FactoryCreator.java:226) at org.geotools.referencing.ReferencingFactoryFinder.getAuthorityFactory(ReferencingFactoryFinder.java:220) at org.geotools.referencing.ReferencingFactoryFinder.getCRSAuthorityFactory(ReferencingFactoryFinder.java:440) at org.geotools.referencing.factory.epsg.LongitudeFirstFactory.createBackingStore(LongitudeFirstFactory.java:191) at org.geotools.referencing.factory.DeferredAuthorityFactory.getBackingStore(DeferredAuthorityFactory.java:133) at org.geotools.referencing.factory.BufferedAuthorityFactory.isAvailable(BufferedAuthorityFactory.java:235) at org.geotools.referencing.factory.DeferredAuthorityFactory.isAvailable(DeferredAuthorityFactory.java:119) at org.geotools.factory.FactoryRegistry.isAvailable(FactoryRegistry.java:667) at org.geotools.factory.FactoryRegistry.isAcceptable(FactoryRegistry.java:501) at org.geotools.factory.FactoryRegistry$1.filter(FactoryRegistry.java:192) at javax.imageio.spi.FilterIterator.advance(ServiceRegistry.java:821) at javax.imageio.spi.FilterIterator.<init>(ServiceRegistry.java:815) at javax.imageio.spi.ServiceRegistry.getServiceProviders(ServiceRegistry.java:516) at org.geotools.factory.FactoryRegistry.getServiceProviders(FactoryRegistry.java:197) at org.geotools.referencing.ReferencingFactoryFinder.getFactories(ReferencingFactoryFinder.java:180) at org.geotools.referencing.ReferencingFactoryFinder.getCRSAuthorityFactories(ReferencingFactoryFinder.java:455) at org.geotools.referencing.DefaultAuthorityFactory.getBackingFactory(DefaultAuthorityFactory.java:88) at org.geotools.referencing.DefaultAuthorityFactory.<init>(DefaultAuthorityFactory.java:69) at org.geotools.referencing.CRS.getAuthorityFactory(CRS.java:257) at org.opentripplanner.common.geometry.GeometryUtils.<clinit>(GeometryUtils.java:41) at org.opentripplanner.graph_builder.module.osm.OpenStreetMapModule$Handler.buildBasicGraph(OpenStreetMapModule.java:615) at org.opentripplanner.graph_builder.module.osm.OpenStreetMapModule$Handler.buildGraph(OpenStreetMapModule.java:238) at org.opentripplanner.graph_builder.module.osm.OpenStreetMapModule.buildGraph(OpenStreetMapModule.java:172) at org.opentripplanner.graph_builder.GraphBuilder.run(GraphBuilder.java:157) at org.opentripplanner.standalone.OTPMain.run(OTPMain.java:111) at org.opentripplanner.standalone.OTPMain.main(OTPMain.java:86) Caused by: java.sql.SQLException: Can't read file "EPSG.zip". at org.geotools.referencing.factory.epsg.ThreadedHsqlEpsgFactory.createBackingStore(ThreadedHsqlEpsgFactory.java:313) at org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.createBackingStore0(ThreadedEpsgFactory.java:397) at org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.createBackingStore(ThreadedEpsgFactory.java:434) ... 31 more Caused by: java.io.FileNotFoundException: /tmp/Geotools/Databases/HSQL/v7.9.0/EPSG_creation_lock.txt (No such file or directory) at java.io.RandomAccessFile.open0(Native Method) at java.io.RandomAccessFile.open(RandomAccessFile.java:316) at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243) at org.geotools.referencing.factory.epsg.ThreadedHsqlEpsgFactory.acquireLock(ThreadedHsqlEpsgFactory.java:343) at org.geotools.referencing.factory.epsg.ThreadedHsqlEpsgFactory.createBackingStore(ThreadedHsqlEpsgFactory.java:280) ... 33 more

    Users with the same issue

    rp
    1 times, last one,
    johnxfly
    4 times, last one,
    andyglick
    3 times, last one,
    Andreas Häber
    1 times, last one,
    Unknown visitor1 times, last one,
    32 more bugmates