Bug 24799 Java structure compare fails too many times
Using 1009, when I synchronize with the cvs server and I compare my outgoing changes with the repository contents, I get too many times "Java Structure Compare (Can't Compare Structures)". This didn't happen in the past. I don't know what changed, but this is frustrating and make the whole synchronization process very difficult to use. It is not always the same files which are failing. I didn't get anything in a .log file.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java
}
	}		
	
	public JavaStructureCreator() {
	}
	
	/**
	 * Returns the name that appears in the enclosing pane title bar.
	 */
	public String getName() {
		return CompareMessages.getString("JavaStructureViewer.title"); 
	}
	
	/**
	 * Returns a tree of JavaNodes for the given input
	 * which must implement the IStreamContentAccessor interface.
	 * In case of error null is returned.
	 */
	public IStructureComparator getStructure(final Object input) {
		String contents= null;
		char[] buffer= null;
		IDocument doc= DocumentManager.get(input);
		if (doc == null) {
			if (input instanceof IStreamContentAccessor) {
				IStreamContentAccessor sca= (IStreamContentAccessor) input;			
				try {
					contents= JavaCompareUtilities.readString(sca.getContents());
				} catch (CoreException ex) {
					JavaPlugin.log(ex);
					return null;