Buggy code:
public class LookSilverpeasV5Helper implements LookHelper { private OrganisationController orga = null ; private ResourceLocator resources = null ; private ResourceLocator messages = null ; private ResourceLocator 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 PublicationBm publicationBm = 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 ) { } @ Deprecated public LookSilverpeasV5Helper ( MainSessionController mainSessionController , ResourceLocator resources ) { } public LookSilverpeasV5Helper ( HttpSession session ) { } @ Override public final void init ( MainSessionController mainSessionController , ResourceLocator resources ) { } private final void init ( ResourceLocator resources ) { } private void initProperties ( ) { } private void reloadProperties ( String spaceId ) { } @ Override public boolean isMenuPersonalisationEnabled ( ) { } protected MainSessionController getMainSessionController ( ) { } protected OrganisationController 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 PublicationBm getPublicationBm ( ) { } 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 ) { } public boolean isDisplayPDCInHomePage ( ) { } public DefaultSpaceHomePage getSpaceHomePage ( String spaceId ) { } public List < UserDetail > getSpaceAdmins ( String spaceId ) { } public List < PublicationDetail > getNews ( String spaceId ) { } private boolean isVisibleNews ( PublicationDetail news ) { } public TickerSettings getTickerSettings ( ) { } public String getURLOfLastVisitedCollaborativeSpace ( ) { String spaceId = getSpaceId ( ) ; if ( StringUtil . isDefined ( getSubSpaceId ( ) ) ) { spaceId = getSubSpaceId ( ) ; } if ( StringUtil . isDefined ( spaceId ) ) { <START_BUG> return URLManager . getSimpleURL ( URL_SPACE , spaceId ) ; <END_BUG> } return null ; } No newline ; at end ; of file ; }

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