Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343499 - Trying to import a non-Excel file as central test data set may throw NullPointerException
Summary: Trying to import a non-Excel file as central test data set may throw NullPoin...
Status: CLOSED WONTFIX
Alias: None
Product: Jubula
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Oliver Goetz CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-21 05:42 EDT by henning CLA
Modified: 2013-11-19 09:44 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description henning CLA 2011-04-21 05:42:54 EDT
Build Identifier: 5.0.01007

Instead of throwing an exception, the application should show a popup informing the user that the file is not valid or could not be imported. It may also be helpful, if the application would limit the displayed files to those with .xls extension.

Reproducible: Always

Steps to Reproduce:
1. Select File -> Import
2. Select Central Test Data Sets and click Next
3. Select a file that is not a valid Excel file. For example: C:\Program Files\guidancer_5.0.01007\license-agreement.txt
4. Click Finish
--> NullPointerException
Comment 1 Alexandra Schladebeck CLA 2013-11-19 05:51:42 EST
I agree that the error is not nice, but it's easy to avoid, doesn't cause any other problems and doesn't seem to have upset anyone else. Marking as wontfix.
Comment 2 Oliver Goetz CLA 2013-11-19 09:44:13 EST
This can still be reproduced. Closed due to comment 1