Bugs item #3577729, was opened at 2012-10-16 14:25 Message generated for change (Comment added) made by kargor You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=843359&aid=3577729&group_id=167540
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Synchronisation / Invitation Group: None >Status: Closed >Resolution: Invalid Priority: 5 Private: No Submitted By: https://www.google.com/accounts () Assigned to: Nobody/Anonymous (nobody) Summary: Adding a project to a session supresses an exception Initial Comment: When accepting a new session from a remote collaborator, slect the option to create a new project and press Finish. Nothing happens at the UI level. In the code, when the jvm hits line 437 in AddProjectToSessionWizard.java, it is possible for an entry in the list of projects to be null, which can lead to a null pointer exception that gets swallowed and not logged. Modifying to code to check for a null project restores functionality: for (IProject project : projects) { if (project != null) { for (IEditorPart editor : editors) { if (editor.getEditorInput() instanceof IFileEditorInput) { IFile file = ((IFileEditorInput) editor .getEditorInput()).getFile(); if (project.equals(file.getProject())) openEditors.add(editor); } } } } NOTE: I don't think that a null value should actually be passed in to this list, but I'll let you sort that out. The check for a null value does fix the problem. I am running JDK6 35 64 bit (Oracle), Eclipse Juno, and source checked out from https://dpp.svn.sourceforge.net/svnroot/dpp/trunk/dpp/de.fu_berlin.inf.dpp ---------------------------------------------------------------------- >Comment By: Stefan Rossbach (kargor) Date: 2012-10-16 15:54 Message: SVN Repo is no longer maintained. Please use the GIT Repo. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=843359&aid=3577729&group_id=167540 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Dpp-robot mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dpp-robot
