Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 343499

Summary: Trying to import a non-Excel file as central test data set may throw NullPointerException
Product: [Technology] Jubula Reporter: henning
Component: UIAssignee: Project Inbox <jubula.ui-inbox>
Status: CLOSED WONTFIX QA Contact: Oliver Goetz <Oliver.Goetz>
Severity: minor    
Priority: P3 CC: alexandra.schladebeck
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

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