Application Export erros

I get a massive error dump when I try to Export Application as standalone. Googling it doesn't show any help. It looks like a java issue. Can anyone help me out? Error Below.

Could not run the sketch (Target VM failed to initialize). For more information, read revisions.txt and Help → Troubleshooting. java.io.IOException: The following files could not be trashed: [/Users/admin/Documents/EmojiCenter/Dev/Processing/EC_Roboclient_v02/application.macosx (FSRef: -43)] at com.sun.jna.platform.mac.MacFileUtils.moveToTrash(MacFileUtils.java:83) at processing.app.Platform.deleteFile(Platform.java:373) at processing.app.Mode.prepareExportFolder(Mode.java:1012) at processing.mode.java.JavaBuild.exportApplication(JavaBuild.java:755) at processing.mode.java.JavaBuild.exportApplication(JavaBuild.java:720) at processing.mode.java.JavaMode.handleExportApplication(JavaMode.java:248) at processing.mode.java.JavaEditor.exportApplicationPrompt(JavaEditor.java:943) at processing.mode.java.JavaEditor.handleExportApplication(JavaEditor.java:573) at processing.mode.java.JavaEditor$3.actionPerformed(JavaEditor.java:196) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.AbstractButton.doClick(AbstractButton.java:376) at com.apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:125) at java.awt.MenuItem.processActionEvent(MenuItem.java:669) at java.awt.MenuItem.processEvent(MenuItem.java:628) at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:351) at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:339) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:761) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.awt.EventQueue$4.run(EventQueue.java:729) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) java.io.IOException: The following files could not be trashed: [/Users/admin/Documents/EmojiCenter/Dev/Processing/EC_Roboclient_v02/application.linux32 (FSRef: -43)] at com.sun.jna.platform.mac.MacFileUtils.moveToTrash(MacFileUtils.java:83) at processing.app.Platform.deleteFile(Platform.java:373) at processing.app.Mode.prepareExportFolder(Mode.java:1012) at processing.mode.java.JavaBuild.exportApplication(JavaBuild.java:755) at processing.mode.java.JavaBuild.exportApplication(JavaBuild.java:703) at processing.mode.java.JavaMode.handleExportApplication(JavaMode.java:248) at processing.mode.java.JavaEditor.exportApplicationPrompt(JavaEditor.java:943) at processing.mode.java.JavaEditor.handleExportApplication(JavaEditor.java:573) at processing.mode.java.JavaEditor$3.actionPerformed(JavaEditor.java:196) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.AbstractButton.doClick(AbstractButton.java:376) at com.apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:125) at java.awt.MenuItem.processActionEvent(MenuItem.java:669) at java.awt.MenuItem.processEvent(MenuItem.java:628) at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:351) at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:339) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:761) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.awt.EventQueue$4.run(EventQueue.java:729) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) java.io.IOException: The following files could not be trashed: [/Users/admin/Documents/EmojiCenter/Dev/Processing/EC_Roboclient_v02/application.linux64 (FSRef: -43)] at com.sun.jna.platform.mac.MacFileUtils.moveToTrash(MacFileUtils.java:83) at processing.app.Platform.deleteFile(Platform.java:373) at processing.app.Mode.prepareExportFolder(Mode.java:1012) at processing.mode.java.JavaBuild.exportApplication(JavaBuild.java:755) at processing.mode.java.JavaBuild.exportApplication(JavaBuild.java:708) at processing.mode.java.JavaMode.handleExportApplication(JavaMode.java:248) at processing.mode.java.JavaEditor.exportApplicationPrompt(JavaEditor.java:943) at processing.mode.java.JavaEditor.handleExportApplication(JavaEditor.java:573) at processing.mode.java.JavaEditor$3.actionPerformed(JavaEditor.java:196) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.AbstractButton.doClick(AbstractButton.java:376) at com.apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:125) at java.awt.MenuItem.processActionEvent(MenuItem.java:669) at java.awt.MenuItem.processEvent(MenuItem.java:628) at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:351) at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:339) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:761) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.awt.EventQueue$4.run(EventQueue.java:729) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) java.io.IOException: The following files could not be trashed: [/Users/admin/Documents/EmojiCenter/Dev/Processing/EC_Roboclient_v02/application.linux-armv6hf (FSRef: -43)] at com.sun.jna.platform.mac.MacFileUtils.moveToTrash(MacFileUtils.java:83) at processing.app.Platform.deleteFile(Platform.java:373) at processing.app.Mode.prepareExportFolder(Mode.java:1012) at processing.mode.java.JavaBuild.exportApplication(JavaBuild.java:755) at processing.mode.java.JavaBuild.exportApplication(JavaBuild.java:714) at processing.mode.java.JavaMode.handleExportApplication(JavaMode.java:248) at processing.mode.java.JavaEditor.exportApplicationPrompt(JavaEditor.java:943) at processing.mode.java.JavaEditor.handleExportApplication(JavaEditor.java:573) at processing.mode.java.JavaEditor$3.actionPerformed(JavaEditor.java:196) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.AbstractButton.doClick(AbstractButton.java:376) at com.apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:125) at java.awt.MenuItem.processActionEvent(MenuItem.java:669) at java.awt.MenuItem.processEvent(MenuItem.java:628) at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:351) at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:339) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:761) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.awt.EventQueue$4.run(EventQueue.java:729) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Answers

  • edited November 2016

    java.io.IOException: The following files could not be trashed: [/Users/admin/Documents/EmojiCenter/Dev/Processing/EC_Roboclient_v02/application.macosx (FSRef: -43)

    Looks like it tried to delete a file (possibly to replace with the new one) but didn't have file permissions to do so? Did you edit this under two different user accounts? Your path shows that you are trying to edit folders under an account called "admin".

  • Hey guys, it seems that I have the same problem : java.io.IOException: The following files could not be trashed: > [/Users/fred/Documents/ProcessingFiles/LANDOR_TEAM/team_03d/application.macosx (FSRef: -43)]

    Help. Any idea someone? Thx a lot :((

  • edited February 2017

    ls -l /Users/fred/Documents/ProcessingFiles/LANDOR_TEAM/team_03d/application.macosx

    check the permissions. i think we've seen cases where you can't delete the file because of permissions.

  • (which was the original suggestion for the original post...)

  • thanks Koogs I thought it was that. Every folder and file is readable/writable.

  • Fsref -43 is 'file or folder does not exist'. Does it?

  • no, the file don't exist. I don't understand the problem. thank you Koogs for your answers.

  • it might be that it's erroneously trying to delete a file that isn't there.

    this does remind me of something... can't find it though.

    there is this on the githib issues page but it's windows XP and not helpful

    https://github.com/processing/processing/issues/4778

  • Thanks a lot Koogs.

Sign In or Register to comment.