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 ...
    • 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 ...
    • Why do we need to buy the MiG libraries separately?

      The MiG libraries are so called 'developer libraries'. When we ship them with our Calendar bean they are completely 'open' and you can use them for other projects without the need to use the Calendar bean. It is for that reason that we agreed with ...