java.lang.IllegalArgumentException: File {0} is not contained inside {1}.

Appcelerator JIRA | Krystian P | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    after update my aptana 3.2.2.201208201020 to 3.3 RC when trying to upload file I always get this error, but when I click synchronize everything works just fine. Aptana log looks like this: {code} !ENTRY com.aptana.syncing.ui 4 0 2012-10-15 14:20:23.796 !MESSAGE Failed to upload file !STACK 0 java.lang.IllegalArgumentException: File {0} is not contained inside {1}. at com.aptana.ide.syncing.core.old.Synchronizer.getCanonicalPath(Synchronizer.java:184) at com.aptana.ide.syncing.core.old.Synchronizer.createSyncItems(Synchronizer.java:437) at com.aptana.ide.syncing.ui.actions.UploadAction$1.run(UploadAction.java:114) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code} and my FTP server log looks like this: {code} (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 230 Logged on (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> PWD (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 257 "/" is current directory. (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> CWD /folder_name (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 250 CWD successful. "/folder_name" is current directory. (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> TYPE I (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 200 Type set to I (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> FEAT (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 211-Features: (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> MDTM (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> REST STREAM (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> SIZE (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> MLST type*;size*;modify*; (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> MLSD (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> UTF8 (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> CLNT (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> MFMT (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 211 End (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> SITE HELP (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 504 Command not implemented for that parameter (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> SYST (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 215 UNIX emulated by FileZilla (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> STAT / (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 500 Syntax error, command unrecognized. (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> CWD / (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 250 CWD successful. "/" is current directory. (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> PASV (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 227 Entering Passive Mode (0,0,0,0,215,99) (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> LIST -a (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 150 Connection accepted (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 226 Transfer OK (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> NOOP (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 200 OK (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> TYPE I (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 200 Type set to I (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> CWD /folder_name (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 250 CWD successful. "/folder_name" is current directory. (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> PASV (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 227 Entering Passive Mode (0,0,0,0,215,100) (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> LIST -a (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 150 Connection accepted (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 226 Transfer OK (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> CWD /folder_name/Scripts (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 250 CWD successful. "/folder_name/Scripts" is current directory. (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> PASV (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 227 Entering Passive Mode (0,0,0,0,215,101) (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> LIST -a (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 150 Connection accepted (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 226 Transfer OK (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> PASV (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 227 Entering Passive Mode (0,0,0,0,215,102) (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> STOR 1350287443194._tmp_upload.txt (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 150 Connection accepted (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 226 Transfer OK (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> PASV (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 227 Entering Passive Mode (0,0,0,0,215,103) (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> LIST -a (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 150 Connection accepted (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 226 Transfer OK (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> DELE 1350287443194._tmp_upload.txt (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 250 File deleted successfully {code}

    Appcelerator JIRA | 5 years ago | Krystian P
    java.lang.IllegalArgumentException: File {0} is not contained inside {1}.
  2. 0

    after update my aptana 3.2.2.201208201020 to 3.3 RC when trying to upload file I always get this error, but when I click synchronize everything works just fine. Aptana log looks like this: {code} !ENTRY com.aptana.syncing.ui 4 0 2012-10-15 14:20:23.796 !MESSAGE Failed to upload file !STACK 0 java.lang.IllegalArgumentException: File {0} is not contained inside {1}. at com.aptana.ide.syncing.core.old.Synchronizer.getCanonicalPath(Synchronizer.java:184) at com.aptana.ide.syncing.core.old.Synchronizer.createSyncItems(Synchronizer.java:437) at com.aptana.ide.syncing.ui.actions.UploadAction$1.run(UploadAction.java:114) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code} and my FTP server log looks like this: {code} (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 230 Logged on (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> PWD (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 257 "/" is current directory. (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> CWD /folder_name (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 250 CWD successful. "/folder_name" is current directory. (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> TYPE I (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 200 Type set to I (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> FEAT (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 211-Features: (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> MDTM (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> REST STREAM (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> SIZE (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> MLST type*;size*;modify*; (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> MLSD (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> UTF8 (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> CLNT (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> MFMT (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 211 End (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> SITE HELP (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 504 Command not implemented for that parameter (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> SYST (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 215 UNIX emulated by FileZilla (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> STAT / (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 500 Syntax error, command unrecognized. (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> CWD / (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 250 CWD successful. "/" is current directory. (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> PASV (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 227 Entering Passive Mode (0,0,0,0,215,99) (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> LIST -a (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 150 Connection accepted (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 226 Transfer OK (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> NOOP (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 200 OK (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> TYPE I (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 200 Type set to I (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> CWD /folder_name (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 250 CWD successful. "/folder_name" is current directory. (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> PASV (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 227 Entering Passive Mode (0,0,0,0,215,100) (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> LIST -a (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 150 Connection accepted (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 226 Transfer OK (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> CWD /folder_name/Scripts (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 250 CWD successful. "/folder_name/Scripts" is current directory. (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> PASV (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 227 Entering Passive Mode (0,0,0,0,215,101) (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> LIST -a (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 150 Connection accepted (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 226 Transfer OK (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> PASV (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 227 Entering Passive Mode (0,0,0,0,215,102) (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> STOR 1350287443194._tmp_upload.txt (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 150 Connection accepted (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 226 Transfer OK (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> PASV (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 227 Entering Passive Mode (0,0,0,0,215,103) (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> LIST -a (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 150 Connection accepted (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 226 Transfer OK (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> DELE 1350287443194._tmp_upload.txt (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 250 File deleted successfully {code}

    Appcelerator JIRA | 5 years ago | Krystian P
    java.lang.IllegalArgumentException: File {0} is not contained inside {1}.
  3. 0

    Eclipse Community Forums: IMP » Cannot uninstall IMP

    eclipse.org | 2 years ago
    java.lang.IllegalArgumentException: No matching artifact found for: osgi.bundle,org.eclipse.imp.doc,0.1.17.v201001291500. at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.I nstallBundleAction.installBundle(InstallBundleAction.java:62 ) at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.I nstallBundleAction.execute(InstallBundleAction.java:29) at org.eclipse.equinox.internal.p2.engine.ParameterizedProvisio ningAction.execute(ParameterizedProvisioningAction.java:35) at org.eclipse.equinox.internal.provisional.p2.engine.Phase.mai nPerform(Phase.java:129) at org.eclipse.equinox.internal.provisional.p2.engine.Phase.per form(Phase.java:72) at org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet. perform(PhaseSet.java:44) at org.eclipse.equinox.internal.provisional.p2.engine.Engine.pe rform(Engine.java:54) at org.eclipse.equinox.internal.provisional.p2.ui.operations.Pr ovisioningUtil.performProvisioningPlan(ProvisioningUtil.java :389) at org.eclipse.equinox.internal.provisional.p2.ui.operations.Pr ofileModificationOperation.doExecute(ProfileModificationOper ation.java:61) at org.eclipse.equinox.internal.provisional.p2.ui.operations.Pr ovisioningOperation.execute(ProvisioningOperation.java:37) at org.eclipse.equinox.internal.provisional.p2.ui.ProvisioningO perationRunner$1.run(ProvisioningOperationRunner.java:94)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      File {0} is not contained inside {1}.

      at com.aptana.ide.syncing.core.old.Synchronizer.getCanonicalPath()
    2. com.aptana.ide
      UploadAction$1.run
      1. com.aptana.ide.syncing.core.old.Synchronizer.getCanonicalPath(Synchronizer.java:184)
      2. com.aptana.ide.syncing.core.old.Synchronizer.createSyncItems(Synchronizer.java:437)
      3. com.aptana.ide.syncing.ui.actions.UploadAction$1.run(UploadAction.java:114)
      3 frames
    3. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      1 frame