String () { try { return myWrapee.getId(); } catch (NullPointerException e) { if (e.getMessage() != null && e.getMessage().contains("version was null")) { VersionRange range = getVersionRange(); if (range != null) { setBaseVersion(range.toString()); return myWrapee.getId(); } } throw e; } }