← Back to team overview

sikuli-driver team mailing list archive

[Bug 512547] Re: File Save / Save As Failing

 

I am currently on 1.1.0 but this also happened on 1.0.1 in another
manner.

in 1.1.0 sometimes when i try to save using File>save or ctrl+S, the
message box states:

[error] IDE: Problem when trying to invoke menu action doSave Error:
null


sometimes it actually saves anyways after i close out and say no to save
changes and reopen and the changes are saved but other times it does not
always save.

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

Title:
  File Save / Save As Failing

Status in Sikuli:
  In Progress

Bug description:
  Running on Win7-64bit with Java 1.6.17-32bit. Clicking either Save or
  Save As immediately generates errors:

  [sikuli] FileAction.doSave
  java.lang.reflect.InvocationTargetException
  	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  	at java.lang.reflect.Method.invoke(Unknown Source)
  	at edu.mit.csail.uid.SikuliIDE$MenuAction.actionPerformed(SikuliIDE.java:466)
  	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
  	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
  	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
  	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
  	at javax.swing.AbstractButton.doClick(Unknown Source)
  	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
  	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
  	at java.awt.Component.processMouseEvent(Unknown Source)
  	at javax.swing.JComponent.processMouseEvent(Unknown Source)
  	at java.awt.Component.processEvent(Unknown Source)
  	at java.awt.Container.processEvent(Unknown Source)
  	at java.awt.Component.dispatchEventImpl(Unknown Source)
  	at java.awt.Container.dispatchEventImpl(Unknown Source)
  	at java.awt.Component.dispatchEvent(Unknown Source)
  	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
  	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
  	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
  	at java.awt.Container.dispatchEventImpl(Unknown Source)
  	at java.awt.Window.dispatchEventImpl(Unknown Source)
  	at java.awt.Component.dispatchEvent(Unknown Source)
  	at java.awt.EventQueue.dispatchEvent(Unknown Source)
  	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
  	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
  	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
  	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
  	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
  	at java.awt.EventDispatchThread.run(Unknown Source)
  Caused by: java.lang.ArrayIndexOutOfBoundsException: 3184
  	at sun.awt.shell.Win32ShellFolder2.getFileChooserIcon(Unknown Source)
  	at sun.awt.shell.Win32ShellFolderManager2.get(Unknown Source)
  	at sun.awt.shell.ShellFolder.get(Unknown Source)
  	at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$LazyWindowsIcon.createValue(Unknown Source)
  	at javax.swing.UIDefaults.getFromHashtable(Unknown Source)
  	at javax.swing.UIDefaults.get(Unknown Source)
  	at javax.swing.MultiUIDefaults.get(Unknown Source)
  	at javax.swing.UIDefaults.getIcon(Unknown Source)
  	at javax.swing.UIManager.getIcon(Unknown Source)
  	at javax.swing.plaf.basic.BasicFileChooserUI.installIcons(Unknown Source)
  	at javax.swing.plaf.basic.BasicFileChooserUI.installDefaults(Unknown Source)
  	at javax.swing.plaf.basic.BasicFileChooserUI.installUI(Unknown Source)
  	at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installUI(Unknown Source)
  	at javax.swing.JComponent.setUI(Unknown Source)
  	at javax.swing.JFileChooser.updateUI(Unknown Source)
  	at javax.swing.JFileChooser.setup(Unknown Source)
  	at javax.swing.JFileChooser.<init>(Unknown Source)
  	at javax.swing.JFileChooser.<init>(Unknown Source)
  	at edu.mit.csail.uid.SikuliPane.saveAsFile(SikuliPane.java:166)
  	at edu.mit.csail.uid.SikuliPane.saveFile(SikuliPane.java:158)
  	at edu.mit.csail.uid.SikuliIDE$FileAction.doSave(SikuliIDE.java:568)
  	... 32 more

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