Giter VIP home page Giter VIP logo

quick-fix-scout's People

Contributors

brunyuriy avatar kivancmuslu avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

nuaalitao

quick-fix-scout's Issues

Speculation Bug: Auto-build is disabled non-deterministically

Sometimes (I guess when speculative analysis is interrupted or it throws an 
exception), the auto-build option of Eclipse is not re-activated.

The current algorithm normally reads the auto-build value (stores whether it 
was activated or not), disables it, does the speculative analysis and sets the 
previously read value. For some reason, from time to time the resetting at the 
end is missed and this creates a chain where auto-build is never activated 
again (since it is read as false in the next turn).

Original issue reported on code.google.com by [email protected] on 31 Jan 2012 at 5:25

Speculation Enchantment: Extend speculation to warnings

Currently we only get compilation errors in the project and evaluate proposals 
with respect to their affect on compilation errors.

However, normally, the warnings are also represented with the same class 
(IMarker) and we might be able to also speculate on warnings (proposals offered 
for them and their effects).

Original issue reported on code.google.com by [email protected] on 18 Dec 2011 at 9:52

Speculative analysis not running after installing quick-fix on max osx

I installed quick-fix and enabled QFS.

When testing whether the Observer feature was working as described on the 
installation page, I realized that the usage file was empty. I followed the 
instructions for checking whether speculative analysis was running on the 
trouble shooting page, and found that my dirty file was not automatically saved 
after invoking quick fix. This all happened yesterday, 1/5. I tried again 
today, 1/6, with the same results (and after restarting Eclipse).




What version of the product are you using? On what operating system?
I'm using Eclipse 3.7.0 on MacOS X 10.7.2


Original issue reported on code.google.com by jenny.abrahamson on 6 Jan 2012 at 10:41

Attachments:

Load Bug: Checking for updates write exception to the logs

Here is an example one.

SEVERE: Malformed version information line for = <!DOCTYPE html PUBLIC 
"-//W3C//DTD HTML 4.01//EN" 
"http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd"> in 
(edu.washington.cs.util.eclipse.ResourceUtility#readVersionMap)
SEVERE: Malformed version information line for = <!-- <!DOCTYPE HTML PUBLIC 
"-//W3C//DTD HTML 4.01//EN" in 
(edu.washington.cs.util.eclipse.ResourceUtility#readVersionMap)
SEVERE: Malformed version information line for = 
"http://www.w3.org/TR/html4/strict.dtd"> --> in 
(edu.washington.cs.util.eclipse.ResourceUtility#readVersionMap)
SEVERE: Malformed version information line for = <HTML> in 
(edu.washington.cs.util.eclipse.ResourceUtility#readVersionMap)
SEVERE: Malformed version information line for = <HEAD> in 
(edu.washington.cs.util.eclipse.ResourceUtility#readVersionMap)
SEVERE: Malformed version information line for = <META HTTP-EQUIV="Refresh" 
CONTENT="0.1"> in 
(edu.washington.cs.util.eclipse.ResourceUtility#readVersionMap)
SEVERE: Malformed version information line for = <META HTTP-EQUIV="Pragma" 
CONTENT="no-cache"> in 
(edu.washington.cs.util.eclipse.ResourceUtility#readVersionMap)
SEVERE: Malformed version information line for = <META HTTP-EQUIV="Expires" 
CONTENT="-1"> in (edu.washington.cs.util.eclipse.ResourceUtility#readVersionMap)
SEVERE: Malformed version information line for = <TITLE></TITLE> in 
(edu.washington.cs.util.eclipse.ResourceUtility#readVersionMap)
SEVERE: Malformed version information line for = </HEAD> in 
(edu.washington.cs.util.eclipse.ResourceUtility#readVersionMap)
SEVERE: Malformed version information line for = <BODY><P></BODY> in 
(edu.washington.cs.util.eclipse.ResourceUtility#readVersionMap)
SEVERE: Malformed version information line for = </HTML> in 
(edu.washington.cs.util.eclipse.ResourceUtility#readVersionMap)

Original issue reported on code.google.com by [email protected] on 13 Dec 2011 at 3:17

Observer UI: Checking for snapshot feature

At the beginning of Eclipse when QF Observer plug-in loads, it should check 
whether the snapshot feature is enabled or not. If not enabled, it should 
create a dialog to the user asking is s/he wants to enable it. There should 
also be an option saying that 'don't show again', which would save this 
information and do not show the dialog even if the user is not using snapshot.

Original issue reported on code.google.com by [email protected] on 14 Jan 2012 at 11:13

Unknown Bug 01:

Found during profiling... Related stack trace:

java.io.FileNotFoundException: 
C:\Users\Kivanc\Java-Projects\runtime-EclipseApplication\DO_NOT_DELETE_Speculati
on_Crystal_222882905\bin\GBP_MultipleInheritance$D.class (The requested 
operation cannot be performed on a file with a user-mapped section open)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at org.eclipse.core.internal.filesystem.local.LocalFile.openOutputStream(LocalFile.java:382)
    at org.eclipse.core.internal.localstore.FileSystemResourceManager.write(FileSystemResourceManager.java:1101)
    at org.eclipse.core.internal.resources.File.internalSetContents(File.java:321)
    at org.eclipse.core.internal.resources.File.setContents(File.java:360)
    at org.eclipse.core.internal.resources.File.setContents(File.java:464)
    at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.writeClassFileContents(IncrementalImageBuilder.java:830)
    at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.writeClassFile(AbstractImageBuilder.java:823)
    at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.acceptResult(AbstractImageBuilder.java:187)
    at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:508)
    at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:364)
    at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.compile(IncrementalImageBuilder.java:329)
    at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:301)
    at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.build(IncrementalImageBuilder.java:134)
    at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildDeltas(JavaBuilder.java:265)
    at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:193)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:394)
    at org.eclipse.core.internal.resources.Project$1.run(Project.java:618)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
    at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:597)
    at org.eclipse.core.internal.resources.Project.build(Project.java:114)
    at edu.washington.cs.util.eclipse.BuilderUtility.build(BuilderUtility.java:149)
    at edu.washington.cs.quickfix.speculation.calc.SpeculationCalculator.buildShadowProject(SpeculationCalculator.java:1057)
    at edu.washington.cs.quickfix.speculation.calc.SpeculationCalculator.applyUndo(SpeculationCalculator.java:734)
    at edu.washington.cs.quickfix.speculation.calc.SpeculationCalculator.processProposal(SpeculationCalculator.java:668)
    at edu.washington.cs.quickfix.speculation.calc.SpeculationCalculator.processCompilationError(SpeculationCalculator.java:595)
    at edu.washington.cs.quickfix.speculation.calc.SpeculationCalculator.processCompilationErrors(SpeculationCalculator.java:514)
    at edu.washington.cs.quickfix.speculation.calc.SpeculationCalculator.doSpeculativeAnalysis(SpeculationCalculator.java:458)
    at edu.washington.cs.quickfix.speculation.calc.SpeculationCalculator.doWork(SpeculationCalculator.java:354)
    at edu.washington.cs.threading.MortalThread.run(MortalThread.java:88)
WARNING: Cannot create problem location from marker = 
org.eclipse.core.internal.resources.Marker@ada6e089
cu = src/GBP_MultipleInheritance.java
id = -1
start = 0
end = 1
severity = 2 in 
(edu.washington.cs.util.eclipse.model.CompilationError#convertMarkerToProblemLoc
ation)
WARNING: For proposal = Add cast to 'A', applying change and undo broke the 
synchronization of the projects. Before change = 3, after change = 2.

Original issue reported on code.google.com by [email protected] on 8 Dec 2011 at 11:34

  • Merged into: #20

Update Site

Try to create an update site that would do the installation for people 
automatically.

Original issue reported on code.google.com by [email protected] on 28 Jan 2012 at 12:49

Eclipse API Usage Bug: IProject.build(...) throws Exception

Here is an example trace. This is rare, but still something we should figure 
out the reason and fix.

!SESSION 2011-12-08 19:21:58.026 -----------------------------------------------
eclipse.buildId=I20110613-1736
java.version=1.6.0_22
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.sdk.ide
Command-line arguments:  -product org.eclipse.sdk.ide -data 
C:\Users\Kivanc\Java-Projects\WS-QFS-profile/../runtime-EclipseApplication -dev 
file:C:/Users/Kivanc/Java-Projects/WS-QFS-profile/.metadata/.plugins/org.eclipse
.pde.core/Quick Fix Scout/dev.properties -os win32 -ws win32 -arch x86_64 
-consoleLog

!ENTRY org.eclipse.jdt.core 4 4 2011-12-08 19:23:42.053
!MESSAGE JavaBuilder handling CoreException
!STACK 1
org.eclipse.core.runtime.CoreException: Could not write file: 
C:\Users\Kivanc\Java-Projects\runtime-EclipseApplication\DO_NOT_DELETE_Speculati
on_ProfileLotsOfDuplicatedCEs_2094479193\bin\File1.class.
    at org.eclipse.core.internal.filesystem.Policy.error(Policy.java:55)
    at org.eclipse.core.internal.filesystem.local.LocalFile.openOutputStream(LocalFile.java:391)
    at org.eclipse.core.internal.localstore.FileSystemResourceManager.write(FileSystemResourceManager.java:1101)
    at org.eclipse.core.internal.resources.File.internalSetContents(File.java:321)
    at org.eclipse.core.internal.resources.File.setContents(File.java:360)
    at org.eclipse.core.internal.resources.File.setContents(File.java:464)
    at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.writeClassFileContents(IncrementalImageBuilder.java:830)
    at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.writeClassFile(AbstractImageBuilder.java:823)
    at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.acceptResult(AbstractImageBuilder.java:187)
    at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:508)
    at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:364)
    at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.compile(IncrementalImageBuilder.java:329)
    at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:301)
    at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.build(IncrementalImageBuilder.java:134)
    at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildDeltas(JavaBuilder.java:265)
    at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:193)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:394)
    at org.eclipse.core.internal.resources.Project$1.run(Project.java:618)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
    at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:597)
    at org.eclipse.core.internal.resources.Project.build(Project.java:114)
    at edu.washington.cs.util.eclipse.BuilderUtility.build(BuilderUtility.java:149)
    at edu.washington.cs.quickfix.speculation.calc.SpeculationCalculator.buildShadowProject(SpeculationCalculator.java:1058)
    at edu.washington.cs.quickfix.speculation.calc.SpeculationCalculator.applyChange(SpeculationCalculator.java:717)
    at edu.washington.cs.quickfix.speculation.calc.SpeculationCalculator.processProposal(SpeculationCalculator.java:666)
    at edu.washington.cs.quickfix.speculation.calc.SpeculationCalculator.processCompilationError(SpeculationCalculator.java:596)
    at edu.washington.cs.quickfix.speculation.calc.SpeculationCalculator.processCompilationErrors(SpeculationCalculator.java:515)
    at edu.washington.cs.quickfix.speculation.calc.SpeculationCalculator.doSpeculativeAnalysis(SpeculationCalculator.java:459)
    at edu.washington.cs.quickfix.speculation.calc.SpeculationCalculator.doWork(SpeculationCalculator.java:354)
    at edu.washington.cs.threading.MortalThread.run(MortalThread.java:88)
Caused by: java.io.FileNotFoundException: 
C:\Users\Kivanc\Java-Projects\runtime-EclipseApplication\DO_NOT_DELETE_Speculati
on_ProfileLotsOfDuplicatedCEs_2094479193\bin\File1.class (The requested 
operation cannot be performed on a file with a user-mapped section open)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at org.eclipse.core.internal.filesystem.local.LocalFile.openOutputStream(LocalFile.java:382)
    ... 36 more
!SUBENTRY 1 org.eclipse.core.filesystem 4 272 2011-12-08 19:23:42.069
!MESSAGE Could not write file: 
C:\Users\Kivanc\Java-Projects\runtime-EclipseApplication\DO_NOT_DELETE_Speculati
on_ProfileLotsOfDuplicatedCEs_2094479193\bin\File1.class.
!STACK 0
java.io.FileNotFoundException: 
C:\Users\Kivanc\Java-Projects\runtime-EclipseApplication\DO_NOT_DELETE_Speculati
on_ProfileLotsOfDuplicatedCEs_2094479193\bin\File1.class (The requested 
operation cannot be performed on a file with a user-mapped section open)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at org.eclipse.core.internal.filesystem.local.LocalFile.openOutputStream(LocalFile.java:382)
    at org.eclipse.core.internal.localstore.FileSystemResourceManager.write(FileSystemResourceManager.java:1101)
    at org.eclipse.core.internal.resources.File.internalSetContents(File.java:321)
    at org.eclipse.core.internal.resources.File.setContents(File.java:360)
    at org.eclipse.core.internal.resources.File.setContents(File.java:464)
    at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.writeClassFileContents(IncrementalImageBuilder.java:830)
    at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.writeClassFile(AbstractImageBuilder.java:823)
    at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.acceptResult(AbstractImageBuilder.java:187)
    at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:508)
    at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:364)
    at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.compile(IncrementalImageBuilder.java:329)
    at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:301)
    at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.build(IncrementalImageBuilder.java:134)
    at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildDeltas(JavaBuilder.java:265)
    at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:193)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:394)
    at org.eclipse.core.internal.resources.Project$1.run(Project.java:618)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
    at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:597)
    at org.eclipse.core.internal.resources.Project.build(Project.java:114)
    at edu.washington.cs.util.eclipse.BuilderUtility.build(BuilderUtility.java:149)
    at edu.washington.cs.quickfix.speculation.calc.SpeculationCalculator.buildShadowProject(SpeculationCalculator.java:1058)
    at edu.washington.cs.quickfix.speculation.calc.SpeculationCalculator.applyChange(SpeculationCalculator.java:717)
    at edu.washington.cs.quickfix.speculation.calc.SpeculationCalculator.processProposal(SpeculationCalculator.java:666)
    at edu.washington.cs.quickfix.speculation.calc.SpeculationCalculator.processCompilationError(SpeculationCalculator.java:596)
    at edu.washington.cs.quickfix.speculation.calc.SpeculationCalculator.processCompilationErrors(SpeculationCalculator.java:515)
    at edu.washington.cs.quickfix.speculation.calc.SpeculationCalculator.doSpeculativeAnalysis(SpeculationCalculator.java:459)
    at edu.washington.cs.quickfix.speculation.calc.SpeculationCalculator.doWork(SpeculationCalculator.java:354)
    at edu.washington.cs.threading.MortalThread.run(MortalThread.java:88)

Original issue reported on code.google.com by [email protected] on 9 Dec 2011 at 4:07

UI Bug: Handling multiple Problem Locations

In SpeculationGrabber.java, there is an assertion code as follows:

// The problem locations can be zero if the user invokes quick fix where no 
compilation errors are present.
// Sometimes I get two problem locations. What does that mean?
assert locations.length <= 1: "Was expecting one problem location, got " + 
locations.length;

I have found a deterministic test case that returns me 2 problem locations 
(AbstractType.java in ProposalTest project). 

This needs to be handled properly.

Original issue reported on code.google.com by [email protected] on 13 Dec 2011 at 9:27

Observer Feature: Better Log Sending

There should be a daemon running in the background trying to send all logs as 
they are hitting the log limit (15 MB) and deleting the send logs in the 
workspace.

In case there is no active internet connection, the logs should be zipped at 
most 15 MB of size and still got deleted. As soon as the internet connection is 
detected, all the zipped logs will be sent.

Original issue reported on code.google.com by [email protected] on 6 Jan 2012 at 10:39

Unknown Internal Eclipse Exception 01

I am pretty sure that this one is not related to auto-build. Related stack 
traces:

!ENTRY org.eclipse.jdt.ui 4 2 2012-01-21 02:04:43.404
!MESSAGE Problems occurred when invoking code from plug-in: 
"org.eclipse.jdt.ui".
!STACK 0
java.lang.IllegalArgumentException
    at org.eclipse.jdt.core.dom.SimpleName.setIdentifier(SimpleName.java:198)
    at org.eclipse.jdt.core.dom.SimpleName.clone0(SimpleName.java:133)
    at org.eclipse.jdt.core.dom.ASTNode.clone(ASTNode.java:2472)
    at org.eclipse.jdt.core.dom.SimpleType.clone0(SimpleType.java:119)
    at org.eclipse.jdt.core.dom.ASTNode.clone(ASTNode.java:2472)
    at org.eclipse.jdt.core.dom.ASTNode.copySubtree(ASTNode.java:2426)
    at org.eclipse.jdt.internal.corext.dom.ASTNodeFactory.newType(ASTNodeFactory.java:112)
    at org.eclipse.jdt.internal.corext.refactoring.surround.SurroundWithTryCatchRefactoring.createTryCatchStatement(SurroundWithTryCatchRefactoring.java:250)
    at org.eclipse.jdt.internal.corext.refactoring.surround.SurroundWithTryCatchRefactoring.createChange(SurroundWithTryCatchRefactoring.java:213)
    at org.eclipse.jdt.internal.ui.text.correction.LocalCorrectionsSubProcessor.addUncaughtExceptionProposals(LocalCorrectionsSubProcessor.java:209)
    at org.eclipse.jdt.internal.ui.text.correction.QuickFixProcessor.process(QuickFixProcessor.java:345)
    at org.eclipse.jdt.internal.ui.text.correction.QuickFixProcessor.getCorrections(QuickFixProcessor.java:270)
    at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor$SafeCorrectionCollector.safeRun(JavaCorrectionProcessor.java:378)
    at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor$SafeCorrectionProcessorAccess.run(JavaCorrectionProcessor.java:339)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor$SafeCorrectionProcessorAccess.process(JavaCorrectionProcessor.java:335)
    at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor.collectCorrections(JavaCorrectionProcessor.java:468)
    at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor.collectProposals(JavaCorrectionProcessor.java:280)
    at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor.computeQuickAssistProposals(JavaCorrectionProcessor.java:242)
    at org.eclipse.jface.text.quickassist.QuickAssistAssistant$ContentAssistProcessor.computeCompletionProposals(QuickAssistAssistant.java:75)
    at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1830)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:601)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:598)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:533)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:527)
    at org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions(ContentAssistant.java:1656)
    at org.eclipse.jface.text.quickassist.QuickAssistAssistant.showPossibleQuickAssists(QuickAssistAssistant.java:128)
    at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionAssistant.showPossibleQuickAssists(JavaCorrectionAssistant.java:193)
    at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor$AdaptedSourceViewer.doOperation(CompilationUnitEditor.java:195)
    at org.eclipse.ui.texteditor.TextOperationAction$1.run(TextOperationAction.java:128)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.texteditor.TextOperationAction.run(TextOperationAction.java:126)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185)
    at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109)
    at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
    at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
    at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:468)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1262)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
    at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1104)
    at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1100)
    at org.eclipse.swt.widgets.Widget.wmKeyDown(Widget.java:1809)
    at org.eclipse.swt.widgets.Control.WM_KEYDOWN(Control.java:4892)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4560)
    at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4985)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2531)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3752)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

!ENTRY org.eclipse.jdt.ui 4 4 2012-01-21 02:04:43.415
!MESSAGE An error occurred while computing quick fixes. Check log for details.
!SUBENTRY 1 org.eclipse.jdt.ui 4 0 2012-01-21 02:04:43.416
!MESSAGE Exception while processing quick fixes or quick assists
!SUBENTRY 2 org.eclipse.jdt.ui 4 4 2012-01-21 02:04:43.416
!MESSAGE Exception while processing quick fixes or quick assists
!STACK 0
java.lang.IllegalArgumentException
    at org.eclipse.jdt.core.dom.SimpleName.setIdentifier(SimpleName.java:198)
    at org.eclipse.jdt.core.dom.SimpleName.clone0(SimpleName.java:133)
    at org.eclipse.jdt.core.dom.ASTNode.clone(ASTNode.java:2472)
    at org.eclipse.jdt.core.dom.SimpleType.clone0(SimpleType.java:119)
    at org.eclipse.jdt.core.dom.ASTNode.clone(ASTNode.java:2472)
    at org.eclipse.jdt.core.dom.ASTNode.copySubtree(ASTNode.java:2426)
    at org.eclipse.jdt.internal.corext.dom.ASTNodeFactory.newType(ASTNodeFactory.java:112)
    at org.eclipse.jdt.internal.corext.refactoring.surround.SurroundWithTryCatchRefactoring.createTryCatchStatement(SurroundWithTryCatchRefactoring.java:250)
    at org.eclipse.jdt.internal.corext.refactoring.surround.SurroundWithTryCatchRefactoring.createChange(SurroundWithTryCatchRefactoring.java:213)
    at org.eclipse.jdt.internal.ui.text.correction.LocalCorrectionsSubProcessor.addUncaughtExceptionProposals(LocalCorrectionsSubProcessor.java:209)
    at org.eclipse.jdt.internal.ui.text.correction.QuickFixProcessor.process(QuickFixProcessor.java:345)
    at org.eclipse.jdt.internal.ui.text.correction.QuickFixProcessor.getCorrections(QuickFixProcessor.java:270)
    at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor$SafeCorrectionCollector.safeRun(JavaCorrectionProcessor.java:378)
    at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor$SafeCorrectionProcessorAccess.run(JavaCorrectionProcessor.java:339)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor$SafeCorrectionProcessorAccess.process(JavaCorrectionProcessor.java:335)
    at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor.collectCorrections(JavaCorrectionProcessor.java:468)
    at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor.collectProposals(JavaCorrectionProcessor.java:280)
    at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor.computeQuickAssistProposals(JavaCorrectionProcessor.java:242)
    at org.eclipse.jface.text.quickassist.QuickAssistAssistant$ContentAssistProcessor.computeCompletionProposals(QuickAssistAssistant.java:75)
    at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1830)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:601)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:598)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:533)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:527)
    at org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions(ContentAssistant.java:1656)
    at org.eclipse.jface.text.quickassist.QuickAssistAssistant.showPossibleQuickAssists(QuickAssistAssistant.java:128)
    at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionAssistant.showPossibleQuickAssists(JavaCorrectionAssistant.java:193)
    at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor$AdaptedSourceViewer.doOperation(CompilationUnitEditor.java:195)
    at org.eclipse.ui.texteditor.TextOperationAction$1.run(TextOperationAction.java:128)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.texteditor.TextOperationAction.run(TextOperationAction.java:126)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185)
    at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109)
    at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
    at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
    at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:468)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1262)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
    at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1104)
    at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1100)
    at org.eclipse.swt.widgets.Widget.wmKeyDown(Widget.java:1809)
    at org.eclipse.swt.widgets.Control.WM_KEYDOWN(Control.java:4892)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4560)
    at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4985)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2531)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3752)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

Original issue reported on code.google.com by [email protected] on 21 Jan 2012 at 10:07

Speculation Optimization: Cursor Optimization

If multiple compilation errors are on the current editor file (i.e., have the 
same chance to get selected by the user), then the compilation error that is 
near to the cursor should be processed first.

Original issue reported on code.google.com by [email protected] on 14 Dec 2011 at 10:56

UI Visualization: Different kind of proposals

The QF dialog should be re-implemented as follows:

============================================
Global Best Proposal (in general) 1
Global Best Proposal (in general) 2
.
.
.
Global Best Proposal (in general) n
--------------------------------------------
Global Best Proposal (that fixes local CE) 1
Global Best Proposal (that fixes local CE) 2
.
.
.
Global Best Proposal (that fixes local CE) n
--------------------------------------------
Local Proposal 1
Local Proposal 2
.
.
.
Local Proposal n
=============================================

Original issue reported on code.google.com by [email protected] on 4 Dec 2011 at 6:49

Observer UI: Checking for auto-send Logs

At the beginning of Eclipse when QF Observer plug-in loads, it should check 
whether the auto-send logs is enabled or not. If not enabled, it should create 
a dialog to the user asking is s/he wants to enable it. There should also be an 
option saying that 'don't show again', which would save this information and do 
not show the dialog even if the user is not using auto-send logs.

Original issue reported on code.google.com by [email protected] on 14 Jan 2012 at 11:12

Evaluation: Better Undo Detection

Currently we can detect the proposals that are undone iff the undo is done 
immediately (no other actions in the middle). Ideally, we should be able to get 
undos no matter what happens in the middle.

Original issue reported on code.google.com by [email protected] on 20 Dec 2011 at 4:12

Speculation Bug: Some of the proposals are not evaluated

What steps will reproduce the problem?
1. Invoke a quick fix long enough by changing minor things in between. 
Non-deterministic.

What is the expected output? What do you see instead?
All quick-fixes should be evaluated and augmented. Instead, a few of them are 
not evaluated at all.

Note: Seems that when quick fix is invoked internally, these proposals are not 
also retrieved, so this might due to something internal to Quick Fix or some 
extra analysis that is going on.

Original issue reported on code.google.com by [email protected] on 7 Oct 2011 at 4:54

QFS Bot: Tree Search Bot

Need to implement a bot that can construct and evaluate all possible proposal 
applications at any time of the project by a tree search.

Original issue reported on code.google.com by [email protected] on 11 Jan 2012 at 4:55

Better UI Representation for GBPs

Global best proposals should include file, line and offset information as used 
in Eclipse conventions as additional information in the proposal string.

Original issue reported on code.google.com by [email protected] on 9 Oct 2011 at 9:14

E-mail Sending Bug: javax.mail clushes with another plug-in

This happened for Ivan. Here is the related error log.

javax.mail.NoSuchProviderException: Unable to load class for provider: 
protocol=smtps; type=javax.mail.Provider$Type@22b50185; 
class=org.apache.geronimo.javamail.transport.smtp.SMTPTSransport; vendor=Apache 
Software Foundation;version=1.0 in 
(edu.washington.cs.quickfix.observation.log.ObservationLogSender#sendEmail)

Original issue reported on code.google.com by [email protected] on 5 Dec 2011 at 3:37

UI Bug: Duplicated Proposals

Sometimes the proposals that aren't evaluated by QFS or that are added later on 
(GBP) are duplicated in the updated proposal fix.

For example:
(0) Change to String
.
.
.
(N/A) Change to String 

Original issue reported on code.google.com by [email protected] on 4 Dec 2011 at 6:51

Speculation Enchantment: Better Mapping of Problem Locations

At this moment, the hueristics for matching problem locations (between the 
shadow and original project) is quite messy (however it works). The below is a 
thrown (but handled internally) exception due to the complex check. 

Problem locations differ on args => arg1 = File3.D, arg2 = File1.D
WARNING: Cannot retrieve file for path = File2.D in 
(edu.washington.cs.util.eclipse.ResourceUtility#getFile)
Path must include project and resource name: /File2.D
    org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
    org.eclipse.core.internal.resources.Workspace.newResource(Workspace.java:2169)
    org.eclipse.core.internal.resources.Container.getFile(Container.java:208)
    edu.washington.cs.util.eclipse.ResourceUtility.getFile(ResourceUtility.java:359)
    edu.washington.cs.quickfix.speculation.model.SpeculationUtility.sameProblemLocationContent(SpeculationUtility.java:83)
    edu.washington.cs.quickfix.speculation.calc.SpeculationCalculator.doAnalysisPreparations(SpeculationCalculator.java:401)
    edu.washington.cs.quickfix.speculation.calc.SpeculationCalculator.doWork(SpeculationCalculator.java:351)
    edu.washington.cs.threading.MortalThread.run(MortalThread.java:88)

WARNING: Cannot retrieve file for path = File1.D in 
(edu.washington.cs.util.eclipse.ResourceUtility#getFile)
Path must include project and resource name: /File1.D
    org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
    org.eclipse.core.internal.resources.Workspace.newResource(Workspace.java:2169)
    org.eclipse.core.internal.resources.Container.getFile(Container.java:208)
    edu.washington.cs.util.eclipse.ResourceUtility.getFile(ResourceUtility.java:359)
    edu.washington.cs.quickfix.speculation.model.SpeculationUtility.sameProblemLocationContent(SpeculationUtility.java:84)
    edu.washington.cs.quickfix.speculation.calc.SpeculationCalculator.doAnalysisPreparations(SpeculationCalculator.java:401)
    edu.washington.cs.quickfix.speculation.calc.SpeculationCalculator.doWork(SpeculationCalculator.java:351)
    edu.washington.cs.threading.MortalThread.run(MortalThread.java:88)


Original issue reported on code.google.com by [email protected] on 9 Dec 2011 at 12:38

UI Enchantment: Better context information for global best proposals

For global best proposals, extra context information (i.e., what is being 
changed) should be provided.

Example:

string name; // CE1

public void method() {
    name = "Hi"; // CE2 
}

For CE2, the global proposals should say "Change 'string' to 'String'" instead 
of "Change to 'String'"

Original issue reported on code.google.com by [email protected] on 2 Dec 2011 at 4:07

Speculation Enchantment: Typing Session Length

Though it is possible to set typing session length from the preference page, 
this does not apply to the code. The code have 2000 ms no matter what you set 
from the preferences. 

On a related note, if speculation is invalidated in the middle, it restarts 
immediately, however this is not right, it should again wait at least the 
typing session length.

Original issue reported on code.google.com by [email protected] on 19 Dec 2011 at 5:12

QFS for hovering

Hook up the hovering mechanism so that it also gets the benefits of quick fix 
scout.

Original issue reported on code.google.com by [email protected] on 2 Dec 2011 at 4:32

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.