java.lang.NullPointerException

Appcelerator JIRA | Krystian P | 4 years ago
  1. 0

    When I try to upload file via FTPS i get message "Opening file for write failed". But when I change to FTP everything works just great! I tested my server by another FTP client - FTPS & FTP works good. Aptana log: {code} !ENTRY com.aptana.syncing.core 4 0 2013-04-15 13:08:56.327 !MESSAGE (Build 3.3.2.201302081546) [ERROR] Opening file for write failed !STACK 1 org.eclipse.core.runtime.CoreException: Opening file for write failed at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.writeFile(FTPConnectionFileManager.java:1128) at com.aptana.core.io.vfs.BaseConnectionFileManager.openOutputStream(BaseConnectionFileManager.java:333) at com.aptana.core.io.efs.VirtualFile.openOutputStream(VirtualFile.java:143) at com.aptana.core.io.efs.SyncUtils.copy(SyncUtils.java:93) at com.aptana.ide.syncing.core.old.Synchronizer.uploadAndDelete(Synchronizer.java:1395) at com.aptana.ide.syncing.core.old.Synchronizer.upload(Synchronizer.java:1299) at com.aptana.ide.syncing.ui.actions.UploadAction$1.run(UploadAction.java:128) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: java.lang.NullPointerException at com.enterprisedt.net.ftp.ssl.SSLFTPClient.auth(SSLFTPClient.java:1404) at com.aptana.filesystem.secureftp.internal.FTPSConnectionFileManager.initAndAuthFTPClient(FTPSConnectionFileManager.java:314) at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.writeFile(FTPConnectionFileManager.java:1083) ... 7 more !SUBENTRY 1 com.aptana.filesystem.ftp 4 0 2013-04-15 13:08:56.327 !MESSAGE Opening file for write failed !STACK 0 java.lang.NullPointerException at com.enterprisedt.net.ftp.ssl.SSLFTPClient.auth(SSLFTPClient.java:1404) at com.aptana.filesystem.secureftp.internal.FTPSConnectionFileManager.initAndAuthFTPClient(FTPSConnectionFileManager.java:314) at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.writeFile(FTPConnectionFileManager.java:1083) at com.aptana.core.io.vfs.BaseConnectionFileManager.openOutputStream(BaseConnectionFileManager.java:333) at com.aptana.core.io.efs.VirtualFile.openOutputStream(VirtualFile.java:143) at com.aptana.core.io.efs.SyncUtils.copy(SyncUtils.java:93) at com.aptana.ide.syncing.core.old.Synchronizer.uploadAndDelete(Synchronizer.java:1395) at com.aptana.ide.syncing.core.old.Synchronizer.upload(Synchronizer.java:1299) at com.aptana.ide.syncing.ui.actions.UploadAction$1.run(UploadAction.java:128) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code} My FTP server log: {code} (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> Connected, sending welcome message... (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> 220-FileZilla Server version 0.9.41 beta (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> 220-written by Tim Kosse (Tim.Kosse@gmx.de) (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> 220-Please visit http://sourceforge.net/projects/filezilla/ (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> FEAT (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> 211-Features: (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> MDTM (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> REST STREAM (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> SIZE (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> MLST type*;size*;modify*; (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> MLSD (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> UTF8 (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> CLNT (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> MFMT (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> 211 End (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> AUTH TLS (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> 502 SSL/TLS authentication not allowed (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> AUTH SSL (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> 502 SSL/TLS authentication not allowed (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> AUTH TLS-C (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> 504 Auth type not supported (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> AUTH SSL (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> 502 SSL/TLS authentication not allowed (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> AUTH SSL (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> 502 SSL/TLS authentication not allowed (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> AUTH TLS (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> 502 SSL/TLS authentication not allowed (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> USER user (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> 331 Password required for user (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> PASS ************ (000057)2013-04-15 13:07:26 - user (xxx.xxx.xxx.xxx)> 230 Logged on (000057)2013-04-15 13:07:26 - user (xxx.xxx.xxx.xxx)> PWD (000057)2013-04-15 13:07:26 - user (xxx.xxx.xxx.xxx)> 257 "/" is current directory. (000057)2013-04-15 13:07:26 - user (xxx.xxx.xxx.xxx)> TYPE I (000057)2013-04-15 13:07:26 - user (xxx.xxx.xxx.xxx)> 200 Type set to I (000057)2013-04-15 13:07:26 - user (xxx.xxx.xxx.xxx)> PASV (000057)2013-04-15 13:07:26 - user (xxx.xxx.xxx.xxx)> 227 Entering Passive Mode (192,168,1,37,226,189) (000057)2013-04-15 13:07:26 - user (xxx.xxx.xxx.xxx)> LIST -a (000057)2013-04-15 13:07:26 - user (xxx.xxx.xxx.xxx)> 150 Connection accepted (000057)2013-04-15 13:07:26 - user (xxx.xxx.xxx.xxx)> 226 Transfer OK (000057)2013-04-15 13:09:27 - user (xxx.xxx.xxx.xxx)> 421 Connection timed out. (000057)2013-04-15 13:09:27 - user (xxx.xxx.xxx.xxx)> disconnected. {code}

    Appcelerator JIRA | 4 years ago | Krystian P
    java.lang.NullPointerException
  2. 0

    When I try to upload file via FTPS i get message "Opening file for write failed". But when I change to FTP everything works just great! I tested my server by another FTP client - FTPS & FTP works good. Aptana log: {code} !ENTRY com.aptana.syncing.core 4 0 2013-04-15 13:08:56.327 !MESSAGE (Build 3.3.2.201302081546) [ERROR] Opening file for write failed !STACK 1 org.eclipse.core.runtime.CoreException: Opening file for write failed at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.writeFile(FTPConnectionFileManager.java:1128) at com.aptana.core.io.vfs.BaseConnectionFileManager.openOutputStream(BaseConnectionFileManager.java:333) at com.aptana.core.io.efs.VirtualFile.openOutputStream(VirtualFile.java:143) at com.aptana.core.io.efs.SyncUtils.copy(SyncUtils.java:93) at com.aptana.ide.syncing.core.old.Synchronizer.uploadAndDelete(Synchronizer.java:1395) at com.aptana.ide.syncing.core.old.Synchronizer.upload(Synchronizer.java:1299) at com.aptana.ide.syncing.ui.actions.UploadAction$1.run(UploadAction.java:128) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: java.lang.NullPointerException at com.enterprisedt.net.ftp.ssl.SSLFTPClient.auth(SSLFTPClient.java:1404) at com.aptana.filesystem.secureftp.internal.FTPSConnectionFileManager.initAndAuthFTPClient(FTPSConnectionFileManager.java:314) at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.writeFile(FTPConnectionFileManager.java:1083) ... 7 more !SUBENTRY 1 com.aptana.filesystem.ftp 4 0 2013-04-15 13:08:56.327 !MESSAGE Opening file for write failed !STACK 0 java.lang.NullPointerException at com.enterprisedt.net.ftp.ssl.SSLFTPClient.auth(SSLFTPClient.java:1404) at com.aptana.filesystem.secureftp.internal.FTPSConnectionFileManager.initAndAuthFTPClient(FTPSConnectionFileManager.java:314) at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.writeFile(FTPConnectionFileManager.java:1083) at com.aptana.core.io.vfs.BaseConnectionFileManager.openOutputStream(BaseConnectionFileManager.java:333) at com.aptana.core.io.efs.VirtualFile.openOutputStream(VirtualFile.java:143) at com.aptana.core.io.efs.SyncUtils.copy(SyncUtils.java:93) at com.aptana.ide.syncing.core.old.Synchronizer.uploadAndDelete(Synchronizer.java:1395) at com.aptana.ide.syncing.core.old.Synchronizer.upload(Synchronizer.java:1299) at com.aptana.ide.syncing.ui.actions.UploadAction$1.run(UploadAction.java:128) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code} My FTP server log: {code} (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> Connected, sending welcome message... (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> 220-FileZilla Server version 0.9.41 beta (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> 220-written by Tim Kosse (Tim.Kosse@gmx.de) (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> 220-Please visit http://sourceforge.net/projects/filezilla/ (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> FEAT (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> 211-Features: (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> MDTM (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> REST STREAM (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> SIZE (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> MLST type*;size*;modify*; (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> MLSD (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> UTF8 (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> CLNT (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> MFMT (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> 211 End (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> AUTH TLS (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> 502 SSL/TLS authentication not allowed (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> AUTH SSL (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> 502 SSL/TLS authentication not allowed (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> AUTH TLS-C (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> 504 Auth type not supported (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> AUTH SSL (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> 502 SSL/TLS authentication not allowed (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> AUTH SSL (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> 502 SSL/TLS authentication not allowed (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> AUTH TLS (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> 502 SSL/TLS authentication not allowed (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> USER user (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> 331 Password required for user (000057)2013-04-15 13:07:26 - (not logged in) (xxx.xxx.xxx.xxx)> PASS ************ (000057)2013-04-15 13:07:26 - user (xxx.xxx.xxx.xxx)> 230 Logged on (000057)2013-04-15 13:07:26 - user (xxx.xxx.xxx.xxx)> PWD (000057)2013-04-15 13:07:26 - user (xxx.xxx.xxx.xxx)> 257 "/" is current directory. (000057)2013-04-15 13:07:26 - user (xxx.xxx.xxx.xxx)> TYPE I (000057)2013-04-15 13:07:26 - user (xxx.xxx.xxx.xxx)> 200 Type set to I (000057)2013-04-15 13:07:26 - user (xxx.xxx.xxx.xxx)> PASV (000057)2013-04-15 13:07:26 - user (xxx.xxx.xxx.xxx)> 227 Entering Passive Mode (192,168,1,37,226,189) (000057)2013-04-15 13:07:26 - user (xxx.xxx.xxx.xxx)> LIST -a (000057)2013-04-15 13:07:26 - user (xxx.xxx.xxx.xxx)> 150 Connection accepted (000057)2013-04-15 13:07:26 - user (xxx.xxx.xxx.xxx)> 226 Transfer OK (000057)2013-04-15 13:09:27 - user (xxx.xxx.xxx.xxx)> 421 Connection timed out. (000057)2013-04-15 13:09:27 - user (xxx.xxx.xxx.xxx)> disconnected. {code}

    Appcelerator JIRA | 4 years ago | Krystian P
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.NullPointerException

      No message provided

      at com.enterprisedt.net.ftp.ssl.SSLFTPClient.auth()
    2. com.enterprisedt.net
      SSLFTPClient.auth
      1. com.enterprisedt.net.ftp.ssl.SSLFTPClient.auth(SSLFTPClient.java:1404)
      1 frame
    3. com.aptana.filesystem
      FTPConnectionFileManager.writeFile
      1. com.aptana.filesystem.secureftp.internal.FTPSConnectionFileManager.initAndAuthFTPClient(FTPSConnectionFileManager.java:314)
      2. com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.writeFile(FTPConnectionFileManager.java:1083)
      2 frames
    4. com.aptana.core
      SyncUtils.copy
      1. com.aptana.core.io.vfs.BaseConnectionFileManager.openOutputStream(BaseConnectionFileManager.java:333)
      2. com.aptana.core.io.efs.VirtualFile.openOutputStream(VirtualFile.java:143)
      3. com.aptana.core.io.efs.SyncUtils.copy(SyncUtils.java:93)
      3 frames
    5. com.aptana.ide
      UploadAction$1.run
      1. com.aptana.ide.syncing.core.old.Synchronizer.uploadAndDelete(Synchronizer.java:1395)
      2. com.aptana.ide.syncing.core.old.Synchronizer.upload(Synchronizer.java:1299)
      3. com.aptana.ide.syncing.ui.actions.UploadAction$1.run(UploadAction.java:128)
      3 frames
    6. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      1 frame