Fixed NPE - Saving StaticAsset - Fixes #595