XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Severity: Unknown
    • Resolution: Not a Bug
    • Affects Version/s: 7.0.0 GA
    • Fix Version/s: None
    • Component/s: Transformation
    • Labels:
    • Environment:
      Docker image based on java:8-jre
    • Story Points:
      0
    • PDI Sub-component:
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.
    • Steps to Reproduce:
      Hide

      Exception occurs randomly.

      Show
      Exception occurs randomly.

      Description

      I use REST Client operator for creating object with POST method. Transformation was sometimes terminated unexpectedly with this exception:

      ERROR (version 7.0.0.0-25, build 1 from 2016-11-05 15.35.36 by buildguy) : org.pentaho.di.core.exception.KettleException: 
      Can not result from [http://XXX:8888/api/relations]
      java.net.BindException: Address already in use (Bind failed)
      
      	at org.pentaho.di.trans.steps.rest.Rest.callRest(Rest.java:251)
      	at org.pentaho.di.trans.steps.rest.Rest.processRow(Rest.java:475)
      	at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: com.sun.jersey.api.client.ClientHandlerException: java.net.BindException: Address already in use (Bind failed)
      	at com.sun.jersey.client.apache.DefaultApacheHttpMethodExecutor.executeMethod(DefaultApacheHttpMethodExecutor.java:213)
      	at com.sun.jersey.client.apache.ApacheHttpClientHandler.handle(ApacheHttpClientHandler.java:175)
      	at com.sun.jersey.api.client.Client.handle(Client.java:652)
      	at com.sun.jersey.api.client.WebResource.handle(WebResource.java:682)
      	at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
      	at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:570)
      	at org.pentaho.di.trans.steps.rest.Rest.callRest(Rest.java:177)
      	... 3 more
      Caused by: java.net.BindException: Address already in use (Bind failed)
      	at java.net.PlainSocketImpl.socketBind(Native Method)
      	at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
      	at java.net.Socket.bind(Socket.java:644)
      	at java.net.Socket.<init>(Socket.java:433)
      	at java.net.Socket.<init>(Socket.java:286)
      	at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
      	at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)
      	at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
      	at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
      	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
      	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
      	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
      	at com.sun.jersey.client.apache.DefaultApacheHttpMethodExecutor.executeMethod(DefaultApacheHttpMethodExecutor.java:210)
      	... 9 more
      

      Thanks

        Attachments

          Activity

            People

            Assignee:
            project admin Triage
            Reporter:
            samuelbr Samuel Brezáni
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: