← Back to team overview

sikuli-driver team mailing list archive

[Bug 1220540] Re: [1.0.1] Linux: App.close() crashes: java.lang.ArrayIndexOutofBound

 

ok, no problem - only wanted to know.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1220540

Title:
  [1.0.1] Linux: App.close() crashes: java.lang.ArrayIndexOutofBound

Status in Sikuli:
  In Progress

Bug description:
  
   Test try to open a app window by App.open(), it works. but i can't close it with App.close();

      m_RDPHandle = App.open("rdesktop xxxx.cn.oracle.com -f");
      m_RDPHandle.close();

  The  m_RDPHandle.close() will throw a java exception from console:

    [log] openApp: rdesktop bej301448.cn.oracle.com -f
    [log] App.open rdesktop bej301448.cn.oracle.com -f(10417)
    [log] App.close rdesktop bej301448.cn.oracle.com -f(10417)
    [debug] close: 10417
    [error] script [ sanity ] stopped with error in line 93
    [error] java.lang.ArrayIndexOutOfBoundsException ( java.lang.ArrayIndexOutOfBoundsException: 0 )
    [error] --- Traceback --- error source first
    line: module ( function ) statement 
    78: main (  LaunchRDP )     m_RDPHandle.close();
    [error] --- Traceback --- end --------------

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1220540/+subscriptions


References