id
int64
1
6.5k
bug_id
int64
2.03k
426k
summary
stringlengths
9
251
description
stringlengths
1
32.8k
report_time
stringlengths
19
19
report_timestamp
int64
1B
1.39B
status
stringclasses
6 values
commit
stringlengths
7
9
commit_timestamp
int64
1B
1.39B
files
stringlengths
25
32.8k
project_name
stringclasses
6 values
2,135
160,312
Bug 160312 [clean up] Compile error after converting nested for loops without block
N20061010-0010 Given: package test1; public class E1 { void foo(Object[] x, Object[] y) { for (int i = 0; i < y.length; i++) for (int j = 0; j < x.length; j++) System.out.println(y[i]); } } Clean Ups: - Convert control statement bodies to block - Convert for loops to enhanced for loops Is: for (Object element : y) { for (int j = 0; j < x.length; j++) } } Should: for (Object element : y) { for (Object element1 : x) { System.out.println(element1); } }
2006-10-10 10:07:17
1,160,490,000
verified fixed
188d911
1,160,500,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ConvertForLoopOperation.java
JDT
2,136
160,283
Bug 160283 [clean up] Convert iterable loop ignores block change settings
I20061003-0800 Given: package test1; import java.util.Iterator; import java.util.List; public class E1 { void bar(List<Object> x) { for (Iterator<Object> i = x.iterator(); i.hasNext();) { System.out.println(i.next()); } } } Clean Ups: - Remove unnecessary blocks - Convert for loops to enhanced for loops Is: for (Object object : x) { System.out.println(object); } Should: for (Object object : x) System.out.println(object); And given: package test1; import java.util.Iterator; import java.util.List; public class E2 { void bar(List<Object> x) { for (Iterator<Object> i = x.iterator(); i.hasNext();) System.out.println(i.next()); } } Clean Ups: - Convert control statement bodies to block - Convert for loops to enhanced for loops Is: for (Object object : x) System.out.println(object); Should: for (Object object : x) { System.out.println(object); }
2006-10-10 06:22:11
1,160,480,000
resolved fixed
d2e8c55
1,160,490,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ControlStatementsFix.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ConvertIterableLoopOperation.java
JDT
2,137
159,449
Bug 159449 [clean up] Clean Up Wizards throws exception (converting for loops)
Hi, I just tried the new cleanup wizard. It works as expected for all but one file. This file seems to be nothing special: it compiles normally. However, the attached exception is always thrown when I am pressing next on the Clean Up wizard page. When I'm deactivating the selection "Convert for loops to enhanced", then everything works fine. Seems to be a bug in the for loops refactoring. Best regards, Ulli
2006-10-02 09:33:00
1,159,800,000
resolved fixed
5650f34
1,160,490,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ControlStatementsFix.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ConvertForLoopOperation.java
JDT
2,138
80,000
Bug 80000 [projection] Nested code should not be unfold if not needed
having grindingly folded all not-needed parts of the code typing a single wrong letter unfolds all code again! this drives me nuts. even code not affected by typing unfolds. write a little class with, say, two methods. fold them and type something wrong just before the closing brake of the class ... et voila. btw: independently from the above -- "fold all" in the context-menu may be a lot more helpfull then "unfold all"
2004-12-02 07:54:47
1,101,990,000
verified fixed
2aca5b7
1,160,470,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/folding/DefaultJavaFoldingStructureProvider.java
JDT
2,139
160,218
Bug 160218 [clean up] MalformedTreeExcpetion on converting iterable loop
I20061003-0800 Given: package test1; import java.util.Iterator; import java.util.List; public class E1 { void bar(List<Number> x) { if (true) { for (Iterator<Number> i = x.iterator(); i.hasNext();) System.out.println(i.next()); } } } Clean Ups: - Remove unnecessary blocks - Convert for loops to enhanced for loops 1. Run Clean Up on E1 Is: org.eclipse.text.edits.MalformedTreeException: Source edit has different target edit. at org.eclipse.text.edits.MoveTargetEdit.performConsistencyCheck(MoveTargetEdit.java:143) at org.eclipse.text.edits.TextEdit.traverseConsistencyCheck(TextEdit.java:870) at org.eclipse.text.edits.MoveTargetEdit.traverseConsistencyCheck(MoveTargetEdit.java:133) at org.eclipse.text.edits.TextEdit.traverseConsistencyCheck(TextEdit.java:866) at org.eclipse.text.edits.TextEdit.traverseConsistencyCheck(TextEdit.java:866) at org.eclipse.text.edits.TextEditProcessor.checkIntegrityDo(TextEditProcessor.java:168) at org.eclipse.text.edits.TextEdit.dispatchCheckIntegrity(TextEdit.java:740) at org.eclipse.text.edits.TextEditProcessor.performEdits(TextEditProcessor.java:149) at org.eclipse.ltk.core.refactoring.TextChange.perform(TextChange.java:240) at org.eclipse.ltk.core.refactoring.CompositeChange.perform(CompositeChange.java:278) at org.eclipse.jdt.internal.corext.refactoring.changes.DynamicValidationStateChange.access$0(DynamicValidationStateChange.java:1) at org.eclipse.jdt.internal.corext.refactoring.changes.DynamicValidationStateChange$1.run(DynamicValidationStateChange.java:92) at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:720) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737) at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4050) at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4007) at org.eclipse.jdt.internal.corext.refactoring.changes.DynamicValidationStateChange.perform(DynamicValidationStateChange.java:95) at org.eclipse.ltk.core.refactoring.PerformChangeOperation$1.run(PerformChangeOperation.java:232) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1719) at org.eclipse.ltk.core.refactoring.PerformChangeOperation.executeChange(PerformChangeOperation.java:280) at org.eclipse.ltk.internal.ui.refactoring.UIPerformChangeOperation.executeChange(UIPerformChangeOperation.java:109) at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:197) at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:720) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737) at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4050) at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313) at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:767) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:764) at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2280) at org.eclipse.jdt.internal.ui.refactoring.RefactoringExecutionHelper.perform(RefactoringExecutionHelper.java:172) at org.eclipse.jdt.internal.ui.refactoring.RefactoringExecutionHelper.perform(RefactoringExecutionHelper.java:137) at org.eclipse.jdt.internal.corext.refactoring.RefactoringExecutionStarter.startCleanupRefactoring(RefactoringExecutionStarter.java:260) at org.eclipse.jdt.internal.ui.actions.CleanUpAction.run(CleanUpAction.java:158) at org.eclipse.jdt.internal.ui.actions.CleanUpAction.run(CleanUpAction.java:80) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:272) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:244) at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3398) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3022) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1916) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1880) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:348) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:165) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:341) at org.eclipse.core.launcher.Main.basicRun(Main.java:285) at org.eclipse.core.launcher.Main.run(Main.java:987) at org.eclipse.core.launcher.Main.main(Main.java:962)
2006-10-09 10:49:31
1,160,410,000
resolved fixed
bf4810c
1,160,410,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ConvertIterableLoopOperation.java
JDT
2,140
159,337
Bug 159337 [clean up] convert iterable loop ignores single non block body statement
3.2 public class Cleanup<K> extends ArrayList<K>{ void foo(){ for (Iterator<K> i = iterator(); i.hasNext(); ) System.out.println(i.next()); } } this does not compile after cleanup (convert to enhanced for loop)
2006-09-29 14:46:49
1,159,560,000
verified fixed
398cede
1,160,410,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/ConvertIterableLoopQuickFixTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ConvertIterableLoopOperation.java
JDT
2,141
158,207
Bug 158207 [clean up] cleanup wizard: progress reporting tweak
3.2 when the cleanup wizard is running, the numbers (xxx of yyy) are appended after the class name which makes them unreadable. If they were prepended (i.e., "(xxx of yyy) ClassName"), it would make them more useful.
2006-09-21 15:45:11
1,158,870,000
resolved fixed
a85575e
1,160,400,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CleanUpRefactoring.java
JDT
2,142
160,045
Bug 160045 Test failures due to missing key binding sequence
N20061004-0010 TypeCompletionTest fail on linux. Added a null check in ContentAssistProcessor line 161 to prevent the failures. However, this has to be investigated: it is most likely a platform problem that no key binding is returned there. org.eclipse.core.runtime.AssertionFailedException: null argument: at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:84) at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:72) at org.eclipse.jface.text.contentassist.ContentAssistant.setRepeatedInvocationTrigger(ContentAssistant.java:2267) at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor$2.assistSessionStarted(ContentAssistProcessor.java:163) at org.eclipse.jface.text.contentassist.ContentAssistant.fireSessionBeginEvent(ContentAssistant.java:2134) at org.eclipse.jface.text.contentassist.ContentAssistant.prepareToShowCompletions(ContentAssistant.java:1611) at org.eclipse.jface.text.contentassist.ContentAssistant.completePrefix(ContentAssistant.java:1591) at org.eclipse.jdt.text.tests.contentassist.AbstractCompletionTest.incrementalAssist(AbstractCompletionTest.java:489) at org.eclipse.jdt.text.tests.contentassist.AbstractCompletionTest.assertIncrementalCompletion(AbstractCompletionTest.java:311) at org.eclipse.jdt.text.tests.contentassist.AbstractCompletionTest.assertMethodBodyIncrementalCompletion(AbstractCompletionTest.java:211) at org.eclipse.jdt.text.tests.contentassist.TypeCompletionTest.testIncrementalInsertion(TypeCompletionTest.java:206) at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
2006-10-06 11:32:00
1,160,150,000
resolved fixed
53a8058
1,160,150,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ContentAssistProcessor.java
JDT
2,143
159,802
Bug 159802 [add import] reports "No type '$missing$' found" in status bar
Using the "Add Import" shortcut (default: Shift-Ctrl-M) with the cursor immediately after a type name does not recognize the type name in some cases. 1. Create a new class, let's call it ImportBug. 2. In the class, create a method, say "importBug()": public class ImportBug { void importBug() { } } 3. In the body of the method, type the name of a class, such as 'LinkedList'. Leave the cursor at the end of the word LinkedList. 4. Use the shortcut for "Add Import" (the default on Linux is Shift-Ctrl-M). 5. Note the text in the status bar: "No type '$missing$' found." The status bar text leads me to believe that the Add Import function can't find the word 'LinkedList'. Other info: 1. It also does not work in a cast, e.g. at the end of this line: LinkedList ret = ((LinkedList 2. It does work after 'new', e.g.: LinkedList ret = new LinkedList
2006-10-04 16:13:37
1,159,990,000
resolved fixed
4d64738
1,160,140,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/AddImportsOperation.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/CodeGenerationMessages.java
JDT
2,144
159,638
Bug 159638 [organize imports] Organize Imports alternates including annotation defined on parent
When you have a class which extends another class and includes an annotation defined inside that parent class. Organize Imports alternates including that import. // File 1 package first; import java.lang.annotation.*; public abstract class Parent { @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface Tag{ String value(); } } // File 2 package other; import first.Parent; import first.Parent.Tag; @Tag("foo") public class Child extends Parent { } When you type Ctrl-Shift-O the second import in file 2 (first.Parent.Tag) disappears. When you click it again it appears. This alternating behavior is quite annoying.
2006-10-03 15:58:47
1,159,910,000
resolved fixed
346c93f
1,160,070,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/ImportOrganizeTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/Bindings.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ScopeAnalyzer.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ASTResolving.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/UnresolvedElementsSubProcessor.java
JDT
2,145
159,462
Bug 159462 [reorg] Paste in own working set possible
3.3M2 Using package explorer mode where top level nodes are working sets: 1. expand a working set 2. select a child project, copy it through action menu 3. select again working set node 4. paste project using action menu --->Observe that the copied project got duplicated (no rename?!) 5. flip back to mode where toplevel nodes are projects: --->Observe that no copy actually took place !?
2006-10-02 11:27:53
1,159,800,000
resolved fixed
f33c522
1,160,060,000
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgUtils.java
JDT
2,146
159,424
Bug 159424 [organize imports] Organize Imports creates invalid static import
When a class (A) defines a static field (logger) and an inner class (BSubClass) uses it when it's superclass (B) has a static field of the same name, running organize imports on A adds an invalid entry (import static a.A.logger;). a/A.java: package a; import java.util.logging.Logger; public abstract class A { private static Logger logger = Logger.getLogger(A.class.getName()); private BSubClass b; public A() { b = new BSubClass(); b.someMethod(); } protected class BSubClass extends B { public void someMethod() { logger.info("someMethod() called in BSubClass"); } } } a/B.java package a; import java.util.logging.Logger; public abstract class B { private static Logger logger = Logger.getLogger(B.class.getName()); } I've found that the bug does not occur when A is in the default package. An easy workaround is to remove the import after it is generated, but this becomes tedious.
2006-10-01 19:42:57
1,159,750,000
resolved fixed
ea2d384
1,160,050,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/ImportReferencesCollector.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ScopeAnalyzer.java
JDT
2,147
151,408
Bug 151408 [package explorer] "Link to editor" not working
build i0718 - in the Java Perspective - select "Link with Editor" in the Package Explorer - open an editor on a file - in the Package Explorer hit the "minimize tree" icon - select the editor Note that the package explorer doesn't show the selection. In order to "re-enable" the function for that editor, you either have to click on the icon (twice) or switch to another editor and back.
2006-07-21 10:26:06
1,153,490,000
resolved fixed
fab7ec9
1,160,040,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
JDT
2,148
159,100
Bug 159100 Add Import gives ArrayIndexOutOfBoundsException
HEAD 1. have JUnit in workspace 2. open TestCase 3. go to run(TestResult result) methid 4. in the body insert "Text f;" above "result.run(this);" 5. place the caret after "Text f;" 6. Ctrl+Shift+M ==> !ENTRY org.eclipse.jdt.ui 4 10001 2006-09-28 12:59:28.130 !MESSAGE Internal Error !STACK 0 java.lang.reflect.InvocationTargetException at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:381) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313) at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:767) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:764) at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2280) at org.eclipse.ui.internal.progress.ProgressManager$5.run(ProgressManager.java:1130) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.internal.progress.ProgressManager.runInUI(ProgressManager.java:1123) at org.eclipse.jdt.internal.ui.javaeditor.AddImportOnSelectionAction.run(AddImportOnSelectionAction.java:136) at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) 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:461) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:424) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:160) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:465) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:793) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:840) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:563) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:505) at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:122) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:996) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:927) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:965) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:961) at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1275) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3352) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3252) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4070) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1977) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3018) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:348) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:165) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:341) at org.eclipse.core.launcher.Main.basicRun(Main.java:285) at org.eclipse.core.launcher.Main.run(Main.java:987) at org.eclipse.core.launcher.Main.main(Main.java:962) Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 at org.eclipse.jdt.internal.core.search.BasicSearchEngine.match(BasicSearchEngine.java:462) at org.eclipse.jdt.internal.core.search.BasicSearchEngine.searchAllTypeNames(BasicSearchEngine.java:810) at org.eclipse.jdt.core.search.SearchEngine.searchAllTypeNames(SearchEngine.java:603) at org.eclipse.jdt.internal.corext.codemanipulation.AddImportsOperation.findAllTypes(AddImportsOperation.java:377) at org.eclipse.jdt.internal.corext.codemanipulation.AddImportsOperation.evaluateEdits(AddImportsOperation.java:279) at org.eclipse.jdt.internal.corext.codemanipulation.AddImportsOperation.run(AddImportsOperation.java:150) at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:720) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737) at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4022) at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369) ... 53 more Root exception: java.lang.ArrayIndexOutOfBoundsException: 0 at org.eclipse.jdt.internal.core.search.BasicSearchEngine.match(BasicSearchEngine.java:462) at org.eclipse.jdt.internal.core.search.BasicSearchEngine.searchAllTypeNames(BasicSearchEngine.java:810) at org.eclipse.jdt.core.search.SearchEngine.searchAllTypeNames(SearchEngine.java:603) at org.eclipse.jdt.internal.corext.codemanipulation.AddImportsOperation.findAllTypes(AddImportsOperation.java:377) at org.eclipse.jdt.internal.corext.codemanipulation.AddImportsOperation.evaluateEdits(AddImportsOperation.java:279) at org.eclipse.jdt.internal.corext.codemanipulation.AddImportsOperation.run(AddImportsOperation.java:150) at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:720) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737) at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4022) at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313) at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:767) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:764) at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2280) at org.eclipse.ui.internal.progress.ProgressManager$5.run(ProgressManager.java:1130) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.internal.progress.ProgressManager.runInUI(ProgressManager.java:1123) at org.eclipse.jdt.internal.ui.javaeditor.AddImportOnSelectionAction.run(AddImportOnSelectionAction.java:136) at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) 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:461) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:424) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:160) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:465) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:793) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:840) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:563) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:505) at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:122) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:996) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:927) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:965) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:961) at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1275) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3352) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3252) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4070) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1977) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3018) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:348) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:165) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:341) at org.eclipse.core.launcher.Main.basicRun(Main.java:285) at org.eclipse.core.launcher.Main.run(Main.java:987) at org.eclipse.core.launcher.Main.main(Main.java:962)
2006-09-28 06:58:44
1,159,440,000
resolved fixed
fecd949
1,160,040,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/AddImportsOperation.java
JDT
2,149
159,073
Bug 159073 [dnd] AssertionFailedException: assertion failed: while doing the drag and drop opration.
Steps to reproduce the defect: 1. Start Eclipse and create a Java Project( or web project). 2. Create a simple file within the project. 3. Within the Project Explorer, make sure that the scroll bar is visible (adjust size of Project Explorer view to see the vertical scroll bar) 4. Drag the created file to the scroll bar and during this drag make sure to pass over any other element in the Project Explorer, say over a folder so that it gets highlighted as a drop target. See attachment. 5. When the mouse reaches the scroll bar, there is an assertion failed exception thrown. Stack trace is below: eclipse.buildId=I20060810-1230 java.version=1.4.2_01 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86 Error Wed Sep 27 13:45:13 IST 2006 assertion failed: org.eclipse.core.runtime.AssertionFailedException: assertion failed: at org.eclipse.core.runtime.Assert.isTrue(Assert.java:109) at org.eclipse.core.runtime.Assert.isTrue(Assert.java:95) at org.eclipse.jdt.internal.corext.refactoring.reorg.ReorgPolicyFactory$FilesFoldersAndCusReorgPolicy.verifyDestination(ReorgPolicyFactory.java:1044) at org.eclipse.jdt.internal.corext.refactoring.reorg.ReorgPolicyFactory$MoveFilesFoldersAndCusPolicy.verifyDestination(ReorgPolicyFactory.java:1472) at org.eclipse.jdt.internal.corext.refactoring.reorg.ReorgPolicyFactory$ReorgPolicy.setDestination(ReorgPolicyFactory.java:2720) at org.eclipse.jdt.internal.corext.refactoring.reorg.JavaMoveProcessor.setDestination(JavaMoveProcessor.java:293) at org.eclipse.jdt.internal.ui.navigator.JavaDropAdapterAssistant.handleValidateMove(JavaDropAdapterAssistant.java:225) at org.eclipse.jdt.internal.ui.navigator.JavaDropAdapterAssistant.validateDrop(JavaDropAdapterAssistant.java:131) at org.eclipse.ui.navigator.CommonDropAdapter.validateDrop(CommonDropAdapter.java:207) at org.eclipse.jface.viewers.ViewerDropAdapter.doDropValidation(ViewerDropAdapter.java:175) at org.eclipse.jface.viewers.ViewerDropAdapter.dragOver(ViewerDropAdapter.java:221) at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:59) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:709) at org.eclipse.swt.dnd.DropTarget.DragOver(DropTarget.java:336) at org.eclipse.swt.dnd.DropTarget$3.method4(DropTarget.java:236) at org.eclipse.swt.internal.ole.win32.COMObject.callback4(COMObject.java:99) at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method) at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:306) at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:277) at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:164) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3377) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2997) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952)
2006-09-28 02:30:52
1,159,430,000
verified fixed
ede1fd8
1,160,040,000
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java
JDT
2,150
159,456
Bug 159456 [1.5][compiler] Enable compiler warning for raw type reference by default
3.3M2 The compiler should diagnose references to raw types as a warning by default.
2006-10-02 10:19:59
1,159,800,000
verified fixed
9308405
1,159,890,000
org.eclipse.jdt.ui.tests/test plugin/org/eclipse/jdt/testplugin/TestOptions.java
JDT
2,151
149,467
Bug 149467 [JUnit] Junit 3.8.x support is not up to date
Eclipse 3.2 ships with support for both JUnit 3.8.x and JUnit 4.x. The former is based on JUnit 3.8.1, while the current version is 3.8.2 (which is a bug-fix release). Please update the 'org.junit' plugin from version 3.8.1 to version 3.8.2.
2006-07-03 10:53:43
1,151,940,000
resolved fixed
95182f7
1,159,440,000
org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/buildpath/JUnitContainerInitializer.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/buildpath/JUnitContainerInitializer.java
JDT
2,152
147,941
Bug 147941 [typing] Smart Home/End functionality should be surfaced in Text editor preferences
null
2006-06-20 16:07:30
1,150,830,000
verified fixed
3be42d67
1,159,180,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorAppearanceConfigurationBlock.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/PreferencesMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/PreferenceConstants.java
JDT
2,153
158,375
Bug 158375 [actions] Poor performance in FormatAllAction.runOnMultiple with single file.
My plugin generates java source files into a project and is using org.eclipse.jdt.ui.actions.FormatAllAction.runOnMultiple(ICompiliationUnit[]) to format the generated files. I have discovered that if the ICU[] contains a single entry, then the file is opened in an editor and formatted. This has two pretty serious side effects. 1. the user must save the changes manually. 2. performance is very slow. I solved #1 by adding a call to ICU.commitWorkingCopy, but there is no mention of needing to do this in the javadocs for FormatAllAction.runOnMultiple. In my case, I was able to solve #2 if more than one package fragment is being formatted. I am able to collect the ICU[] for each package fragment into a single ICU[]. This avoids the ICU.length == 1 test from opening an editor. To me, this seems to be a bug. The fact that runOnMultiple behaves differently if it has only one ICU to deal with is bad enough, but that extra step of opening the file in an editor creates a lot of overhead and slows the method down considerably. runOnMultiple has the potential for being very useful for utility plug-in, but it should have constant behavior for all cases. I would think that if the user wants the file open in an editor, they should do that themselves.
2006-09-22 15:43:09
1,158,950,000
resolved fixed
b851bb8
1,159,180,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FormatAllAction.java
JDT
2,154
158,274
Bug 158274 Compile error in HEAD of AptConfigurationBlock
null
2006-09-22 05:23:01
1,158,920,000
resolved fixed
ef47a25
1,158,920,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java
JDT
2,155
157,639
Bug 157639 [package explorer] First opening of PackageExplorer takes long (during startup)
I rebooted my machine, started Eclipse with a large set of plugins. I noticed startup stalling in PDE core for about 20 seconds (felt like that). During warm startups the wait time is about 5-6s. I narrowed it down to PackageExplorer triggering ProblemView triggering JavaCore triggering initialization of all containters. My target platform has ~3,000 plugins, and PDE took a long time to scan them. My suggestion is to sping off line 40 below in a separate job instead of running on the same thread. Here is a stack trace: 96 org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51) 95 org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.runInitializer(PreferenceServiceRegistryHelper.java:275) 94 org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.applyRuntimeDefaults(PreferenceServiceRegistryHelper.java:130) 93 org.eclipse.core.internal.preferences.PreferencesService.applyRuntimeDefaults(PreferencesService.java:337) 92 org.eclipse.core.internal.preferences.DefaultPreferences.applyRuntimeDefaults(DefaultPreferences.java:162) 91 org.eclipse.core.internal.preferences.DefaultPreferences.loadDefaults(DefaultPreferences.java:231) 90 org.eclipse.core.internal.preferences.DefaultPreferences.load(DefaultPreferences.java:227) 89 org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:307) 88 org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:543) 87 org.eclipse.core.internal.preferences.DefaultPreferences.node(DefaultPreferences.java:149) 86 org.eclipse.core.internal.preferences.legacy.PreferenceForwarder.getDefaultPreferences(PreferenceForwarder.java:138) 85 org.eclipse.core.internal.preferences.legacy.PreferenceForwarder.getString(PreferenceForwarder.java:644) 84 org.eclipse.pde.internal.core.ExternalModelManager.getPluginPaths(ExternalModelManager.java:130) 83 org.eclipse.pde.internal.core.PluginModelManager.initializeTable(PluginModelManager.java:433) 82 org.eclipse.pde.internal.core.PluginModelManager.findEntry(PluginModelManager.java:169) 81 org.eclipse.pde.internal.core.RequiredPluginsInitializer.initialize(RequiredPluginsInitializer.java:38) 80 org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1900) 79 org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1267) 78 org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1470) 77 org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2169) 76 org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2073) 75 org.eclipse.jdt.internal.core.JavaModelManager.determineIfOnClasspath(JavaModelManager.java:808) 74 org.eclipse.jdt.internal.core.JavaModelManager.create(JavaModelManager.java:697) 73 org.eclipse.jdt.internal.core.JavaModelManager.create(JavaModelManager.java:626) 72 org.eclipse.jdt.core.JavaCore.create(JavaCore.java:1383) 71 org.eclipse.jdt.internal.ui.ResourceAdapterFactory.getAdapter(ResourceAdapterFactory.java:44) 70 org.eclipse.core.internal.runtime.AdapterFactoryProxy.getAdapter(AdapterFactoryProxy.java:63) 69 org.eclipse.core.internal.runtime.AdapterManager.getAdapter(AdapterManager.java:256) 68 org.eclipse.core.runtime.PlatformObject.getAdapter(PlatformObject.java:66) 67 org.eclipse.jdt.internal.ui.filters.NamePatternFilter.select(NamePatternFilter.java:62) 66 org.eclipse.jdt.internal.ui.viewsupport.ProblemTreeViewer.isFiltered(ProblemTreeViewer.java:187) 65 org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$PackageExplorerProblemTreeViewer.isFiltered(PackageExplorerPart.java:301) 64 org.eclipse.jdt.internal.ui.viewsupport.ProblemTreeViewer.isExpandable(ProblemTreeViewer.java:174) 63 org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:1900) 62 org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(AbstractTreeViewer.java:2487) 61 org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:754) 60 org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:731) 59 org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) 58 org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:705) 57 org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:892) 56 org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractTreeViewer.java:1288) 55 org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1323) 54 org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$PackageExplorerProblemTreeViewer.preservingSelection(PackageExplorerPart.java:402) 53 org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:1277) 52 org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:250) 51 org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1542) 50 org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart.createPartControl(PackageExplorerPart.java:636) 49 org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:332) 48 org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:197) 47 org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566) 46 org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:290) 45 org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:525) 44 org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:140) 43 org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268) 42 org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65) 41 org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:394) 40 org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1144) 39 org.eclipse.ui.internal.PartStack.createControl(PartStack.java:620) 38 org.eclipse.ui.internal.PartStack.createControl(PartStack.java:532) 37 org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:562) 36 org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:244) 35 org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:815) 34 org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:2436) 33 org.eclipse.ui.internal.WorkbenchWindow$6.run(WorkbenchWindow.java:2616) 32 org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) 31 org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2597) 30 org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1982) 29 org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.java:2857) 28 org.eclipse.ui.internal.Workbench.access$14(Workbench.java:2805) 27 org.eclipse.ui.internal.Workbench$19.run(Workbench.java:1681) 26 org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1414) 25 org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1679) 24 org.eclipse.ui.internal.Workbench.access$12(Workbench.java:1650) 23 org.eclipse.ui.internal.Workbench$17.run(Workbench.java:1529) 22 org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) 21 org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1473) 20 org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183) 19 org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:702) 18 org.eclipse.ui.internal.Workbench.init(Workbench.java:1085) 17 org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1847) 16 org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) 15 org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) 14 org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) 13 org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) 12 org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) 11 org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) 10 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) 9 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) 8 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 7 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) 6 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 5 java.lang.reflect.Method.invoke(Method.java:615) 4 org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) 3 org.eclipse.core.launcher.Main.basicRun(Main.java:280) 2 org.eclipse.core.launcher.Main.run(Main.java:977) 1 org.eclipse.core.launcher.Main.main(Main.java:952)
2006-09-18 10:34:21
1,158,590,000
verified fixed
1cfe07a
1,158,860,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/filters/NamePatternFilter.java
JDT
2,156
92,579
Bug 92579 [Viewers] TreeViewer.expandAll() not working was: [navigation] quick outline should expand nodes to show all filtered matches
Once you start typing in the popup outline to filter the elements, all of the TreeItems should be expanded. Currently, if you have two inner classes both with matches to the filter string, only the first treeitem is expanded. Why is the first nested class expanded and not the second?
2005-04-25 09:59:04
1,114,440,000
resolved fixed
d1c084a
1,158,850,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaOutlineInformationControl.java
JDT
2,157
157,772
Bug 157772 [clean up] Simplifying the profile dialog
20060919 As discussed some time ago, we could simplify the profile management First page: Label: Selected formatter/clean up profile: Combo, Buttons 'Edit...', 'Remove' Button 'New...', Button 'Import...' Dialog: Dialog Title: 'Formatter/Clean Up Profile 'xxx'' Label 'Profile name:', Text input field (Profile name), Button 'Export...' Tabs When editing a build in profile, profile name is grey and ok disabled, until the user changes a name. If the user changes a setting, then we can automatically clear the name.
2006-09-19 06:18:02
1,158,660,000
resolved fixed
66cbb2b
1,158,850,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/CleanUpConfigurationBlock.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/CleanUpModifyDialog.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/CodeFormatterConfigurationBlock.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/FormatterMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/FormatterModifyDialog.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ModifyDialog.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileConfigurationBlock.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileManager.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/RenameProfileDialog.java
JDT
2,158
157,807
Bug 157807 [clean up] fickering when using clean up on one file
20060919-0010 - assign a shortcut to 'Clean Up', for example Ctrl + Alt + Z - in a Java editor press that shortcut - A dialog is shown for a very short time and goes away It would be better if the workbench progress bar (status line) is used.
2006-09-19 09:32:21
1,158,670,000
resolved fixed
82d8fac
1,158,830,000
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringExecutionStarter.java
JDT
2,159
157,765
Bug 157765 [clean up] Typos in 'Import Profile' dialog
20060919 - gp to the 'Clean Up' preference page - create a new profile - export profile - import the file - a dialog asks to rename or replace 'Overwrite the existing profile.' should not end with a dot (no dots for radio labels) We should also remove the help button
2006-09-19 05:47:55
1,158,660,000
resolved fixed
471aea8
1,158,830,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/AlreadyExistsDialog.java
JDT
2,160
157,774
Bug 157774 [clean up] UI issues on the clean up preference page
20060919 I would - change the label 'Selected Clean Ups' to 'Details:' - make the text field read only - use '-' to separate the items
2006-09-19 06:36:18
1,158,660,000
verified fixed
560ea23
1,158,760,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CleanUpRefactoringWizard.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/CleanUpConfigurationBlock.java
JDT
2,161
157,812
Bug 157812 [search] Java search result view should not enable polymorphic filter by default
null
2006-09-19 09:47:30
1,158,670,000
verified fixed
0cac3c7
1,158,760,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/MatchFilter.java
JDT
2,162
157,967
Bug 157967 [junit] can run single method anymore
20060920-0010 - select a test method (e.g. X.foo) - chose 'Run > As Junit plugin test' from the context menu - JUnit view complains about 'X.foo' not found
2006-09-20 06:38:20
1,158,750,000
verified fixed
1568a0c
1,158,750,000
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/launcher/JUnitLaunchShortcut.java
JDT
2,163
157,767
Bug 157767 [clean up] Code formatter allows to import clean up profiles
20060919 - go to the 'Clean Up' preference page - create a new profile - export profile as text.xml - go to the 'Formatter' preference page - import the text.xml - new profile created, no warning I think a warning dialogs should say that this was saved as clean up profile. Ok to create a new profile containing only the code formatter settings? Or just an error dialog...
2006-09-19 05:53:39
1,158,660,000
verified fixed
696a18b
1,158,750,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/CleanUpProfileManager.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/CleanUpProfileVersioner.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/CreateProfileDialog.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/FormatterMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/FormatterProfileManager.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/IProfileVersioner.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileConfigurationBlock.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileManager.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileStore.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileVersioner.java
JDT
2,164
157,860
Bug 157860 [clean up] both serial option radio buttons checked
I20060919-0010 1. Open the built-in clean up preference (click Show) 2. go to Missing Code page ==> both radio buttons under serial version id are marked
2006-09-19 12:17:49
1,158,680,000
verified fixed
5e0d5da
1,158,690,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CleanUpConstants.java
JDT
2,165
157,809
Bug 157809 [clean up] improve the clean up preference keys
20060919-0010 - the preference keys are currently in the form of 'org.eclipse.jdt.uicleanup.add_default_serial_version_id' I suggest to change them to 'cleanup.add_default_serial_version_id' we should do this for M2 before users are releasing these keys to their projects
2006-09-19 09:38:43
1,158,670,000
verified fixed
70eb57a
1,158,680,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CleanUpConstants.java
JDT
2,166
157,480
Bug 157480 [clean up] Add paranoical parantheses does mess up expressions
While running cleanup on our whole codebase, I've found a particular file that is incorrectly modified by the cleanup process. Specifically, this: if(target == null && other.target == null || (target != null && target.equals(other.target))) targetEquals = true; return sourceEquals && targetEquals; } becomes this: if(( && (other.target == null))(target == null) || ((target != null) && target.equals(other.target))) { targetEquals = true; } I'll attach source before/after cleanup attached plus screenshots of every steps (including options selected for the cleanup.
2006-09-15 11:07:52
1,158,330,000
verified fixed
0ce03e3
1,158,590,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CleanUpRefactoring.java
JDT
2,167
157,468
Bug 157468 [clean up] Overlapping text edits when formating code/comment
Given: package test1; public class E1 { private void bar(boolean bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb) { if (bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb) { // a b c d e f g h i j k final String s = ""; } } } 1. Eclipse formatter settings 2. Clean Ups: Format source code Format single line comments 3. Run clean up on E1 Is: org.eclipse.text.edits.MalformedTreeException: Overlapping text edits at org.eclipse.text.edits.TextEdit$InsertionComparator.compare(TextEdit.java:119) at java.util.Collections.indexedBinarySearch(Collections.java:322) at java.util.Collections.binarySearch(Collections.java:310) at org.eclipse.text.edits.TextEdit.computeInsertionIndex(TextEdit.java:793) at org.eclipse.text.edits.TextEdit.internalAdd(TextEdit.java:778) at org.eclipse.text.edits.TextEdit.addChild(TextEdit.java:333) at org.eclipse.jdt.internal.corext.refactoring.changes.TextChangeCompatibility.insert(TextChangeCompatibility.java:85) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring.mergeTextChanges(CleanUpRefactoring.java:768) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring.access$2(CleanUpRefactoring.java:724) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring$CleanUpASTRequestor.calculateSolutions(CleanUpRefactoring.java:219) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring$CleanUpASTRequestor.acceptAST(CleanUpRefactoring.java:186) at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:712) at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:466) at org.eclipse.jdt.core.dom.ASTParser.createASTs(ASTParser.java:707) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring$CleanUpParser.createASTs(CleanUpRefactoring.java:304) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring$CleanUpFixpointIterator.next(CleanUpRefactoring.java:383) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring.cleanUpProject(CleanUpRefactoring.java:598) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring.checkFinalConditions(CleanUpRefactoring.java:552) at org.eclipse.ltk.core.refactoring.Refactoring.checkAllConditions(Refactoring.java:160) at org.eclipse.jdt.internal.ui.refactoring.RefactoringExecutionHelper$Operation.run(RefactoringExecutionHelper.java:76) at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:720) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737) at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4022) at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
2006-09-15 09:59:56
1,158,330,000
resolved fixed
7daee37
1,158,340,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CleanUpRefactoring.java
JDT
2,168
157,203
Bug 157203 [ltk] [patch] TextEditBasedChange/TextChange provides incorrect diff when one side is empty
When previewing changes for a refactoring whose changes are TextChanges, sometimes spurious changes are displayed in the preview/diff UI due to the presence of empty regions in the source or target. For instance, given a ReplaceEdit that inserts a line, the source's region is empty and the target's is not. But in the diff page, it looks like a line is inserted in the source AND the following line from the source's context is deleted. This is confusing. I think the issue comes down to TextEditBasedChange#getContent() when dealing with the expandRegionToFullLine argument. If the incoming region is empty, then expanding to full line introduces a new line in the content, whereas a non-empty region always has line(s) to work with. Thus, the fix is to remove one line of context when expanding an empty region, so the two sides (current and preview) balance out in total number of lines displayed.
2006-09-13 13:19:28
1,158,170,000
resolved fixed
ba62d0b
1,158,320,000
org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/changes/AllTests.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/changes/TextDiffContentTest.java org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/core/refactoring/TextEditBasedChange.java
JDT
2,169
73,401
Bug 73401 [search] Unable to search just for references to overridden method
I have a class Obstacles extends Rectangle, which overrides containsPoint(int, int). I would like to search to references to this method. When I search, I get all references to Rectangle#containsPoint(int, int) instead. How can I make this search? Which method is the bytecode calling?
2004-09-07 15:50:55
1,094,590,000
verified fixed
aab4c89
1,158,260,000
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/MethodOccurenceCollector.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaElementMatch.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/MatchFilter.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/NewSearchResultCollector.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/SearchMessages.java
JDT
2,170
156,513
Bug 156513 [Clean Up] Body of converted for loop is removed
I20060905-1250 Given: package test; public class E { public void foo(boolean b, int[] is) { if (b) { for (int i = 0; i < is.length; i++) bar(is[i]); } } private void bar(int i) {} } 1. Enable clean ups - Remove blocks - Convert to enhanced for loop 2. Run Source>Clean Up Is: if (b) for (int i = 0; i < is.length; i++) Should if (b) for (int element : is) bar(element);
2006-09-07 09:40:46
1,157,640,000
resolved fixed
4d5b8ed
1,158,250,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ControlStatementsFix.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ConvertForLoopOperation.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ConvertIterableLoopOperation.java
JDT
2,171
121,049
Bug 121049 [implementation] Revisit calls to StyledText.setRedraw(boolean)
I20051214-2000 We should try to reduce the calls to StyledText.setRedraw(boolean). For example when revealing a selection, we could check up-front whether scrolling will happen or not.
2005-12-15 10:06:18
1,134,660,000
resolved fixed
93f31a6
1,158,250,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JavaModelUtil.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaHistoryActionImpl.java
JDT
2,172
156,842
Bug 156842 [clean up] should not make unused private fields final
I20060905-1250 With 'clean up on save' this will result in compile errors after save, which is realy anoing.
2006-09-11 04:20:00
1,157,960,000
resolved fixed
d57c38d
1,158,240,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/VariableDeclarationFix.java
JDT
2,173
157,276
Bug 157276 [clean up] Private field not made final if written in constructor
I20060912-0800 Given: package test1; public class E1 { private int field; public E1() { field= 10; } } 1. Run 'make private fields final' clean up Is: no changes Should: make field final
2006-09-14 04:26:06
1,158,220,000
resolved fixed
cf48877
1,158,240,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpStressTest.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/VariableDeclarationFix.java
JDT
2,174
156,911
Bug 156911 [Compare] Modify Java compare classes to support file buffers
In tomorrows integration build (which will probably be today by the time you read this bug), there will be support for the use of file buffers in compare editors. The use of file buffers requires modifications to the Java compare classes. I will attach a patch. Also, any feedback is welcome.
2006-09-11 14:08:59
1,158,000,000
resolved fixed
2cc61b3
1,158,060,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaCompareUtilities.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaMergeViewer.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaTextViewer.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/PropertiesFileMergeViewer.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/PropertiesFileViewer.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/PropertiesStructureCreator.java
JDT
2,175
156,822
Bug 156822 [nls tooling] Externalizes strings dialog has wrong buttons enabled
If you have only one string to externalize, open the Externalizes Strings Wizard. All the three buttons (Externalize, Ignore, Internalize) are enabled. But if you click on one of them, nothing happens besides they get disabled because the no string in the table is selected when the dialog opens. Now we have to ways: a) disable them at startuo if nothing is selected b) select the first entry automatically if there is only one entry In my eyes, option b) is the better approach to have a smart user interaction. I'll provide a patch for the second way tomorrow if nobody has a problem with this.
2006-09-10 18:55:28
1,157,930,000
resolved fixed
45316ad
1,157,970,000
org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/ExternalizeWizardPage.java
JDT
2,176
155,435
Bug 155435 [content assist] NPE in content assist
Eclipse 3.3 I20060822-1200, IBM Java 5.0SR2, WinXP SP2. Steps to reproduce * start fresh workspace and paste the code below there package t; import java.util.Stack; public class T { void t() { final class C { } final Stack<C> stack = new // ^ hit Ctrl-Space here } } * use content assist to finish "... new Stack<C>();" statement * move cursor back to indicated location and activate contect assists again Problem: "Problem During Content Assist" dialog pops up and NullPointerException is written to .log !ENTRY org.eclipse.jdt.ui 2 0 2006-08-28 13:40:26.756 !MESSAGE The 'org.eclipse.jdt.ui.JavaTypeCompletionProposalComputer' proposal computer from the 'org.eclipse.jdt.ui' plug-in did not complete normally. The extension has thrown a runtime exception. !STACK 0 java.lang.NullPointerException at org.eclipse.jdt.internal.ui.text.java.JavaTypeCompletionProposalComputer.computeCompletionProposals(JavaTypeCompletionProposalComputer.java:90) at org.eclipse.jdt.internal.ui.text.java.CompletionProposalComputerDescriptor.computeCompletionProposals(CompletionProposalComputerDescriptor.java:303) at org.eclipse.jdt.internal.ui.text.java.CompletionProposalCategory.computeCompletionProposals(CompletionProposalCategory.java:264) at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.collectProposals(ContentAssistProcessor.java:251) at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.computeCompletionProposals(ContentAssistProcessor.java:220) at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1753) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:478) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$17(CompletionProposalPopup.java:475) at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:410) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:404) at org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions(ContentAssistant.java:1582) at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor$AdaptedSourceViewer.doOperation(CompilationUnitEditor.java:173) at org.eclipse.ui.texteditor.ContentAssistAction$1.run(ContentAssistAction.java:82) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.texteditor.ContentAssistAction.run(ContentAssistAction.java:80) at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) 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:461) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:424) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:160) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:466) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:799) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:846) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:564) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:506) at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:122) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:983) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:927) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:965) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:961) at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1275) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3352) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3252) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4052) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1928) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2999) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952)
2006-08-28 13:42:25
1,156,790,000
verified fixed
9566942
1,157,970,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaTypeCompletionProposalComputer.java
JDT
2,177
156,352
Bug 156352 NPE when accessing annotations from ITypeBinding
The attached snippet fails with a NPE when it tries to access the annotations of a super class. java.lang.NullPointerException at org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding.getAnnotationTagBits(SourceTypeBinding.java:677) at org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding.retrieveAnnotationHolder(SourceTypeBinding.java:1417) at org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding.retrieveAnnotations(ReferenceBinding.java:1082) at org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding.getAnnotations(ReferenceBinding.java:595) at org.eclipse.jdt.core.dom.TypeBinding.getAnnotations(TypeBinding.java:92) at org.eclipse.jdt.junit.tests.JUnit4TestFinderTest.testNPE(JUnit4TestFinderTest.java:323) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ...
2006-09-06 09:01:50
1,157,550,000
verified fixed
350e7af
1,157,720,000
org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/launcher/JUnit4TestFinder.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnit4TestFinder.java
JDT
2,178
60,724
Bug 60724 [misc] Class File Editor clips large class files
null
2004-05-03 06:32:27
1,083,580,000
resolved fixed
39514d4
1,157,710,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java
JDT
2,179
99,694
Bug 99694 [nls tooling] Configure Accessor Dialog in NLS refactoring clips caption labels in high-contrast mode [nls]
3.1 RC2 Attaching screenshot
2005-06-13 11:30:24
1,118,680,000
resolved fixed
92254f9
1,157,710,000
org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/NLSAccessorConfigurationDialog.java
JDT
2,180
3,537
Bug 3537 DCR - no disassemled code for class files (1G8BSH6)
AK (1/29/01 7:36:51 PM) (most likely a duplicate) now, the editor is just empty - no even information that this is a binary file and thus the source cannot be presented the editor window should at least become gray and say sth like 'binary file (use souce for binaries to view the source)' NOTES:
2001-10-10 22:56:46
1,002,770,000
resolved fixed
6b3bbee
1,157,620,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java
JDT
2,181
156,239
Bug 156239 [CommonNavigator][Java] PackageExplorerContentProvider forces unnecessary refreshes in working set mode
The test case here has two working sets, each containing several projects, displayed in the Project Explorer, with "Show Top Level Elements" set to "Working Sets". Whenever a Java type is opened, the Java type in the viewer "becomes" a working copy, which causes the PackageExplorerContentProvider to respond in its elementChanged() method. Currently, elementChanged() first checks if the input was deleted (PackageExplorerContentProvider.inputDeleted()). If inputDeleted() returns true, then it forces a complete refresh of the viewer. This causes jumpiness if the viewer is scrolled outside of the scope of the current selection. The inputDeleted() method is already updated for the JDT WorkingSetModel: private boolean inputDeleted() { if (fInput == null) return false; if ((fInput instanceof IJavaElement) && ((IJavaElement) fInput).exists()) return false; if ((fInput instanceof IResource) && ((IResource) fInput).exists()) return false; if (fInput instanceof WorkingSetModel) return false; postRefresh(fInput, ORIGINAL, fInput); return true; } However, as of 3.2.1, the Project Explorer supports working sets, using the Platform/UI's support for the IWorkingSet API. Because the PackageExplorerContentProvider doesn't recognize IWorkingSet and return false, the viewer is structurally refreshed for each opened Java file. Instead, the inputDeleted() method should check for IWorkingSet: private boolean inputDeleted() { if (fInput == null) return false; if ((fInput instanceof IJavaElement) && ((IJavaElement) fInput).exists()) return false; if ((fInput instanceof IResource) && ((IResource) fInput).exists()) return false; if (fInput instanceof WorkingSetModel) return false; if (fInput instanceof IWorkingSet) return false; postRefresh(fInput, ORIGINAL, fInput); return true; } I will attach a patch.
2006-09-05 14:25:55
1,157,480,000
verified fixed
0afa1de
1,157,540,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerContentProvider.java
JDT
2,182
83,221
Bug 83221 [misc] classnot found moving from M4 to i0118
I got the latest integration biuld (i0118) and opened a workspace formerly used via M4. I got an error restoring workbench state and several of the following execeptions in my log. I had several open editors in the workspace. It is hard to tell if there are any missing. Note much more information available. !ENTRY org.eclipse.ui 4 4 2005-01-19 13:35:03.264 !MESSAGE Exception creating editor: The classfile is not on the classpath !STACK 1 org.eclipse.ui.PartInitException[995]: org.eclipse.core.runtime.CoreException: The classfile is not on the classpath at org.eclipse.jdt.internal.ui.javaeditor.ClassFileEditor.doSetInput (ClassFileEditor.java:623) at org.eclipse.ui.texteditor.AbstractTextEditor$16.run (AbstractTextEditor.java:2284) at org.eclipse.jface.operation.ModalContext.runInCurrentThread (ModalContext.java:344) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:289) at org.eclipse.jface.window.ApplicationWindow$1.run (ApplicationWindow.java:624) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.jface.window.ApplicationWindow.run (ApplicationWindow.java:621) at org.eclipse.ui.internal.WorkbenchWindow.run (WorkbenchWindow.java:1949) at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit (AbstractTextEditor.java:2302) at org.eclipse.ui.texteditor.AbstractTextEditor.init (AbstractTextEditor.java:2329) at org.eclipse.ui.internal.EditorManager.createSite (EditorManager.java:820) at org.eclipse.ui.internal.EditorManager.openInternalEditor (EditorManager.java:899) at org.eclipse.ui.internal.EditorManager.access$12 (EditorManager.java:883) at org.eclipse.ui.internal.EditorManager$9.run(EditorManager.java:1106) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java:1061) at org.eclipse.core.runtime.Platform.run(Platform.java:747) at org.eclipse.ui.internal.EditorManager.busyRestoreEditor (EditorManager.java:1076) at org.eclipse.ui.internal.EditorManager$8.run(EditorManager.java:1068) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ui.internal.EditorManager.restoreEditor (EditorManager.java:1066) at org.eclipse.ui.internal.EditorManager.restoreEditorState (EditorManager.java:1708) at org.eclipse.ui.internal.EditorManager.restoreState (EditorManager.java:1020) at org.eclipse.ui.internal.WorkbenchPage.restoreState (WorkbenchPage.java:2443) at org.eclipse.ui.internal.WorkbenchWindow.restoreState (WorkbenchWindow.java:1634) at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1415) at org.eclipse.ui.internal.Workbench.access$10(Workbench.java:1371) at org.eclipse.ui.internal.Workbench$15.run(Workbench.java:1274) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java:1061) at org.eclipse.core.runtime.Platform.run(Platform.java:747) at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1208) at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState (WorkbenchConfigurer.java:171) at org.eclipse.ui.application.WorkbenchAdvisor.openWindows (WorkbenchAdvisor.java:638) at org.eclipse.ui.internal.Workbench.init(Workbench.java:888) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1517) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench (Workbench.java:287) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run (IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run (PlatformActivator.java:220) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:274) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at org.eclipse.core.launcher.Main.basicRun(Main.java:255) at org.eclipse.core.launcher.Main.run(Main.java:811) at org.eclipse.core.launcher.Main.main(Main.java:795)
2005-01-19 13:40:06
1,106,160,000
verified fixed
da65fe2
1,157,530,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditorInputFactory.java
JDT
2,183
136,915
Bug 136915 [build path] Default output folder changed when assigning a src output folder
When creating a new project from an existing folder structure, the Default output folder is changed if a different folder is assigned to one of the source folders in the project. Steps to recreate: Setup a project outside of Eclipse with 2 source folders and one output folder: TestProject ->src1 ->tests ->classes Add a .java file to each of the source folders. In Eclipse create a new project using New->Project->Java Project. On the initial Wizard page, give project a name and select Create project from existing source. Click next. Default output folder is set to tests. Select Browse and select classes as new Default output folder. Click Allow output folder for source folders and select tests folder. Click on Configure output folder properties, Select output folder, Browse. Select tests as the output folder and hit OK for both dialogs. Default output folder is changed from classes back to tests.
2006-04-15 15:55:59
1,145,130,000
verified fixed
0eaef74
1,157,030,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/NewSourceContainerWorkbookPage.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/ResetAllOutputFoldersAction.java
JDT
2,184
72,354
Bug 72354 [misc] Accidental clicking "Show Source of Selected Element Only" causes confusion
On the newsgroups I have seen many people (mostly beginners) complaining about not seeing full cource of their classes. It always turns out that they accidentally clicked the "Show Source of Selected Element Only" toolbar button. Here are few possible enhancements: 1. When the "Show Source of Selected Element Only" is clicked show a message dialog indicating how to get out of the state. The dialog could have "Do not show this message" checbbox. The message showing behaviour should be recoverable from the Java:Editor preferences page. Alternatively: 2. Make "Show Source of Selected Element Only" a preference. 2.1 Move "Show Source of Selected Element Only" to a submenu under Source i.e. making it difficult to get into. It should be possible for an expert to show it on the toolbar also. 3. Always indicate the state in the editor - a label at top with instructions on how to get out of the state. Or a icon on the Editor tab with a tooltip showing how to get out of the state.
2004-08-20 11:15:31
1,093,010,000
resolved fixed
f66f074
1,156,960,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorAppearanceConfigurationBlock.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/PreferencesMessages.java
JDT
2,185
136,353
Bug 136353 [implementation] clean up performSaveAs(...) workaround
null
2006-04-12 11:04:58
1,144,850,000
verified fixed
e90e229
1,156,940,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
JDT
2,186
154,936
Bug 154936 [quick fix] "Convert switch to if-else" introduces error
Eclipse SDK Version: 3.2.0 Build id: M20060629-1905 Consider the following snippet: --- public static int getPower(TimeUnit unit) { switch (unit) { case SECONDS: return 0; case MILLISECONDS: return -3; case MICROSECONDS: return -6; case NANOSECONDS: return -9; default: throw new InternalError(); } } --- Run the quick fix "Convert switch to if-else" on the switch keyword, and the new code will have compiler errors, one for each enum constant: SECONDS cannot be resolved. Et cetera. The constants should be preceded by "TimeUnit."
2006-08-23 16:49:49
1,156,370,000
resolved fixed
6f9a371
1,156,870,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/AdvancedQuickAssistTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java
JDT
2,187
154,840
Bug 154840 [Add Import] on private enum constants results in compilation error
Eclipse SDK Version: 3.2.0 Build id: M20060629-1905 Consider the following snippet: --- public class Machine { private State state; public boolean isAlive() { return state != State.DEAD; } private enum State { IDLE, RUNNING, DEAD } } --- Run Source -> Add Import on "State.DEAD". Two compiler errors appear: - DEAD cannot be resolved. - The import Machine cannot be resolved.
2006-08-23 06:28:52
1,156,330,000
resolved fixed
6401857
1,156,860,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/AddImportTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/AddImportsOperation.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/CodeGenerationMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/AddImportOnSelectionAction.java
JDT
2,188
154,939
Bug 154939 [clean up] Convert iterable loop does not detect additional breaking conditions
Hi, In Source->CleanUp the "Covert for loops to enhanced" will convert also loops which aren't convertable, changing the meaning of the program. E.g. this program which limits the number of executions of the loop package x; import java.util.Iterator; import java.util.List; import java.util.Vector; public class X { private static final String[] init={"a","b","c","d","e"}; public static void main(final String[] args) { final List<String> list = new Vector<String>(); for (int i = 0; i < init.length; i++) { list.add(init[i]); } int n = 2; for (Iterator<String> iterator = list.iterator(); iterator.hasNext() && (n > 0); n--) { String string = iterator.next(); System.out.println(string); } } } and thus produces the output a b will be transformed to (btw. ugly formatted) enhanced for loop even though it couldn't be done. The additional condition and decrement of n is ignored and dropped. package x; import java.util.List; import java.util.Vector; public class X { private static final String[] init={"a","b","c","d","e"}; public static void main(final String[] args) { final List<String> list = new Vector<String>(); for (String element : init) { list.add(element); } int n = 2; for (String string : list) { System.out.println(string); } } } thus the result of this program is different than what is was before and it outputs a b c d e I noticed this today with eclipse 3.2 and have then tried the above test case in a clean 3.3M1 (unpacked in the home directory of a freshly created user) to confirm the error is in the latest milestone of 3.3. claudio
2006-08-23 17:18:00
1,156,370,000
verified fixed
74150a2
1,156,430,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/AbstractFix.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ControlStatementsFix.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ConvertIterableLoopOperation.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/FixMessages.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/IFix.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/StringFix.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CodeFormatFix.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CommentFormatFix.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/CorrectionMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/FixCorrectionProposal.java
JDT
2,189
154,337
Bug 154337 [quick fix] should suggest final for initialized static variable in inner class
public static void main( String[] args ) { class In { static int a = 21; // ^^ } new In(); } In an inner class the quickfix should suggest final for the static variable "a". The compiler is correct with his message "The field a cannot be declared static; static fields can only be declared in static or top level types..." but the editor should be able to fix it. Maybe the error message should be extended in a way that static final values are valid in an inner class.
2006-08-18 05:55:06
1,155,890,000
resolved fixed
33a3460
1,156,260,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/ModifierCorrectionsQuickFixTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/CorrectionMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ModifierCorrectionSubProcessor.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickFixProcessor.java
JDT
2,190
154,609
Bug 154609 [type hierarchy] NPE in quick outline
Using Eclipse 3.2 release version. Not sure what caused it, but quick outline failed in a couple of my editors (several others were open and quick outline was working fine in there) due to a NPE. Things were fine when I closed and reopened those two editors. Hopefully, the stack trace will give you an idea of what went wrong. java.lang.NullPointerException at org.eclipse.jdt.internal.corext.util.MethodOverrideTester.findOverriddenMethod(MethodOverrideTester.java:122) at org.eclipse.jdt.internal.corext.util.MethodOverrideTester.findDeclaringMethod(MethodOverrideTester.java:101) at org.eclipse.jdt.internal.ui.typehierarchy.AbstractHierarchyViewerSorter.getDefiningType(AbstractHierarchyViewerSorter.java:136) at org.eclipse.jdt.internal.ui.typehierarchy.AbstractHierarchyViewerSorter.compare(AbstractHierarchyViewerSorter.java:96) at org.eclipse.jface.viewers.ViewerComparator$1.compare(ViewerComparator.java:184) at java.util.Arrays.mergeSort(Arrays.java:1284) at java.util.Arrays.mergeSort(Arrays.java:1295) at java.util.Arrays.mergeSort(Arrays.java:1295) at java.util.Arrays.sort(Arrays.java:1223) at org.eclipse.jface.viewers.ViewerComparator.sort(ViewerComparator.java:182) at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:556) at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:719) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:696) at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:892) at org.eclipse.jface.viewers.AbstractTreeViewer.internalExpandToLevel(AbstractTreeViewer.java:1486) at org.eclipse.jdt.internal.ui.text.JavaOutlineInformationControl$OutlineTreeViewer.internalExpandToLevel(JavaOutlineInformationControl.java:226) at org.eclipse.jface.viewers.AbstractTreeViewer.internalExpandToLevel(AbstractTreeViewer.java:1496) at org.eclipse.jdt.internal.ui.text.JavaOutlineInformationControl$OutlineTreeViewer.internalExpandToLevel(JavaOutlineInformationControl.java:226) at org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractTreeViewer.java:1278) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1323) at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:1266) at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:250) at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1542) at org.eclipse.jdt.internal.ui.text.AbstractInformationControl.inputChanged(AbstractInformationControl.java:525) at org.eclipse.jdt.internal.ui.text.JavaOutlineInformationControl.setInput(JavaOutlineInformationControl.java:625) at org.eclipse.jface.text.AbstractInformationControlManager.internalShowInformationControl(AbstractInformationControlManager.java:858) at org.eclipse.jface.text.AbstractInformationControlManager.presentInformation(AbstractInformationControlManager.java:837) at org.eclipse.jface.text.AbstractInformationControlManager.setInformation(AbstractInformationControlManager.java:308) at org.eclipse.jface.text.information.InformationPresenter.computeInformation(InformationPresenter.java:346) at org.eclipse.jface.text.AbstractInformationControlManager.doShowInformation(AbstractInformationControlManager.java:821) at org.eclipse.jface.text.AbstractInformationControlManager.showInformation(AbstractInformationControlManager.java:811) at org.eclipse.jdt.internal.ui.javaeditor.JavaSourceViewer.doOperation(JavaSourceViewer.java:166) at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor$AdaptedSourceViewer.doOperation(CompilationUnitEditor.java:201) at org.eclipse.ui.texteditor.TextOperationAction$1.run(TextOperationAction.java:131) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.texteditor.TextOperationAction.run(TextOperationAction.java:129) at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) 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:461) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:424) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:160) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:466) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:799) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:846) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:564) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:506) at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:122) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:982) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:927) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:965) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:961) at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1275) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3346) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3246) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4025) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1923) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952)
2006-08-21 16:35:59
1,156,190,000
resolved fixed
4aa4056
1,156,250,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/MethodOverrideTester.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/AbstractHierarchyViewerSorter.java
JDT
2,191
154,037
Bug 154037 [package explorer] Select All in pkg expl behaves strange
I20060810-1230 1. Create a new java project 'P01' with separate src folder 2. Expand 'P01' 3. Ctrl-A Is: P01, src, and the JRE is selected, correct 4. Collapse 'P01' 5. Expand 'P01' Is: only P01, is selected, maybe correct 6. Collapse 'P01' 7. Ctrl-A 8. Expand 'P01' Is: P01, src, and the JRE is selected That's strange because: a) I did not expect that Ctrl-A in step 7 does select non visible elements b) It's different from what I see after step 5 It looks like once you expanded a node that susequent 'Select All' invocations do select the node and its children, no matter if the node is expanded or collapsed (i.e. expand the jre container once).
2006-08-16 07:03:08
1,155,730,000
resolved fixed
a326b3b
1,156,180,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/SelectAllAction.java
JDT
2,192
154,103
Bug 154103 [search] 'Copy Qualified Name' should also work in search result view
I20060815-0948 Open java.lang.Integer, select the type name, and press Ctrl+G. I would expect that 'Edit > Copy Qualified Name' is enabled now, but it isn't.
2006-08-16 13:44:35
1,155,750,000
resolved fixed
fd8fba7
1,156,180,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/CopyQualifiedNameAction.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultPage.java
JDT
2,193
154,534
Bug 154534 [content assist][templates] Endless loop in JavaContext.suggestVariableName
I20060816-1200 + ZRH plug-ins from 20060817_1526 In a method like the one below, I pressed Ctrl+Space in the empty body and then Down_Arrow to select the template "for - iterate over array with temp...". void checkMappingChanged(.., .., Object[][] objs) { } Stackdump while in endless loop: "main" prio=6 tid=0x00280048 nid=0x2a10 runnable [0x0007e000..0x0007fc44] at java.lang.String.endsWith(String.java:1296) at org.eclipse.jdt.internal.corext.template.java.JavaContext.suggestVariableName(JavaContext.java:394) at org.eclipse.jdt.internal.corext.template.java.JavaContext.suggestVariableNames(JavaContext.java:377) at org.eclipse.jdt.internal.corext.template.java.JavaContextType$AbstractIterableElement.resolve(JavaContextType.java:204) at org.eclipse.jface.text.templates.TemplateContextType.resolve(TemplateContextType.java:272) at org.eclipse.jface.text.templates.TemplateContextType.resolve(TemplateContextType.java:239) at org.eclipse.jdt.internal.corext.template.java.JavaContext.evaluate(JavaContext.java:164) at org.eclipse.jdt.internal.ui.text.template.contentassist.TemplateProposal.getAdditionalProposalInfo(TemplateProposal.java:391) at org.eclipse.jface.text.contentassist.AdditionalInfoController$6.run(AdditionalInfoController.java:162) - locked <0x1b3aa948> (a org.eclipse.jface.text.contentassist.AdditionalInfoController$10) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123) - locked <0x1024df30> (a org.eclipse.swt.widgets.RunnableLock) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3354) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3000) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952)
2006-08-21 09:56:27
1,156,170,000
verified fixed
fb6c785
1,156,170,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContext.java
JDT
2,194
154,518
Bug 154518 [content assist] NPE on ContentAssist
I20060816-1200 + ZRH plug-ins from 20060817_1526 I can reproduce the NPE below on Ctrl+Space with a modified version of RenamePackageTests.java. !MESSAGE The 'org.eclipse.jdt.ui.JavaNoTypeCompletionProposalComputer' proposal computer from the 'org.eclipse.jdt.ui' plug-in did not complete normal ly. The extension has thrown a runtime exception. !STACK 0 java.lang.NullPointerException at org.eclipse.jdt.core.Signature.toCharArray(Signature.java:2253) at org.eclipse.jdt.ui.text.java.CompletionProposalCollector.getDeclaringType(CompletionProposalCollector.java:562) at org.eclipse.jdt.ui.text.java.CompletionProposalCollector.isFiltered(CompletionProposalCollector.java:524) at org.eclipse.jdt.ui.text.java.CompletionProposalCollector.accept(CompletionProposalCollector.java:208) at org.eclipse.jdt.internal.codeassist.CompletionEngine.findClassField(CompletionEngine.java:2033) at org.eclipse.jdt.internal.codeassist.CompletionEngine.complete(CompletionEngine.java:894) at org.eclipse.jdt.internal.codeassist.CompletionEngine.complete(CompletionEngine.java:1774) at org.eclipse.jdt.internal.core.Openable.codeComplete(Openable.java:123) at org.eclipse.jdt.internal.core.CompilationUnit.codeComplete(CompilationUnit.java:314) at org.eclipse.jdt.internal.core.CompilationUnit.codeComplete(CompilationUnit.java:307) at org.eclipse.jdt.internal.ui.text.java.JavaCompletionProposalComputer.internalComputeCompletionProposals(JavaCompletionProposalComputer.java :166) at org.eclipse.jdt.internal.ui.text.java.JavaCompletionProposalComputer.computeCompletionProposals(JavaCompletionProposalComputer.java:146) at org.eclipse.jdt.internal.ui.text.java.CompletionProposalComputerDescriptor.computeCompletionProposals(CompletionProposalComputerDescriptor. java:303) at org.eclipse.jdt.internal.ui.text.java.CompletionProposalCategory.computeCompletionProposals(CompletionProposalCategory.java:264) at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.collectProposals(ContentAssistProcessor.java:251) at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.computeCompletionProposals(ContentAssistProcessor.java:220) at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1753) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:478) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$17(CompletionProposalPopup.java:475) at org.eclipse.jface.text.contentassist.CompletionProposalPopup$12.run(CompletionProposalPopup.java:1399) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.incrementalComplete(CompletionProposalPopup.java:1393) at org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions(ContentAssistant.java:1581) at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor$AdaptedSourceViewer.doOperation(CompilationUnitEditor.java:173) at org.eclipse.ui.texteditor.ContentAssistAction$1.run(ContentAssistAction.java:82) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.texteditor.ContentAssistAction.run(ContentAssistAction.java:80) at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) 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:461) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:424) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:160) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:466) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:799) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:846) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:564) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:506) at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:122) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:982) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:927) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:965) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:961) at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1275) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3352) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3252) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4054) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1928) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2995) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952)
2006-08-21 07:03:14
1,156,160,000
verified fixed
cc2d0da
1,156,170,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/java/CompletionProposalCollector.java
JDT
2,195
140,771
Bug 140771 [generate constructor] generate constructor for enum [code generation]
When using [Source->Generate constructor using fields] for an enum, the generated constructor is public by default. This is illegal (as far as I understand), and should always be private. It shouls also ommit the call to super().
2006-05-09 07:32:04
1,147,170,000
verified fixed
ca94e26
1,155,830,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/GenerateConstructorUsingFieldsSelectionDialog.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/SourceActionDialog.java
JDT
2,196
153,299
Bug 153299 [build path] Can't remov project form bp if it contains src folder
I20060807-2000 1. Create new project with project as src/out folder 2. New src folder with update exclusion filters 3. Select the project and invoke Build Path>Remove from Buildpath Is: Error while removing from buildpath Fix: change default outputfolder to bin
2006-08-09 10:16:56
1,155,130,000
resolved fixed
45c6088
1,155,830,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/buildpath/BuildpathModifierActionTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/ClasspathModifier.java
JDT
2,197
151,611
Bug 151611 [infer type arguments] NPE in InferTypeArgumentsTCModel.makeVariableVariable()
In the Java Editor, I was in the following line: Map<PpmMedia, String> parallelVersions = new HashMap(); when I chose Ctrl+1 and picked "Add type parameters to 'HashMap'" on the HashMap constructor. That resulted in the following NPE: eclipse.buildId=M20060629-1905 java.version=1.5.0 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE Command-line arguments: -os win32 -ws win32 -arch x86 -data D:\eclipse_workspaces\sgw2 This is a continuation of log file D:\eclipse_workspaces\sgw2\.metadata\.bak_0.log Created Time: 2006-07-24 13:16:35.266 Error Mon Jul 24 19:52:30 CEST 2006 java.lang.NullPointerException java.lang.NullPointerException at org.eclipse.jdt.internal.corext.refactoring.generics.InferTypeArgumentsTCModel.makeVariableVariable(InferTypeArgumentsTCModel.java:350) at org.eclipse.jdt.internal.corext.refactoring.generics.InferTypeArgumentsTCModel.makeDeclaredVariableVariable(InferTypeArgumentsTCModel.java:367) at org.eclipse.jdt.internal.corext.refactoring.generics.InferTypeArgumentsConstraintCreator.endVisit(InferTypeArgumentsConstraintCreator.java:869) at org.eclipse.jdt.core.dom.VariableDeclarationFragment.accept0(VariableDeclarationFragment.java:226) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2466) at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2536) at org.eclipse.jdt.core.dom.VariableDeclarationStatement.accept0(VariableDeclarationStatement.java:272) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2466) at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2536) at org.eclipse.jdt.core.dom.Block.accept0(Block.java:135) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2466) at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2513) at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:501) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2466) at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2536) at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:483) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2466) at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2536) at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:212) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2466) at org.eclipse.jdt.internal.corext.fix.Java50Fix$AddTypeParametersOperation.rewriteAST(Java50Fix.java:116) at org.eclipse.jdt.internal.corext.fix.LinkedFix.createChange(LinkedFix.java:106) at org.eclipse.jdt.internal.ui.text.correction.FixCorrectionProposal.createTextChange(FixCorrectionProposal.java:75) at org.eclipse.jdt.internal.ui.text.correction.CUCorrectionProposal.createChange(CUCorrectionProposal.java:303) at org.eclipse.jdt.internal.ui.text.correction.ChangeCorrectionProposal.getChange(ChangeCorrectionProposal.java:207) at org.eclipse.jdt.internal.ui.text.correction.ChangeCorrectionProposal.performChange(ChangeCorrectionProposal.java:100) at org.eclipse.jdt.internal.ui.text.correction.LinkedCorrectionProposal.performChange(LinkedCorrectionProposal.java:231) at org.eclipse.jdt.internal.ui.text.correction.CUCorrectionProposal.apply(CUCorrectionProposal.java:244) at org.eclipse.jdt.internal.ui.text.correction.FixCorrectionProposal.apply(FixCorrectionProposal.java:142) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.insertProposal(CompletionProposalPopup.java:777) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.insertSelectedProposalWithMask(CompletionProposalPopup.java:728) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.verifyKey(CompletionProposalPopup.java:1139) at org.eclipse.jface.text.contentassist.ContentAssistant$InternalListener.verifyKey(ContentAssistant.java:650) at org.eclipse.jface.text.TextViewer$VerifyKeyListenersManager.verifyKey(TextViewer.java:434) at org.eclipse.swt.custom.StyledTextListener.handleEvent(StyledTextListener.java:61) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:709) at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5047) at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:4789) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:965) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:961) at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1275) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3346) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3246) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4025) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1923) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952)
2006-07-24 13:50:25
1,153,760,000
verified fixed
7992135
1,155,830,000
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/generics/InferTypeArgumentsTCModel.java
JDT
2,198
154,215
Bug 154215 NPE in org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.updateOccurrenceAnnotations
20060816-0100 (nightly) When I did a Ctrl-Shift O I got the following exception. I was fixing warnings in AddMarkersAction in the UI tests but I have not been able to replicate !ENTRY org.eclipse.jface 4 2 2006-08-17 09:16:43.421 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface". !STACK 0 java.lang.NullPointerException at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.updateOccurrenceAnnotations(JavaEditor.java:3035) at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.doSelectionChanged(JavaEditor.java:2239) at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor$OutlineSelectionChangedListener.selectionChanged(JavaEditor.java:300) at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:839) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.runtime.Platform.run(Platform.java:843) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149) at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:837) at org.eclipse.jface.viewers.StructuredViewer.handleInvalidSelection(StructuredViewer.java:1094) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1336) at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1413) at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1370) at org.eclipse.jdt.internal.ui.javaeditor.JavaOutlinePage$JavaOutlineViewer.reconcile(JavaOutlinePage.java:425) at org.eclipse.jdt.internal.ui.javaeditor.JavaOutlinePage$1.run(JavaOutlinePage.java:172) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3354) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3000) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952)
2006-08-17 09:16:58
1,155,820,000
resolved fixed
99979e1
1,155,820,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java
JDT
2,199
144,410
Bug 144410 [JUnit] TypeRenameParticipant still uses 'isTest' property
N20060529-0010 TypeRenameParticipant still uses 'isTest' property to check enablement in the plugin.xml. To avoid loading of the JUnit plug-in, it should use the same tests as JUnitLaunchShortcut (only loads jdt.launching).
2006-05-30 06:19:44
1,148,980,000
resolved fixed
5483c25
1,155,820,000
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/ResourceExtender.java
JDT
2,200
154,193
Bug 154193 [build path] Can't edit filters on project without separate src folder
1. Create new Project as source and bin folder 2. On the project invoke BP>Configure Inclusion/Exclusion Filters... 3. Click Finish Is: Java Model Exception: Java Model Status [P08 [in P08] does not exist] at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException(JavaElement.java:485) at org.eclipse.jdt.internal.core.PackageFragmentRoot.getUnderlyingResource(PackageFragmentRoot.java:742) at org.eclipse.jdt.internal.core.Openable.getCorrespondingResource(Openable.java:287) at org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.EditFilterAction.run(EditFilterAction.java:106) at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3377) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2997) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) !SUBENTRY 1 org.eclipse.jdt.core 4 969 2006-08-17 12:36:51.289 !MESSAGE P08 [in P08] does not exist
2006-08-17 06:36:20
1,155,810,000
verified fixed
bcfe9b5
1,155,820,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathWizard.java
JDT
2,201
153,078
Bug 153078 [build path] Configure Output Folder dialog > Browse... dialog should not accept the project as valid
I20060807-2000 The Build Path > Configure Output Folder... > Browse... dialog should not accept the project itself as valid value.
2006-08-08 07:11:12
1,155,040,000
resolved fixed
b59e7d4
1,155,810,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/OutputLocationDialog.java
JDT
2,202
154,196
Bug 154196 [build path] NPE when setting output folder to default
null
2006-08-17 06:46:20
1,155,810,000
resolved fixed
5e967ad
1,155,810,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/buildpath/BuildpathModifierActionTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/ClasspathModifier.java
JDT
2,203
153,077
Bug 153077 [build path] Configure Output Folder dialog should show the default output folder
I20060807-2000 The Build Path > Configure Output Folder... dialog should show the default output folder so that it is clear which folder is used when choosing this radio button.
2006-08-08 07:09:42
1,155,040,000
resolved fixed
852490a
1,155,810,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/OutputLocationDialog.java
JDT
2,204
154,044
Bug 154044 [build path] Remove excluded output folder on output folder change
I20060810-1230 1. Create Java Project with separate src output folder 2. On the src folder invoke BP>Configure Output Folder... 3. specify src/bin1 4. invoke BP>Configure Output Folder.... 5. specify src/bin2 6. invoke BP>Configure Inclusion/Exclusion Filters... Is: bin1 is filtered Should: bin1 should not be filtered but removed (optional)
2006-08-16 08:47:08
1,155,730,000
resolved fixed
74e3e6f
1,155,810,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/buildpath/BuildpathModifierActionTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/ClasspathModifier.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPListElement.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/EditOutputFolderAction.java
JDT
2,205
148,081
Bug 148081 [hovering] Hover and F2 do not work for some error messages
create a try block without a catch or finally. There is no squiggly underline on the closing brace, so the error is not easily accessible using F2. Type "; ff" in a method body somewhere. There *IS* a squiggly underline under the semicolor, but F2 fails there too.
2006-06-21 13:49:04
1,150,910,000
verified fixed
4085111
1,155,810,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaWordFinder.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/AbstractJavaEditorTextHover.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java
JDT
2,206
145,138
Bug 145138 [content assist] IJavaCompletionProposalComputer corecontext only initialized 'by chance'
I have been successfully using the org.eclipse.jdt.ui.javaCompletionProposalComputer extension point in a plugin (lets call it plugin A). This plugin have the following code: public List computeCompletionProposals(ContentAssistInvocationContext context, IProgressMonitor monitor) { JavaContentAssistInvocationContext ctx = (JavaContentAssistInvocationContext)context; CompletionContext coreContext = ctx.getCoreContext(); try { if(coreContext!=null) { int kind = coreContext.getTokenKind(); if(kind==CompletionContext.TOKEN_KIND_STRING_LITERAL) { ... So it uses the public API JavaContentAssitInvocationContext and its coreContext to decide if a completion is being performed inside a String literal. This works beautifull. Now for modularity sake I wanted to seperate this functionallity out to another plugin. Thus I copied the extension point and code into plugin B which then depends on plugin A. The proposal computer is indeed called, but now the core context is null. Enabling the code in Plugin A together with the new thing in Plugin B showed that for some reason Plugin A had a non-null core context and Plugin B still had null. After some time I found that the reason is that the core context is only intialized IFF one of the builtin JDT provided proposalcomputers is called first. This is because they internall call the non-public: JavaCompletionProposalComputer.createCollector(context) which in turn call ExperimentalResultCollector which initializes the corecontext. Thus the capabilities exposed to a custom proposalcomputer is 'by chance'. If the above is expected behavior then it would be interesting to find out one of the following: A) how can I ensure that my completion proposal collector is called *after* the corecontext is initialized ? B) can I create the context somehow from within my custom propsal collector with public API that does not interfere with the builtin JDT completion ? C) Is there a more public (and just as efficient) API to detect where a codecompletion is actually performed ? (e.g. to see if it is on a string)
2006-06-02 15:04:50
1,149,280,000
resolved fixed
7877a5b
1,155,810,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/java/JavaContentAssistInvocationContext.java
JDT
2,207
153,245
Bug 153245 [content assist] Must better handle evil javadocCompletionProcessor
I20060809-0010. Currently an evil javadocCompletionProcessor contribution that takes a long time to complete results in a dialog and there is no way to - detect which processor causes it - disable the bad processor At a minimum for 3.2.1 we must - list all possible candidates - provide a way to disable the LegacyJavadocCompletionProposalComputer
2006-08-09 04:25:48
1,155,110,000
verified fixed
f841b33
1,155,800,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/CompletionProposalComputerDescriptor.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/java/IJavadocCompletionProcessor.java
JDT
2,208
153,421
Bug 153421 [preferences] Looking at 'Java Compiler' property forces build and generates file
R3.2 and I20060810-0010 * Workspace default JRE is jdk1.4.2_08 * Also have jdk1.5.0_08 in the workspace * Create a new Java project, specifying a project specific JRE for the project - jdk1.5.0._08 * Select the newly created project and check its "properties..." * Select the "Java Compiler" page to see that the compliance has been set to 1.5 * Press OK ==> build is started ==> new file gets added: '.settings/org.eclipse.jdt.ui.prefs' with: #Thu Aug 10 11:51:55 CEST 2006 eclipse.preferences.version=1 internal.default.compliance=default The "internal.default.compliance=default" seems to be the bad guy.
2006-08-10 07:09:23
1,155,210,000
resolved fixed
e33caea
1,155,750,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ComplianceConfigurationBlock.java
JDT
2,209
153,449
Bug 153449 [preferences] Code folding has completely disappeared
I do not know how I got my platform into this state but it has been like this for awhile and I cna't figure it out. I have completely lost all ability to use and even see code folding, even though the actions and preference settings all seem to think it is still there and working/available. I can enable and disable folding, and I see my editor margin increase/decrease in size providing a gutter for the code folding markers to appear in, but they simply aren't there. Also, all of the menu options to expand all and collapse all are there and enabled but they do nothing. I'll attach a bunch of screenshots and my platform configuration info. Things of note: I am running Eclipse 3.2 on Windows XP, and my workspace is set up for feature-based self-hosting.
2006-08-10 11:31:23
1,155,220,000
verified fixed
897564b
1,155,740,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/FoldingConfigurationBlock.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/PreferencesMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/folding/FoldingMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/folding/JavaFoldingStructureProviderRegistry.java
JDT
2,210
130,472
Bug 130472 [projection] Bizarre folding behavior
Folding has become extremely unstable in 3.2. What usually seems to happen is that if I start editing an inner (nested) class, the whole folding structure gets messed up. Large chunks of code are not visible any more. Turning off folding does not help in this case. The file has to be closed and reopened to make the missing text visible.
2006-03-05 15:56:54
1,141,590,000
verified fixed
a4b5e8f
1,155,740,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/folding/DefaultJavaFoldingStructureProvider.java
JDT
2,211
153,068
Bug 153068 [build path] Configure Output Folder dialog does not validate names
I20060807-2000 Build Path > Configure Output Folder... dialog does not validate the file name and results in an error dialog after pressing OK.
2006-08-08 06:39:43
1,155,030,000
resolved fixed
1a8608f
1,155,730,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/buildpath/BuildpathModifierActionTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/CPJavaProject.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/ClasspathModifier.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPListElement.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPListElementAttribute.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/OutputLocationDialog.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceContainerWorkbookPage.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/ClasspathModifierQueries.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/EditOutputFolderAction.java
JDT
2,212
138,910
Bug 138910 [JUnit] JUnit launch config type should support resource mapping
null
2006-04-27 10:04:21
1,146,150,000
resolved fixed
5fe51d8
1,155,580,000
org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/launcher/JUnitMigrationDelegate.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitLaunchShortcut.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitMainTab.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitMigrationDelegate.java
JDT
2,213
31,815
Bug 31815 [typing] New Javadoc comment starts with 2 blank lines instead of 1
build I20030211 Before a method with no comment, type /** <enter>. You get: /** * * */ This has one more blank Javadoc line than I expect.
2003-02-13 14:59:08
1,045,170,000
resolved fixed
aaa72d9
1,155,560,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/javadoc/JavaDocAutoIndentStrategy.java
JDT
2,214
113,266
Bug 113266 [syntax highlighting] javadoc tag names including period is not highlighting correctly
javadoc allows tag names including period. Eclipse correctly shows it in "javadoc view" and hover text. However syntax highlight does not consider to such tag names.
2005-10-20 14:21:00
1,129,830,000
resolved fixed
9ccbee6
1,155,560,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaCommentScanner.java
JDT
2,215
153,287
Bug 153287 [buildpath] NPE in set output dialog
I20060807-2000 1. Create new project with separate src and output folder 2. on a source folder invoke Build Path>Configure Output Folder... 3. Type '/' java.lang.NullPointerException at org.eclipse.jdt.internal.ui.wizards.buildpaths.OutputLocationDialog.warnIfPathDangerous(OutputLocationDialog.java:227) at org.eclipse.jdt.internal.ui.wizards.buildpaths.OutputLocationDialog.doStatusLineUpdate(OutputLocationDialog.java:169) at org.eclipse.jdt.internal.ui.wizards.buildpaths.OutputLocationDialog$OutputLocationAdapter.dialogFieldChanged(OutputLocationDialog.java:151) at org.eclipse.jdt.internal.ui.wizards.dialogfields.DialogField.dialogFieldChanged(DialogField.java:70) at org.eclipse.jdt.internal.ui.wizards.dialogfields.StringDialogField.doModifyText(StringDialogField.java:130) at org.eclipse.jdt.internal.ui.wizards.dialogfields.StringDialogField.access$0(StringDialogField.java:126) at org.eclipse.jdt.internal.ui.wizards.dialogfields.StringDialogField$1.modifyText(StringDialogField.java:108) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:196) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:933) at org.eclipse.swt.widgets.Text.wmCommandChild(Text.java:2143) at org.eclipse.swt.widgets.Control.WM_COMMAND(Control.java:3381) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3255) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4054) at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:1847) at org.eclipse.swt.widgets.Text.callWindowProc(Text.java:131) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3340) at org.eclipse.swt.widgets.Text.windowProc(Text.java:1841) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4054) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1928) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2995) at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.EditOutputFolderAction.run(EditOutputFolderAction.java:128) at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3377) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2997) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952)
2006-08-09 09:19:32
1,155,130,000
verified fixed
4776d34
1,155,130,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/OutputLocationDialog.java
JDT
2,216
153,108
Bug 153108 [ccp] paste CU without target project should set compiler compliance inferred from JRE
null
2006-08-08 12:13:44
1,155,050,000
verified fixed
49d473b
1,155,130,000
org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java
JDT
2,217
153,143
Bug 153143 [package explorer] Regression: PDE Container not shown when referenced plug-in in source
null
2006-08-08 14:38:05
1,155,060,000
verified fixed
df49500
1,155,130,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerContentProvider.java
JDT
2,218
153,113
Bug 153113 [package explorer] empty name node for classfolder on project
20060808 Create a project with a classfolder on the project -> Empty node rendered
2006-08-08 12:25:19
1,155,050,000
verified fixed
cff2fc4
1,155,130,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerContentProvider.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementLabels.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/StandardJavaElementContentProvider.java
JDT
2,219
153,072
Bug 153072 [ccp] 'Copy' enabled with empty selection in classfile editor
3.3.M1 test pass 1. Open a class file without attached source Is: 'Copy' is enabled Should: Not be enabled, or the editor should have a selection 2. Select something 3. Deselect something Is: 'Copy' is not enabled, which is correct.
2006-08-08 06:55:49
1,155,030,000
verified fixed
ded76a2
1,155,110,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java
JDT
2,220
153,050
Bug 153050 [ccp] ResourceException when pasting type after deleting project from workspace (but not from disk)
I20060807-2000 - Paste a code snippet to the empty package explorer - Delete the created project, but do not dlete contents from disk - Paste again org.eclipse.core.internal.resources.ResourceException: Resource '/_pasted_code_/src' already exists. at org.eclipse.core.internal.resources.Resource.checkDoesNotExist(Resource.java:283) at org.eclipse.core.internal.resources.Resource.checkDoesNotExist(Resource.java:270) at org.eclipse.core.internal.resources.Folder.assertCreateRequirements(Folder.java:29) at org.eclipse.core.internal.resources.Folder.create(Folder.java:88) at org.eclipse.core.internal.resources.Folder.create(Folder.java:118) at org.eclipse.jdt.internal.ui.refactoring.reorg.PasteAction$1.createNewProject(PasteAction.java:503) at org.eclipse.jdt.internal.ui.refactoring.reorg.PasteAction$1.run(PasteAction.java:438) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313) at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:763) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:760) at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2283) at org.eclipse.ui.internal.progress.ProgressManager$5.run(ProgressManager.java:1130) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.internal.progress.ProgressManager.runInUI(ProgressManager.java:1123) at org.eclipse.jdt.internal.ui.refactoring.reorg.PasteAction$TextPaster.paste(PasteAction.java:587) at org.eclipse.jdt.internal.ui.refactoring.reorg.PasteAction.run(PasteAction.java:213) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:267) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:243) at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) at org.eclipse.ui.actions.RetargetAction.runWithEvent(RetargetAction.java:229) at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:119) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:461) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:424) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:160) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:466) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:799) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:846) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:564) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:506) at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:122) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:982) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:927) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:965) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:961) at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1275) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3352) at org.eclipse.swt.widgets.Tree.WM_CHAR(Tree.java:4800) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3252) at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:4796) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4054) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1928) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2995) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952)
2006-08-08 05:14:08
1,155,030,000
verified fixed
04172b1
1,155,030,000
org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java
JDT
2,221
78,416
Bug 78416 [search] Java search on working set contains items outside of the working set
Using build I20041111, I did a search for all references to the method ResourcesPlugin.getWorkspace() inside my Team working set which contains the team plugings. The result contained 304 results, many of which were not in the team plugins. Some of the bad matches were marked potential matches while others were not. I would expect a search for the references to a static method to return only real mathces. I would also expect that a search in a working set would only include classes that were contained in the working set.
2004-11-11 14:31:53
1,100,200,000
verified fixed
141b189
1,154,960,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchPage.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/SearchMessages.java
JDT
2,222
147,079
Bug 147079 [rename] wizard won't show if the Internal Web Browser View is open
When the Internal Web Browser View is open, the Rename-Type refactoring wizard won't show. After a click on the Refactor->Rename context menu entry, nothing happens. Steps to Reproduce: 1. Create a new Java Project e.g. TestProject 2. Create a new class in the default package, e.g. TestClass 3. Open the Internal Web Browser View via the Window -> Show View -> Other -> General -> Internal Web Browser menu. 4. Open TestClass.java with the Java Editor. 5. Select the class name, and select Refactor -> Rename from the context menu. When the Internal Web Browser View is closed, the Rename-Type wizard will open again. Im using Eclipse SDK 3.2 RC7 Build id: I20060602-1317
2006-06-14 12:26:04
1,150,300,000
verified fixed
81b794e
1,154,960,000
org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/RenameUserInterfaceStarter.java
JDT
2,223
151,773
Bug 151773 [JUnit] Comparison dialog doesn't open for JUnit4 tests
Double clicking the first line of the failure trace when it is a comparison failure (i.e., assertEquals( "1", "2" );) opens up the CompareResultDialog when using the JUnit 3 test runner. When using the JUnit 4 test runner (with either a JUnit3 or JUnit4 test case) double clicking does nothing. Digging a bit, it seems that the TestElement.fExpected and TestElement.fActual elements are set to null, which disables the FailureTrace.fCompareAction and thus results in no CompareResultDialog being shown. These fields seem to be set from the RemoteTestRunnerClient's fExpectedResult and fActualResult fields. In the JUnit3 case, these fields get set appropriately by calls to RemoteTestRunnerClient.AppendingProcessingState.readMessage, but under the JUnit4 test runner these methods do not get called. I did not bother looking any further at this point. Sample code: import junit.framework.TestCase; public class Tester extends TestCase { public void testComparison( ) { assertEquals( "Gah", "Gooh" ); } } Create a JUnit run configuration and then try both the JUnit3 and a JUnit4 test runners to see the differences in behaviour.
2006-07-25 17:33:59
1,153,860,000
verified fixed
6bf1b67
1,154,960,000
org.eclipse.jdt.junit4.runtime/src/org/eclipse/jdt/internal/junit4/runner/FailureException.java org.eclipse.jdt.junit4.runtime/src/org/eclipse/jdt/internal/junit4/runner/JUnit4TestListener.java
JDT
2,224
132,827
Bug 132827 [build path] CE if external archive is added twice
I20060321-1210 1. Create new Project 2. Add foobar.jar to project 3. Add foobar.jar to project: org.eclipse.core.runtime.CoreException: Build path contains duplicate entry: 'C:Documents and Settings/beb/Desktop/foobar.jar' for project P01 at org.eclipse.jdt.internal.corext.buildpath.ClasspathModifier.validateAndAddEntry(ClasspathModifier.java:1979) at org.eclipse.jdt.internal.corext.buildpath.ClasspathModifier.setNewEntry(ClasspathModifier.java:1880) at org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.AddArchiveToBuildpathAction.addExternalJars(AddArchiveToBuildpathAction.java:110) at org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.AddArchiveToBuildpathAction$1.run(AddArchiveToBuildpathAction.java:78) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
2006-03-22 08:40:44
1,143,030,000
resolved fixed
4eaa042
1,154,620,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/AutomatedSuite.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/buildpath/BuildpathModifierActionTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/AddArchiveToBuildpathAction.java
JDT
2,225
133,810
Bug 133810 [nls tooling] Find Broken NLS Keys action only works on saved properties files
I20060329-0010. Borken stuff in dirty Java files is correctly detect through Java search but for properties files the last saved state is used.
2006-03-29 05:59:39
1,143,630,000
resolved fixed
c40600d
1,154,610,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/search/NLSSearchTest.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/search/NLSSearchResultRequestor.java
JDT
2,226
152,604
Bug 152604 [nls tooling] Find Broken Externalized Strings reports false positive
I20060801-0900 Running Source > Find Broken Externalized Strings on /org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/RefactoringUIMessages.properties gives these false positives: Unused keys in: RefactoringUIMessages.properties - \org.eclipse.ltk.ui.refactoring\src\org\eclipse\ltk\internal\ui\refactoring (3 matches) Undefined keys in: RedoRefactoringAction.java - org.eclipse.ltk.ui.refactoring Undefined keys in: RefactoringHistoryWizard.java - org.eclipse.ltk.ui.refactoring.history Undefined keys in: UndoRefactoringAction.java - org.eclipse.ltk.ui.refactoring
2006-08-02 10:51:27
1,154,530,000
verified fixed
560d872
1,154,530,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/search/NLSSearchTest.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/search/NLSSearchResultRequestor.java
JDT
2,227
151,404
Bug 151404 [misc] Softening visibility of parts of JavaOutlinePage
null
2006-07-21 09:28:53
1,153,490,000
resolved fixed
2b21ed9
1,154,520,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
JDT
2,228
152,384
Bug 152384 [preferences] Compilance level changes from 1.4 to 5.0 unexpectedly
I have this java on my machine: -- 1.4.2_05 -- 1.4.2_09 -- 1.5.0_07 Bring up Eclipse 3.2 with a new workspace. From the Eclipse menu, select Window->Preferences. Expand Java, select Compiler. In my case, the "Compiler compliance level" has 1.4 selected by default. Still under Java, select Installed JREs. The only thing showing for me at this point is jre1.5.0_07, and it is selected to be the default. Click on Add. Type this in the JRE name field: JRE 1.4.2_09 (or 1.4.2_05 if you have that). Click on the Browse button and locate 1.4.2_09. Mine was under my C: directory. OK. OK. Select JRE 1.4.2_09 to be the default Installed JRE. OK out of the Preferences dialog. You may get a prompt that the compiler settings have changed and a full build is required. If so, select Yes. Select Window->Preferences again. Expand Java, and select Compiler again. Now the compliance level shows 5.0 by default. If you reselect 1.4, it seems to stick this time. The problem is that since you wanted it to use the 1.4 VM any attempts to run after it changed the compiler to 1.5 will cause incompatible class file errors.
2006-07-31 18:19:41
1,154,380,000
verified fixed
a875b93
1,154,510,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompliancePreferencePage.java
JDT
2,229
25,793
Bug 25793 [rulers][api] Provide simpler way to add a decorator to a composite ruler
Would like something like: /** * Decorates the given java editor part with the given vertical ruler column * implementation. The vertical ruler is placed in the last position to the * right of the java editor's current vertical rulers. */ JavaUI.addDecorator(IEditorPart javaEditor, IVerticalRulerColumn myVerticalRulerColumn); /** * Removes the given vertical ruler column from the given java editor. */ JavaUI.removeDecorator(IEditorPart javaEditor, IVerticalRulerColumn myVerticalRulerColumn); We need this in order to add a vertical ruler column to annotate a java editor with our own line-based text data. Currently, this can sort of be done using this approach, though it has the strong disadvantage of assuming an internal implementation: // assume ieditorpart instanceof JavaEditor StatusTextEditor statustexteditor = (StatusTextEditor) ieditorpart; CompositeRuler compositeruler = (CompositeRuler)statustexteditor.getAdapter (IVerticalRulerInfo.class); int index = 1; // should be 2 if line numbers are showing compositeruler.addDecorator(index, new MyRulerColumn());
2002-11-06 14:11:24
1,036,610,000
verified fixed
dce22c5
1,154,500,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java
JDT
2,230
105,761
Bug 105761 [extract local][extract constant] use ast rewrite for extract local / constant
3.1 The quick assist that uses extract local could profit from using ast rewrite to track the positions.
2005-08-02 04:47:07
1,122,970,000
resolved fixed
0dd9682
1,154,280,000
org.eclipse.jdt.ui.tests.refactoring/resources/ExtractTemp/canExtract/A_test54_out.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractTemp/canExtract/A_test55_out.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractTemp/canExtract/A_test57_out.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractTemp/canExtract/A_test79_out.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTNodeFactory.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/fragments/AssociativeInfixExpressionFragment.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/fragments/IASTFragment.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/fragments/IExpressionFragment.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/fragments/SimpleExpressionFragment.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/fragments/SimpleFragment.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractTempRefactoring.java
JDT
2,231
151,853
Bug 151853 [JUnit] JME "Project does not exist" when opening JUnit Test Case wizard
I20060725-0800 1. Create a Project (_not_ Java Project) 2. Execute 'New>JUnit Test Case' Is: Exception is thrown: Java Model Exception: Java Model Status [EQLExamples does not exist] at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException(JavaElement.java:485) at org.eclipse.jdt.internal.core.JavaProject.buildStructure(JavaProject.java:380) at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:229) at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:505) at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:249) at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:235) at org.eclipse.jdt.internal.core.JavaProject.getJavaProjectElementInfo(JavaProject.java:1513) at org.eclipse.jdt.internal.core.JavaProject.newNameLookup(JavaProject.java:2195) at org.eclipse.jdt.internal.core.JavaProject.newNameLookup(JavaProject.java:2205) at org.eclipse.jdt.internal.core.JavaProject.findType(JavaProject.java:1263) at org.eclipse.jdt.internal.core.JavaProject.findType(JavaProject.java:1170) at org.eclipse.jdt.junit.wizards.NewTestCaseWizardPageOne.resolveClassNameToType(NewTestCaseWizardPageOne.java:1124) at org.eclipse.jdt.junit.wizards.NewTestCaseWizardPageOne.superClassChanged(NewTestCaseWizardPageOne.java:1095) at org.eclipse.jdt.ui.wizards.NewTypeWizardPage.typePageDialogFieldChanged(NewTypeWizardPage.java:989) at org.eclipse.jdt.ui.wizards.NewTypeWizardPage.access$2(NewTypeWizardPage.java:953) at org.eclipse.jdt.ui.wizards.NewTypeWizardPage$TypeFieldsAdapter.dialogFieldChanged(NewTypeWizardPage.java:891) at org.eclipse.jdt.internal.ui.wizards.dialogfields.DialogField.dialogFieldChanged(DialogField.java:70) at org.eclipse.jdt.internal.ui.wizards.dialogfields.StringDialogField.setText(StringDialogField.java:162) at org.eclipse.jdt.ui.wizards.NewTypeWizardPage.setSuperClass(NewTypeWizardPage.java:1225) at org.eclipse.jdt.junit.wizards.NewTestCaseWizardPageOne.internalSetJUnit4(NewTestCaseWizardPageOne.java:290) at org.eclipse.jdt.junit.wizards.NewTestCaseWizardPageOne.setJUnit4(NewTestCaseWizardPageOne.java:271) at org.eclipse.jdt.junit.wizards.NewTestCaseWizardPageOne.init(NewTestCaseWizardPageOne.java:247) at org.eclipse.jdt.internal.junit.wizards.NewTestCaseCreationWizard.addPages(NewTestCaseCreationWizard.java:48) at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:499) at org.eclipse.jface.window.Window.create(Window.java:426) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1124) at org.eclipse.ui.internal.actions.NewWizardShortcutAction.run(NewWizardShortcutAction.java:113) at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3377) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2997) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) !SUBENTRY 1 org.eclipse.jdt.core 4 969 2006-07-26 16:04:18.241 !MESSAGE EQLExamples does not exist
2006-07-26 10:04:33
1,153,920,000
verified fixed
eb81088
1,154,010,000
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java
JDT
2,232
143,073
Bug 143073 [actions] Memory leak caused by new Search > "Occurrences in File" sub menu
3.2 RC5 The new Search > Occurrence In File sub menu (i.e. OccurrencesSearchMenuAction) causes a memory leak: 1. open Java editor 2. close Java editor ==> Java editor is leaked NOTE: only the last one is leaked. This is severe a severe regression compared to 3.1.x and should be fixed for 3.2.
2006-05-22 17:05:59
1,148,330,000
verified fixed
0a0db99
1,153,760,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OccurrencesSearchMenuAction.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/SurroundWithTemplateMenuAction.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindExceptionOccurrencesAction.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindImplementOccurrencesAction.java
JDT
2,233
151,505
Bug 151505 [content assist] field names in setters or constructors are not completed by content assist if to be qualified with this
From 3.1 on the "this" qualifier is suggested by code assistance when completing on field names that have the same name as constructor or method parameters. Unfortunately the field variable name is not succesfully applied when using the completion. In contrast to previous releases the qualifier appears in the completion list: key String this.key String - Test sample: public class Test { private String key; public Test(String key) { k // try completion here } public void setKey(String key) { k // try completion here } }
2006-07-22 07:15:01
1,153,570,000
resolved fixed
13d7918
1,153,760,000
org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/contentassist/MethodInsertCompletionTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProposal.java
JDT
2,234
146,116
Bug 146116 [render] npe in BindingLabelProvider
while trying to inline the variable "test", got an error. public class X { { int test = 3; System.out.println(test); } } java.lang.reflect.InvocationTargetException at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:350) at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.run(RefactoringWizardDialog2.java:304) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.internalPerformFinish(RefactoringWizard.java:545) at org.eclipse.ltk.ui.refactoring.UserInputWizardPage.performFinish(UserInputWizardPage.java:154) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.performFinish(RefactoringWizard.java:611) at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.okPressed(RefactoringWizardDialog2.java:433) at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:508) at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3164) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2840) at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation$1.run(RefactoringWizardOpenOperation.java:132) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run(RefactoringWizardOpenOperation.java:145) at org.eclipse.jdt.internal.ui.refactoring.actions.RefactoringStarter.activate(RefactoringStarter.java:40) at org.eclipse.jdt.internal.corext.refactoring.RefactoringExecutionStarter.startInlineTempRefactoring(RefactoringExecutionStarter.java:280) at org.eclipse.jdt.ui.actions.InlineTempAction.run(InlineTempAction.java:100) at org.eclipse.jdt.ui.actions.InlineTempAction.tryInlineTemp(InlineTempAction.java:123) at org.eclipse.jdt.ui.actions.InlineAction.run(InlineAction.java:108) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:271) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:243) at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3164) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2840) at org.eclipse.jdt.internal.ui.actions.QuickMenuAction.run(QuickMenuAction.java:77) at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) 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:461) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:424) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:160) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:466) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:799) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:846) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:564) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:506) at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:122) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1341) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1084) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1109) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1094) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1121) at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:655) at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:2082) at org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:637) at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1434) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3796) at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method) at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:5245) at org.eclipse.swt.widgets.Display.eventProc(Display.java:1133) at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method) at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1427) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2838) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) Caused by: java.lang.NullPointerException at org.eclipse.jdt.internal.ui.viewsupport.BindingLabelProvider.getMethodLabel(BindingLabelProvider.java:211) at org.eclipse.jdt.internal.ui.viewsupport.BindingLabelProvider.getLocalVariableLabel(BindingLabelProvider.java:136) at org.eclipse.jdt.internal.ui.viewsupport.BindingLabelProvider.getBindingLabel(BindingLabelProvider.java:446) at org.eclipse.jdt.internal.corext.refactoring.code.InlineTempRefactoring.createChange(InlineTempRefactoring.java:228) at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:121) at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:189) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) Root exception: java.lang.NullPointerException at org.eclipse.jdt.internal.ui.viewsupport.BindingLabelProvider.getMethodLabel(BindingLabelProvider.java:211) at org.eclipse.jdt.internal.ui.viewsupport.BindingLabelProvider.getLocalVariableLabel(BindingLabelProvider.java:136) at org.eclipse.jdt.internal.ui.viewsupport.BindingLabelProvider.getBindingLabel(BindingLabelProvider.java:446) at org.eclipse.jdt.internal.corext.refactoring.code.InlineTempRefactoring.createChange(InlineTempRefactoring.java:228) at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:121) at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:189) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
2006-06-08 16:57:07
1,149,800,000
verified fixed
573fb3a
1,153,760,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/BindingLabelProvider.java
JDT