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
}			
			}
			
			if (contents != null) {
				int n= contents.length();
				buffer= new char[n];
				contents.getChars(0, n, buffer, 0);
				
				doc= new Document(contents);
				DocumentManager.put(input, doc);
				IDocumentPartitioner dp= JavaCompareUtilities.createJavaPartitioner();
				if (dp != null) {
					doc.setDocumentPartitioner(dp);
					dp.connect(doc);
				}
				
			}
		}
		
		if (doc != null) {
			boolean isEditable= false;
			if (input instanceof IEditableContent)
				isEditable= ((IEditableContent) input).isEditable();
			
			
			JavaNode root= new JavaNode(doc, isEditable) {
				void nodeChanged(JavaNode node) {
					save(this, input);
				}
			};