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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Zhenya
, 2 years ago
via Geographic Information Systems by Selphiron
, 1 year ago
Failed to connect to the EPSG database.
via stackexchange.com by Unknown author, 1 year ago
via faqssys.info by Unknown author, 1 year ago
Failed to connect to the EPSG database.
via Geographic Information Systems by user82538
, 9 months ago
Failed to connect to the EPSG database.
org.opengis.referencing.FactoryException: Failed to connect to the EPSG database.
at java.io.RandomAccessFile.open0(Native Method)
at java.io.RandomAccessFile.open(RandomAccessFile.java:316)
at java.io.RandomAccessFile.(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)
at org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.createBackingStore0(ThreadedEpsgFactory.java:397)
at org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.createBackingStore(ThreadedEpsgFactory.java:434)
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.getServiceImplementation(FactoryRegistry.java:437)
at org.geotools.factory.FactoryRegistry.getServiceProvider(FactoryRegistry.java:365)
at org.geotools.factory.FactoryCreator.getServiceProvider(FactoryCreator.java:145)
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.(ServiceRegistry.java:815)
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:102)
at org.geotools.referencing.DefaultAuthorityFactory.(DefaultAuthorityFactory.java:69)
at org.geotools.referencing.CRS.getAuthorityFactory(CRS.java:257)
at org.opentripplanner.common.geometry.GeometryUtils.(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)

Users with the same issue

Once, 5 months ago
4 times, 7 months ago
3 times, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
5 times, 1 year ago
34 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.