Buzz: Questions & Answers

FTP resource upload failing: "500 Object reference not set to an instance of an object."

Follow
Implemented feature idea or fixed bug
Matthew Marichiba

We deploy custom Buzz features by FTPing files into our domain's web folder. When I tried to deploy yesterday I started seeing FTP errors. Below is where our Jenkins build fails, and the equivalent log from a successful FTP deploy. For sanity I tried logging in via FTP CLI and a graphical client, and I'm seeing similar issues.

I'm stuck and cannot deploy new updates until I get through this. I appreciate your help. Thanks!

Here's what failure looks like:

...build process...
Finished building files. Tue Jul 19 17:34:12 UTC 2016 FTP: Connecting from host [ip-172-16-1-116] FTP: Connecting with configuration [Jenkins-FTP-Root] ... 220 Agilix FTP DLAP Service ready FTP: Logging in, command printing disabled FTP: Logged in, command printing enabled CWD 34695270 250 directory changed to /34695270 FTP: Remote root is not absolute, getting absolute directory from PWD PWD 257 "/34695270" is current directory. TYPE I 200 Command OK. CWD /34695270 250 directory changed to /34695270 CWD web/browser_stage 250 directory changed to /34695270/web/browser_stage SYST 215 UNIX PASV 227 Entering Passive Mode (52,21,46,110,235,38). LIST -a 125 Data connection already open; transfer starting. 226 Transfer complete CWD /34695270 250 directory changed to /34695270 CWD web/browser_stage 250 directory changed to /34695270/web/browser_stage CWD fonts 500 Object reference not set to an instance of an object. MKD fonts 500 Object reference not set to an instance of an object. CWD fonts 500 Object reference not set to an instance of an object. MKD fonts 500 Object reference not set to an instance of an object. FTP: Disconnecting configuration [Jenkins-FTP-Root] ... ERROR: Exception when publishing, exception message [Could not create or change to directory. Directory [fonts]] Build step 'Send files over FTP' changed build result to FAILURE Build step 'Send files over FTP' marked build as failure Finished: FAILURE

 

 

Here's what success looks like:

[...build process...]
Finished building files. Wed Jul 13 23:12:35 UTC 2016 FTP: Connecting from host [ip-172-16-1-116] FTP: Connecting with configuration [Jenkins-FTP-Root] ... 220 Agilix FTP DLAP Service ready FTP: Logging in, command printing disabled FTP: Logged in, command printing enabled CWD 34695270 250 directory changed to /34695270 FTP: Remote root is not absolute, getting absolute directory from PWD PWD 257 "/34695270" is current directory. TYPE I 200 Command OK. CWD /34695270 250 directory changed to /34695270 CWD web/browser_stage 250 directory changed to /34695270/web/browser_stage SYST 215 UNIX PASV 227 Entering Passive Mode (52,21,46,110,238,61). LIST -a 125 Data connection already open; transfer starting. 226 Transfer complete CWD fonts 250 directory changed to /34695270/web/browser_stage/fonts PASV 227 Entering Passive Mode (52,21,46,110,238,61). LIST -a 125 Data connection already open; transfer starting. 226 Transfer complete DELE glyphicons-halflings-regular.eot 250 Deleted glyphicons-halflings-regular.eot DELE glyphicons-halflings-regular.svg 250 Deleted glyphicons-halflings-regular.svg DELE glyphicons-halflings-regular.ttf 250 Deleted glyphicons-halflings-regular.ttf DELE glyphicons-halflings-regular.woff 250 Deleted glyphicons-halflings-regular.woff DELE glyphicons-halflings-regular.woff2 250 Deleted glyphicons-halflings-regular.woff2 CDUP 250 directory changed to /34695270/web/browser_stage RMD fonts 250 removed directory /34695270/web/browser_stage/fonts

[...remove more files and directories...]
CWD /34695270
250 directory changed to /34695270
CWD web/browser_stage
250 directory changed to /34695270/web/browser_stage
CWD fonts
550 Path not found fonts
MKD fonts
257 "/34695270/web/browser_stage/fonts" directory created
CWD fonts
250 directory changed to /34695270/web/browser_stage/fonts
PASV
227 Entering Passive Mode (52,21,46,110,238,61).
STOR glyphicons-halflings-regular.eot
125 Data connection already open; transfer starting.
226 File uploaded.
PASV
227 Entering Passive Mode (52,21,46,110,238,61).
STOR glyphicons-halflings-regular.svg
125 Data connection already open; transfer starting.
226 File uploaded.
PASV
227 Entering Passive Mode (52,21,46,110,238,61).
STOR glyphicons-halflings-regular.ttf
125 Data connection already open; transfer starting.
226 File uploaded.
PASV
227 Entering Passive Mode (52,21,46,110,238,61).
STOR glyphicons-halflings-regular.woff
125 Data connection already open; transfer starting.
226 File uploaded.
PASV
227 Entering Passive Mode (52,21,46,110,238,61).
STOR glyphicons-halflings-regular.woff2
125 Data connection already open; transfer starting.
226 File uploaded.
CWD /34695270
250 directory changed to /34695270
CWD web/browser_stage
250 directory changed to /34695270/web/browser_stage
PASV
227 Entering Passive Mode (52,21,46,110,238,61).
STOR index.html
125 Data connection already open; transfer starting.
226 File uploaded.
[...lots more uploads...]


 

Comments (2)

Sort by
Dave Whitehead

We are also experiencing a similar result with our deployment tool when trying to add new folders, existing folders and files upload fine.

[MSBuild output] D:\TeamCity\buildAgent\work\6dfa31097d7aac8f\DeployProject\deploy.buzz.proj(11,5): error : Object reference not set to an instance of an object. [D:\TeamCity\buildAgent\work\6dfa31097d7aac8f\DeployProject\deploy.buzz.proj.teamcity]

1 Comment actions Permalink
Brad Marshall
  • Agilix team member

Hey Dave, could you have your team submit a Support ticket for our team to follow-up with this?

0 Comment actions Permalink
Please sign in to leave a comment.