Issue #46: Fixed deadlock while fetching FQN


"Editor Parsing Loop (201408142300)" daemon prio=2 tid=0x000000000f20f000 nid=0x96c in Object.wait() [0x0000000011e0e000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x00000000c505e890> (a org.netbeans.modules.editor.NbEditorDocument)
	at java.lang.Object.wait(Object.java:503)
	at javax.swing.text.AbstractDocument.readLock(AbstractDocument.java:1387)
	- locked <0x00000000c505e890> (a org.netbeans.modules.editor.NbEditorDocument)



"org.netbeans.api.progress.ProgressUtils" daemon prio=2 tid=0x000000000cadd000 nid=0x11a8 in Object.wait() [0x000000000274e000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x00000000c505e890> (a org.netbeans.modules.editor.NbEditorDocument)
	at java.lang.Object.wait(Object.java:503)
	at javax.swing.text.AbstractDocument.readLock(AbstractDocument.java:1387)
	- locked <0x00000000c505e890> (a org.netbeans.modules.editor.NbEditorDocument)
	at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1389)
	at org.netbeans.modules.parsing.api.Source.createSnapshot(Source.java:410)
	at org.netbeans.modules.parsing.impl.SourceCache.createSnapshot(SourceCache.java:179)
	at org.netbeans.modules.parsing.impl.SourceCache.getSnapshot(SourceCache.java:154)
	at org.netbeans.modules.parsing.api.ResultIterator.getSnapshot(ResultIterator.java:109)
	at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:482)
	at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:598)
	at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
	at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:139)
	at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:206)
	at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:203)
	at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
	at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
	at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:74)
	at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:203)
	at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:106)
	at org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:443)
	at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:414)
	at de.markiewb.netbeans.plugins.eclipse.formatter.EclipseFormatterUtilities$EclipseFormatterTask$2.run(EclipseFormatterUtilities.java:304)
	at org.netbeans.modules.progress.ui.RunOffEDTImpl$1.run(RunOffEDTImpl.java:150)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

   Locked ownable synchronizers:
	- <0x00000000c3638380> (a java.util.concurrent.locks.ReentrantLock$FairSync)