Community
Participate
Working Groups
WIth the Errors / Warnings configuration set to display "Error" on declared exceptions that are not actually thrown, it is not possible to resolve multiple problems with a single batch Quick Fix operation initiated from the "Problems" tab. The message "The selected problems do not have a common applicable Quick Fix" is displayed, instead. These issues clearly have the same root cause and should be eligible for a batch operation. This makes resolving multiple issues very time consuming. Reproduction Steps: 1) With a new java class, configure the project's Java > Compiler > Error / Warnings "Unnecessary detection of thrown exceptions" to "Error" 2) Create a new java class with a main method that throws "Exception", and "IOException" (you'll have to import java.io.IOException) 3) Save the file 4) Observe the Problems tab refreshes with 2 problems 5) Select both problems and right-click, select "Quick Fix" 6) Observe error message -- Configuration Details -- Product: Eclipse 4.5.0.20150621-1200 (org.eclipse.epp.package.jee.product) Installed Features: org.eclipse.jdt 3.11.0.v20150603-2000
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.