org.opengis.referencing.FactoryException: Failed to connect to the EPSG database.

tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.FileNotFoundException

    /tmp/Geotools/Databases/HSQL/v7.9.0/EPSG_creation_lock.txt (No such file or directory)

    at java.io.RandomAccessFile.open0()
  2. Java RT
    RandomAccessFile.<init>
    1. java.io.RandomAccessFile.open0(Native Method)
    2. java.io.RandomAccessFile.open(RandomAccessFile.java:316)
    3. java.io.RandomAccessFile.<init>(RandomAccessFile.java:243)
    3 frames
  3. org.geotools.referencing
    DeferredAuthorityFactory.isAvailable
    1. org.geotools.referencing.factory.epsg.ThreadedHsqlEpsgFactory.acquireLock(ThreadedHsqlEpsgFactory.java:343)
    2. org.geotools.referencing.factory.epsg.ThreadedHsqlEpsgFactory.createBackingStore(ThreadedHsqlEpsgFactory.java:280)
    3. org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.createBackingStore0(ThreadedEpsgFactory.java:397)
    4. org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.createBackingStore(ThreadedEpsgFactory.java:434)
    5. org.geotools.referencing.factory.DeferredAuthorityFactory.getBackingStore(DeferredAuthorityFactory.java:133)
    6. org.geotools.referencing.factory.BufferedAuthorityFactory.isAvailable(BufferedAuthorityFactory.java:235)
    7. org.geotools.referencing.factory.DeferredAuthorityFactory.isAvailable(DeferredAuthorityFactory.java:119)
    7 frames
  4. org.geotools.factory
    FactoryCreator.getServiceProvider
    1. org.geotools.factory.FactoryRegistry.isAvailable(FactoryRegistry.java:667)
    2. org.geotools.factory.FactoryRegistry.isAcceptable(FactoryRegistry.java:501)
    3. org.geotools.factory.FactoryRegistry.getServiceImplementation(FactoryRegistry.java:437)
    4. org.geotools.factory.FactoryRegistry.getServiceProvider(FactoryRegistry.java:365)
    5. org.geotools.factory.FactoryCreator.getServiceProvider(FactoryCreator.java:145)
    5 frames
  5. org.geotools.referencing
    DeferredAuthorityFactory.isAvailable
    1. org.geotools.referencing.ReferencingFactoryFinder.getAuthorityFactory(ReferencingFactoryFinder.java:220)
    2. org.geotools.referencing.ReferencingFactoryFinder.getCRSAuthorityFactory(ReferencingFactoryFinder.java:440)
    3. org.geotools.referencing.factory.epsg.LongitudeFirstFactory.createBackingStore(LongitudeFirstFactory.java:191)
    4. org.geotools.referencing.factory.DeferredAuthorityFactory.getBackingStore(DeferredAuthorityFactory.java:133)
    5. org.geotools.referencing.factory.BufferedAuthorityFactory.isAvailable(BufferedAuthorityFactory.java:235)
    6. org.geotools.referencing.factory.DeferredAuthorityFactory.isAvailable(DeferredAuthorityFactory.java:119)
    6 frames
  6. org.geotools.factory
    FactoryRegistry$1.filter
    1. org.geotools.factory.FactoryRegistry.isAvailable(FactoryRegistry.java:667)
    2. org.geotools.factory.FactoryRegistry.isAcceptable(FactoryRegistry.java:501)
    3. org.geotools.factory.FactoryRegistry$1.filter(FactoryRegistry.java:192)
    3 frames
  7. Java RT
    ServiceRegistry.getServiceProviders
    1. javax.imageio.spi.FilterIterator.advance(ServiceRegistry.java:821)
    2. javax.imageio.spi.FilterIterator.<init>(ServiceRegistry.java:815)
    3. javax.imageio.spi.ServiceRegistry.getServiceProviders(ServiceRegistry.java:516)
    3 frames
  8. org.geotools.factory
    FactoryRegistry.getServiceProviders
    1. org.geotools.factory.FactoryRegistry.getServiceProviders(FactoryRegistry.java:197)
    1 frame
  9. org.geotools.referencing
    CRS.getAuthorityFactory
    1. org.geotools.referencing.ReferencingFactoryFinder.getFactories(ReferencingFactoryFinder.java:180)
    2. org.geotools.referencing.ReferencingFactoryFinder.getCRSAuthorityFactories(ReferencingFactoryFinder.java:455)
    3. org.geotools.referencing.DefaultAuthorityFactory.getBackingFactory(DefaultAuthorityFactory.java:88)
    4. org.geotools.referencing.DefaultAuthorityFactory.<init>(DefaultAuthorityFactory.java:69)
    5. org.geotools.referencing.CRS.getAuthorityFactory(CRS.java:257)
    5 frames
  10. org.opentripplanner.common
    GeometryUtils.<clinit>
    1. org.opentripplanner.common.geometry.GeometryUtils.<clinit>(GeometryUtils.java:41)
    1 frame
  11. org.opentripplanner.graph_builder
    GraphBuilder.run
    1. org.opentripplanner.graph_builder.module.osm.OpenStreetMapModule$Handler.buildBasicGraph(OpenStreetMapModule.java:615)
    2. org.opentripplanner.graph_builder.module.osm.OpenStreetMapModule$Handler.buildGraph(OpenStreetMapModule.java:238)
    3. org.opentripplanner.graph_builder.module.osm.OpenStreetMapModule.buildGraph(OpenStreetMapModule.java:172)
    4. org.opentripplanner.graph_builder.GraphBuilder.run(GraphBuilder.java:157)
    4 frames
  12. org.opentripplanner.standalone
    OTPMain.main
    1. org.opentripplanner.standalone.OTPMain.run(OTPMain.java:111)
    2. org.opentripplanner.standalone.OTPMain.main(OTPMain.java:86)
    2 frames