Uploaded image for project: 'Hibernate ORM'
  1. HHH-10944

org.hibernate.test.mappingexception.MappingExceptionTest#testNotFound failure

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.2.1
    • Fix Version/s: 5.2.2
    • Component/s: hibernate-core
    • Labels:
      None
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true
    • Sprint:

      Description

      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)

        Attachments

          Activity

            People

            • Assignee:
              dreab8 Andrea Boriero
              Reporter:
              dreab8 Andrea Boriero
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: