InteractiveFaultLocalization / iFL4Eclipse

iFL for Eclipse is an Eclipse plug-in for supporting interactive fault localization for Java projects developed in this environment.
Eclipse Public License 2.0
3 stars 1 forks source link

Unhandled event loop exception, UnsupportedOperationException applying a rule with undefined scored elements #200

Closed brita-sed closed 3 years ago

brita-sed commented 3 years ago

Precondition

Steps

  1. Select a project.
  2. Click iFL button.
  3. In the generated csv file delete some rows.
  4. Load scores -> load this modified csv.
  5. Click Hide undefined button to show undefined scored elements.
  6. Click "Show filters" button.
  7. Click "Add rule" button.
  8. Add a score rule, e.g. Score <= 1.

Expected results

Received results

unhandled_loop_undefined

Environment:

brita-sed commented 3 years ago

The problem is the same when I use Context based feedback with an undefined selected element.

Dhorvath1294 commented 3 years ago

https://github.com/InteractiveFaultLocalization/iFL4Eclipse/releases/tag/V2.general_fixes.2

The score filter now always shows undefined elements despite of the filter value. Context based feedback is now not allowed if undefined elements are in the selection.

brita-sed commented 3 years ago

The bug has been corrected, I didn't get any error message.

brita-sed commented 3 years ago

This problem occurs again:

java_lang_unsupported

unhandled_rule_undefined_log.txt

Dhorvath1294 commented 3 years ago

The origin of the problem is the same as in issue #210 , so this release should also fix this one: https://github.com/InteractiveFaultLocalization/iFL4Eclipse/releases/tag/V3.0.210.1

brita-sed commented 3 years ago

Using rules is corrected:

undefined_all_elements

Context based feedback is also corrected in case of undefined elements: undefined_context_corrected