<script>//<<![CDATA[

	var uploaded_fileinfo = {};
	<!--@if($uploaded_fileinfo->error==0)-->
	uploaded_fileinfo.error = 0;
	uploaded_fileinfo.file_srl = {$uploaded_fileinfo->get('file_srl')};
	uploaded_fileinfo.file_size = {$uploaded_fileinfo->get('file_size')};
	uploaded_fileinfo.sid = '{$uploaded_fileinfo->get('sid')}';
	uploaded_fileinfo.direct_download = '{$uploaded_fileinfo->get('direct_download')}';
	uploaded_fileinfo.source_filename = '{$uploaded_fileinfo->get('source_filename')}';
	uploaded_fileinfo.upload_target_srl = '{$uploaded_fileinfo->get('upload_target_srl')}';
	uploaded_fileinfo.uploaded_filename = '{$uploaded_fileinfo->get('uploaded_filename')}';
	<!--@else-->
	uploaded_fileinfo.error = -1;
	uploaded_fileinfo.message = '{$uploaded_fileinfo->message}';
	<!--@end-->

	<!--@if($callback)-->
		try{
			parent[{$callback}](uploaded_fileinfo);
		}catch(e){
		
		}
	<!--@end-->

//]]>>
</script>

<script>//<<![CDATA[

	var uploaded_fileinfo = {};
	<!--@if($uploaded_fileinfo && $uploaded_fileinfo->error == 0)-->
	uploaded_fileinfo.error = 0;
	uploaded_fileinfo.file_srl = {$uploaded_fileinfo->get('file_srl')};
	uploaded_fileinfo.file_size = {$uploaded_fileinfo->get('file_size')};
	uploaded_fileinfo.sid = '{$uploaded_fileinfo->get('sid')}';
	uploaded_fileinfo.direct_download = '{$uploaded_fileinfo->get('direct_download')}';
	uploaded_fileinfo.source_filename = '{$uploaded_fileinfo->get('source_filename')}';
	uploaded_fileinfo.upload_target_srl = '{$uploaded_fileinfo->get('upload_target_srl')}';
	uploaded_fileinfo.uploaded_filename = '{$uploaded_fileinfo->get('uploaded_filename')}';
	<!--@else-->
	uploaded_fileinfo.error = -1;
	uploaded_fileinfo.message = '{$uploaded_fileinfo->message}';
	<!--@end-->

	<!--@if($callback)-->
		try{
			parent[{$callback}](uploaded_fileinfo);
		}catch(e){
		
		}
	<!--@end-->

//]]>>
</script>

Fix calling nonexistent method get() on null
Fix calling nonexistent method get() on null
