When I open a streamed file in the callback method it sometimes is still busy. What can I do?

When I open a streamed file in the callback method it sometimes is still busy. What can I do?

This is a known issue with the DataStream plug-in.

It can happen when you open the streamed file immediately after it was created, using the callback method.


The issue can be avoided by adding 'application.sleep(500)' (500ms sleep) before you open the file in the method.

    • Related Articles

    • I see no method for adding the J4L Barcode license

      That is correct! When you buy the libraries from Java4Less you will receive runtime libraries without the need to enter any license afterwards. This also means that you will have to replace the trial libraries with the newly received libraries (after ...
    • What is the difference between getConnection() and isAuthorized()

      var vResult = isAuthorized(...)  This method a is used to check if a combination of a users login/password is authorized to login to the system using simple authentication. Simple authentication consists of sending the LDAP server the fully qualified ...
    • Servoy WAR Builder - BitBucket Pipelines

      Servoy WAR Exporter This Docker image for BitBucket Pipelines allows users to build Servoy WAR files, using options from Servoy's bundled WAR export. In order to use this Action, you will need an All Products Pack API key from Servoy Components. See ...
    • How can I debug the Exchange Plug-in

      When you start to work with the Exchange and/or ExchangeWS Plug-in it is good to have additional information about what you are doing. Or you need to debug an issue and JEC or IT2BE ask you for additional information. When this is the case please ...
    • Why doesn't it work in Servoy Developer?

      The plugin only works with Java 8, and Java 9 currently. Java 10+ support is in progress.  Recent Servoy Installers bundle the latest java version into it.  To edit the java version, edit the servoy.ini file located in the developer folder of your ...