Buggy code:
public class LookSilverpeasV5Helper extends LookHelper { private OrganizationController organizationController ; private SettingBundle resources = null ; private LocalizationBundle messages = null ; private LocalizationBundle defaultMessages = null ; private MainSessionController mainSC = null ; private boolean displayPDCInNav = false ; private boolean shouldDisplayPDCFrame = false ; private boolean shouldDisplayContextualPDC = true ; private boolean shouldDisplaySpaceIcons = true ; private boolean shouldDisplayConnectedUsers = true ; private boolean displayPDCInHomePage = true ; private List < TopItem > topItems = null ; private List < String > topSpaceIds = null ; private String mainFrame = "MainFrameSilverpeasV5.jsp" ; private String spaceId = null ; private String subSpaceId = null ; private String componentId = null ; private SimpleDateFormat formatter = null ; private PublicationHelper kmeliaTransversal = null ; private PublicationService publicationService = null ; private UserMenuDisplay displayUserMenu = UserMenuDisplay . DISABLE ; private boolean enableUFSContainsState = false ; private HttpSession session = null ; private String currentLookName = null ; @ Override public String getSpaceId ( ) { } @ Override public void setSpaceId ( String spaceId ) { } @ Override public String getSubSpaceId ( ) { } @ Override public void setSubSpaceId ( String subSpaceId ) { } @ Override public String getComponentId ( ) { } @ Override public void setComponentId ( String componentId ) { } @ Override public void setSpaceIdAndSubSpaceId ( String spaceId ) { } @ Override public void setComponentIdAndSpaceIds ( String spaceId , String subSpaceId , String componentId ) { } protected LookSilverpeasV5Helper ( HttpSession session ) { } @ Override public final void init ( MainSessionController mainSessionController , SettingBundle resources ) { } private final void init ( SettingBundle resources ) { } private void initProperties ( ) { } private void reloadProperties ( String spaceId ) { } @ Override public boolean isMenuPersonalisationEnabled ( ) { } protected MainSessionController getMainSessionController ( ) { } protected OrganizationController getOrganisationController ( ) { } protected GraphicElementFactory getGraphicElementFactory ( ) { } @ Override public String getUserFullName ( String userId ) { } @ Override public String getUserFullName ( ) { } @ Override public String getUserId ( ) { } public UserDetail getUserDetail ( ) { } public UserFull getUserFull ( ) { } @ Override public String getLanguage ( ) { } @ Override public boolean isAnonymousUser ( ) { } @ Override public boolean displayPDCInNavigationFrame ( ) { } @ Override public boolean displayPDCFrame ( ) { } @ Override public boolean displayContextualPDC ( ) { } @ Override public boolean displaySpaceIcons ( ) { } @ Override public String getSpaceId ( String componentId ) { } @ Override public String getWallPaper ( String spaceId ) { } @ Override public int getNBConnectedUsers ( ) { } @ Override public boolean isAnonymousAccess ( ) { } @ Override public boolean getSettings ( String key ) { } @ Override public boolean getSettings ( String key , boolean defaultValue ) { } @ Override public String getSettings ( String key , String defaultValue ) { } @ Override public int getSettings ( String key , int defaultValue ) { } @ Override public String getString ( String key ) { } @ Override public boolean isBackOfficeVisible ( ) { } @ Override public List < TopItem > getTopItems ( ) { } @ Override public List < String > getTopSpaceIds ( ) { } @ Override public String getMainFrame ( ) { } @ Override public void setMainFrame ( String newMainFrame ) { } @ Override public String getSpaceWallPaper ( ) { } @ Override public String getSpaceWithCSSToApply ( ) { } private String getCurrentDeepestSpaceId ( ) { } public String getComponentURL ( String key , String function ) { } @ Override public String getComponentURL ( String key ) { } @ Override public String getDate ( ) { } @ Override public String getDefaultSpaceId ( ) { } private PublicationHelper getPublicationHelper ( ) throws ClassNotFoundException , IllegalAccessException , InstantiationException { } @ Override public List < PublicationDetail > getLatestPublications ( String spaceId , int nbPublis ) { } @ Override public List < PublicationDetail > getValidPublications ( NodePK nodePK ) { } public PublicationService getPublicationService ( ) { } public String getSpaceHomePage ( String spaceId , HttpServletRequest request ) throws UnsupportedEncodingException { } private String getParsedDestination ( String sDestination , String sKeyword , String sValue ) { } @ Override public UserMenuDisplay getDisplayUserMenu ( ) { } @ Override public void setDisplayUserMenu ( UserMenuDisplay displayUserMenu ) { } @ Override public boolean isEnableUFSContainsState ( ) { } public List < Shortcut > getShortcuts ( String id , int nb ) { } @ Override public boolean isDisplayPDCInHomePage ( ) { } @ Override public DefaultSpaceHomePage getSpaceHomePage ( String spaceId ) { } public List < UserDetail > getSpaceAdmins ( String spaceId ) { } public List < PublicationDetail > getNews ( String spaceId ) { } private boolean isVisibleNews ( PublicationDetail news ) { } @ Override public TickerSettings getTickerSettings ( ) { } @ Override public String getURLOfLastVisitedCollaborativeSpace ( ) { String spaceId = getSpaceId ( ) ; if ( StringUtil . isDefined ( getSubSpaceId ( ) ) ) { spaceId = getSubSpaceId ( ) ; } if ( StringUtil . isDefined ( spaceId ) ) { <START_BUG> return URLUtil . getSimpleURL ( URL_SPACE , spaceId ) ; <END_BUG> } return null ; } No newline ; at end ; of file ; }

Fix:
return ( URLUtil . getSimpleURL ( URL_SPACE , spaceId ) ) + "?Fallback=true" ;