Buggy code:
private AzureRestAPIManager ( ) { } public static AzureManager getManager ( ) { } @ Override public AzureAuthenticationMode getAuthenticationMode ( ) { } @ Override public void setAuthenticationMode ( AzureAuthenticationMode azureAuthenticationMode ) { } public AuthenticationResult getAuthenticationTokenForSubscription ( String subscriptionId ) { } public void setAuthenticationTokenForSubscription ( String subscriptionId , AuthenticationResult authenticationToken ) { } @ Override public AuthenticationResult getAuthenticationToken ( ) { } @ Override public void setAuthenticationToken ( AuthenticationResult authenticationToken ) { } @ Override public void clearSubscriptions ( ) throws AzureCmdException { } @ Override public void clearAuthenticationTokens ( ) { } @ Override public ArrayList < Subscription > getSubscriptionList ( ) throws AzureCmdException { } @ Override public ArrayList < Subscription > getFullSubscriptionList ( ) throws AzureCmdException { } public void setSelectedSubscriptions ( List < UUID > selectedList ) throws AzureCmdException { } public ArrayList < Subscription > getSubscriptionListFromCert ( ) throws IOException , ParserConfigurationException , XPathExpressionException , SAXException { } public void refreshSubscriptionListFromToken ( ) throws NoSubscriptionException , AzureCmdException , IOException , InterruptedException , KeyManagementException , KeyStoreException , NoSuchAlgorithmException , UnrecoverableKeyException , CertificateException , ExecutionException , ParserConfigurationException , XPathExpressionException , SAXException { } public ArrayList < Subscription > getSubscriptionListFromToken ( ) throws NoSubscriptionException , AzureCmdException , IOException , InterruptedException , KeyManagementException , KeyStoreException , NoSuchAlgorithmException , UnrecoverableKeyException , CertificateException , ExecutionException , ParserConfigurationException , XPathExpressionException , SAXException { } public Subscription getSubscriptionFromId ( final String subscriptionId ) throws NoSubscriptionException , AzureCmdException , IOException , InterruptedException , KeyManagementException , KeyStoreException , NoSuchAlgorithmException , UnrecoverableKeyException , CertificateException , ExecutionException , ParserConfigurationException , XPathExpressionException , SAXException { } @ Override public void loadSubscriptionFile ( String subscriptionFile ) throws AzureCmdException { } @ Override public void removeSubscription ( String subscriptionId ) throws AzureCmdException { } @ Override public List < Service > getServiceList ( UUID subscriptionId ) throws AzureCmdException { } @ Override public List < String > getLocations ( UUID subscriptionId ) throws AzureCmdException { } @ Override public List < SqlDb > getSqlDb ( UUID subscriptionId , SqlServer server ) throws AzureCmdException { } @ Override public List < SqlServer > getSqlServers ( UUID subscriptionId ) throws AzureCmdException { } @ Override public void createService ( UUID subscriptionId , String region , String username , String password , String serviceName , String server , String database ) throws AzureCmdException { } private void deleteService ( UUID subscriptionId , String serviceName ) { } @ Override public List < Table > getTableList ( UUID subscriptionId , String serviceName ) throws AzureCmdException { } @ Override public void createTable ( UUID subscriptionId , String serviceName , String tableName , TablePermissions permissions ) throws AzureCmdException { } @ Override public void updateTable ( UUID subscriptionId , String serviceName , String tableName , TablePermissions permissions ) throws AzureCmdException { } @ Override public Table showTableDetails ( UUID subscriptionId , String serviceName , String tableName ) throws AzureCmdException { } @ Override public void downloadTableScript ( UUID subscriptionId , String serviceName , String scriptName , String downloadPath ) throws AzureCmdException { } @ Override public void uploadTableScript ( UUID subscriptionId , String serviceName , String scriptName , String filePath ) throws AzureCmdException { } @ Override public List < CustomAPI > getAPIList ( UUID subscriptionId , String serviceName ) throws AzureCmdException { } @ Override public void downloadAPIScript ( UUID subscriptionId , String serviceName , String scriptName , String downloadPath ) throws AzureCmdException { } @ Override public void uploadAPIScript ( UUID subscriptionId , String serviceName , String scriptName , String filePath ) throws AzureCmdException { } @ Override public void createCustomAPI ( UUID subscriptionId , String serviceName , String tableName , CustomAPIPermissions permissions ) throws AzureCmdException { } @ Override public void updateCustomAPI ( UUID subscriptionId , String serviceName , String tableName , CustomAPIPermissions permissions ) throws AzureCmdException { } @ Override public List < Job > listJobs ( UUID subscriptionId , String serviceName ) throws AzureCmdException { } @ Override public void createJob ( UUID subscriptionId , String serviceName , String jobName , int interval , String intervalUnit , String startDate ) throws AzureCmdException { } @ Override public void updateJob ( UUID subscriptionId , String serviceName , String jobName , int interval , String intervalUnit , String startDate , boolean enabled ) throws AzureCmdException { } @ Override public void downloadJobScript ( UUID subscriptionId , String serviceName , String scriptName , String downloadPath ) throws AzureCmdException { } @ Override public void uploadJobScript ( UUID subscriptionId , String serviceName , String scriptName , String filePath ) throws AzureCmdException { } @ Override public List < LogEntry > listLog ( UUID subscriptionId , String serviceName , String runtime ) throws AzureCmdException , ParseException { try { String path = String . format ( "//%s//services//mobileservices//mobileservices//%s//logs?$top=10" , subscriptionId . toString ( ) , serviceName ) ; String json = AzureRestAPIHelper . getRestApiCommand ( path , subscriptionId . toString ( ) ) ; RestLog tempRes = new Gson ( ) . fromJson ( json , RestLog . class ) ; List < LogEntry > res = new ArrayList < LogEntry > ( ) ; for ( RestLog . LogEntry item : tempRes . getResults ( ) ) { LogEntry logEntry = new LogEntry ( ) ; logEntry . setMessage ( item . getMessage ( ) ) ; logEntry . setSource ( item . getSource ( ) ) ; <START_BUG> logEntry . setType ( item . getSource ( ) ) ; <END_BUG> SimpleDateFormat ISO8601DATEFORMAT ; if ( NODE_RUNTIME . equals ( runtime ) ) { ISO8601DATEFORMAT = new SimpleDateFormat ( "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'" , Locale . ENGLISH ) ; } else { ISO8601DATEFORMAT = new SimpleDateFormat ( "yyyy-MM-dd'T'HH:mm:ss'Z'" , Locale . ENGLISH ) ; } logEntry . setTimeCreated ( ISO8601DATEFORMAT . parse ( item . getTimeCreated ( ) ) ) ; res . add ( logEntry ) ; } return res ; } catch ( Exception e ) { throw new AzureCmdException ( "Error<seq2seq4repair_space>getting<seq2seq4repair_space>log" , e ) ; } } No newline ; at end ; of file ; }

Fix:
logEntry . setType ( item . getType ( ) ) ;