org.hibernate.boot.MappingException: Unable to open URL InputStream : origin(file://nothere)

Hibernate JIRA | Andrea Boriero | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    org.hibernate.boot.MappingException: Unable to open URL InputStream : origin(file://nothere) at org.hibernate.boot.jaxb.internal.UrlXmlSource.doBind(UrlXmlSource.java:42) at org.hibernate.boot.spi.XmlMappingBinderAccess.bind(XmlMappingBinderAccess.java:102) at org.hibernate.boot.MetadataSources.addURL(MetadataSources.java:393) at org.hibernate.cfg.Configuration.addURL(Configuration.java:446) at org.hibernate.test.mappingexception.MappingExceptionTest.testNotFound(MappingExceptionTest.java:151) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.hibernate.testing.junit4.ExtendedFrameworkMethod.invokeExplosively(ExtendedFrameworkMethod.java:45) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74) Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.Socket.connect(Socket.java:589) at java.net.Socket.connect(Socket.java:538) at sun.net.ftp.impl.FtpClient.doConnect(FtpClient.java:957) at sun.net.ftp.impl.FtpClient.tryConnect(FtpClient.java:917) at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:1012) at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:998) at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:294) at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:393) at java.net.URL.openStream(URL.java:1045) at org.hibernate.boot.jaxb.internal.UrlXmlSource.doBind(UrlXmlSource.java:35)

    Hibernate JIRA | 8 months ago | Andrea Boriero
    org.hibernate.boot.MappingException: Unable to open URL InputStream : origin(file://nothere)
  2. 0

    autoupdater problem??

    GitHub | 5 years ago | paulj1x
    java.net.ConnectException: Connection refused
  3. 0

    [SEVERE] java.net.ConnectException: Connection refused

    GitHub | 5 years ago | ScottSpittle
    java.net.ConnectException: Connection refused
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NPE on startup

    GitHub | 5 years ago | TnTBass
    java.net.ConnectException: Connection refused

  1. eti22 1 times, last 3 months ago
6 unregistered visitors
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.net.ConnectException

    Connection refused

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    URL.openStream
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    5. java.net.Socket.connect(Socket.java:589)
    6. java.net.Socket.connect(Socket.java:538)
    7. sun.net.ftp.impl.FtpClient.doConnect(FtpClient.java:957)
    8. sun.net.ftp.impl.FtpClient.tryConnect(FtpClient.java:917)
    9. sun.net.ftp.impl.FtpClient.connect(FtpClient.java:1012)
    10. sun.net.ftp.impl.FtpClient.connect(FtpClient.java:998)
    11. sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:294)
    12. sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:393)
    13. java.net.URL.openStream(URL.java:1045)
    13 frames
  3. org.hibernate.boot
    UrlXmlSource.doBind
    1. org.hibernate.boot.jaxb.internal.UrlXmlSource.doBind(UrlXmlSource.java:35)
    1 frame