User load mistakes result in non-functional app

Issue #389 on hold
Robert Leach created an issue

USE CASE: WHAT DO YOU WANT TO DO?

Be able to make a mistake when loading a file and get a second chance to get it to load correctly.

STEPS TO REPRODUCE AN ISSUE (OR TRIGGER A NEW FEATURE)

  1. Open small_133x133.txt
  2. Check the "space" delimiter
  3. Click continue

CURRENT BEHAVIOR

App freezes at the 99% load stage.

EXPECTED BEHAVIOR

Get an error window explaining that the number of columns is inconsistent which one can dismiss and be returned to the load interface where they can adjust the load options.

DEVELOPERS ONLY SECTION

SUGGESTED CHANGE (Pseudocode optional)

Check the consistency in the number of columns in the file and throw up an error window if it's inconsistent. Prevent dismissal of the load window in this instance.

FILES AFFECTED (where the changes will be implemented) - developers only

unknown

LEVEL OF EFFORT - developers only

minor

COMMENTS

Found this issue when testing the jar for PR 62. That jar freezes after the load screen disappears.

Comments (9)

  1. Christopher Keil repo owner

    The related error is a problem in HeaderFinderBox (search). 389_error.PNG

    The issue itself should be purged and possible exceptions handled.

  2. Robert Leach reporter

    I agree that HeaderFinderBox should handle these exceptions, but I think that the load interface should catch the problem with the column count inconsistency before it gets to HeaderFinderBox.

  3. mohammed faizaan

    I see the below exception too (When I load the data for the first time) Capture.JPG

    So we need to handle both the exceptions.

  4. Christopher Keil repo owner

    @smd_faizan @hepcat72 I would actually wait on this issue due to pull request #62. It heavily affects this portion of the code and isn't merged yet. This should be tested for again after merging which will hopefully be soon after alpha03 release.

    I know this error and heavily doubt it will occur after merging pull request #62.

  5. Robert Leach reporter

    I believe this will be addressed by another issue Chris is working on, and in looking for an issue to take, I figured I would mark such issues which are somewhat like duplicates as being worked on. It will make it easier for others to select an issue to take.

  6. Log in to comment