EldoS | Feel safer!

Software components for data protection, secure storage and transfer

CbFsOpenedFilesSnapshot getNextOpenedFile() throws Exception (Java)

Posted: 05/19/2015 03:46:27
by Tobias Fink (Basic support level)
Joined: 05/19/2015
Posts: 1


we're using CBFS driver on Windows 7 x64.

I've extended the vdisk java-example to add an command "snapshot":

                if (line == null) continue;
                if ("exit".equals(line)) break;
                else if ("ss".equals(line))
                   CbFsOpenedFilesSnapshot ss = cbfs.createOpenedFilesSnapshot();
                      while (ss.getNextOpenedFile())
                         System.out.println(ss.getFileName() + "->" + ss.getOpenCount());
                   } catch (ECBFSError e)
                else process(line);

Now whenever "ss.getNextOpenedFile()" is called i get an exception:

eldos.cbfs.ECBFSError: Es sind mehr Daten verf├╝gbar.

Also, i'm somehow confused with the documentation, because the method names differ a bit (eg "getOpenCount()" in the library vs "getOpenedFileCount()" in the documentation).

Could you please tell me what i am doing wrong here?
Posted: 05/19/2015 04:10:37
by Volodymyr Zinin (Team)


Thank you for such detailed report.
It seems there is a bug in CBFS. I have created a ticked in HelpDesk for this case. We will check it and write the result there.



Topic viewed 2581 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!