rhtyd edited a comment on issue #3264: Volume snapshot listing failing when 
originating primary pool removed
URL: https://github.com/apache/cloudstack/issues/3264#issuecomment-583360623
 
 
   @shwstppr that's fine, no need. Can you however do a manual static code 
analysis and add defensive checks that avoid/handle potential NPEs if any: 
   ```
   2019-04-05 13:48:39,507 ERROR [c.c.a.ApiServer] 
(qtp788117692-12:ctx-817b96c3 ctx-5c399d14) (logid:9277d33d) unhandled 
exception executing api command: [Ljava.lang.String;@2829384
   java.lang.NullPointerException
           at 
org.apache.cloudstack.storage.snapshot.StorageSystemSnapshotStrategy.canHandle(StorageSystemSnapshotStrategy.java:978)
           at 
org.apache.cloudstack.storage.helper.StorageStrategyFactoryImpl$3.canHandle(StorageStrategyFactoryImpl.java:72)
           at 
org.apache.cloudstack.storage.helper.StorageStrategyFactoryImpl$3.canHandle(StorageStrategyFactoryImpl.java:69)
           at 
org.apache.cloudstack.storage.helper.StorageStrategyFactoryImpl.bestMatch(StorageStrategyFactoryImpl.java:95)
           at 
org.apache.cloudstack.storage.helper.StorageStrategyFactoryImpl.getSnapshotStrategy(StorageStrategyFactoryImpl.java:69)
           at org.apache.cloudstack.storage.snaps
   ```
   
   Otherwise, let's close this as not reproducible.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to