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

Appcelerator JIRA | Krystian P | 4 years ago
  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 | 4 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 | 4 years ago | Krystian P
    java.lang.IllegalArgumentException: File {0} is not contained inside {1}.
  3. 0
    samebug tip
    You might send a large amount of data in the request URL. Consider sending it in the request body.
    via Coderanch by Partheban Udayakumar
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    I was missing a partitioning column because I did not specify the "basePath" option on read
  6. 0
    samebug tip
    Index settings can't be on the nodes via elasticsearch.yml. You need to set them at your index, or using index templates to avoid inconsistencies.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    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