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.
  1. 0

    Convert EPSG:3068 to WGS84

    Geographic Information Systems | 2 years ago | Selphiron
    java.lang.NoClassDefFoundError: org/hsqldb/jdbc/jdbcDataSource
  2. 0

    Missing EPSG Factory

    Geographic Information Systems | 1 week ago | user82538
    org.opengis.referencing.FactoryException: Failed to connect to the EPSG database.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

Not finding the right solution?
Take a tour to get the most out of Samebug.

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
    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
  5. 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
  6. org.geotools.factory
    FactoryRegistry.getServiceProviders
    1. org.geotools.factory.FactoryRegistry.getServiceProviders(FactoryRegistry.java:197)
    1 frame
  7. 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
  8. org.opentripplanner.common
    GeometryUtils.<clinit>
    1. org.opentripplanner.common.geometry.GeometryUtils.<clinit>(GeometryUtils.java:41)
    1 frame
  9. 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
  10. 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