Upgrade to version 6 throws license exception