Bug 110443 - RPM plugin: Uncaught exception on import
RPM plugin: Uncaught exception on import
Status: CLOSED NEXTRELEASE
Product: Red Hat Developer Suite
Classification: Retired
Component: eclipse (Show other bugs)
1.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Phil Muldoon
Phil Muldoon
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-11-19 11:54 EST by Keith Seitz
Modified: 2007-04-18 12:59 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-11-19 16:26:49 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Keith Seitz 2003-11-19 11:54:03 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2)
Gecko/20030716

Description of problem:
If you import a source RPM, click Browse... and Cancel, the following
message is printed to the console:

Unhandled exception caught in event loop.
Reason:
Argument cannot be null



Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Create new CDT project (File->New...->Project: C; Standard Make C
Project
2.File->Import... Select Source RPM; click Next
3.Click Browse... and Cancel
    

Actual Results:  log reports:
java.lang.IllegalArgumentException: Argument cannot be null
   at org.eclipse.swt.SWT.error(int,
java.lang.Throwable)(/usr/lib/eclipse/plugins/org.eclipse.swt.gtk_2.1.1/ws/gtk/libswt.so)
   at
org.eclipse.swt.SWT.error(int)(/usr/lib/eclipse/plugins/org.eclipse.swt.gtk_2.1.1/ws/gtk/libswt.so)
   at
org.eclipse.swt.widgets.Widget.error(int)(/usr/lib/eclipse/plugins/org.eclipse.swt.gtk_2.1.1/ws/gtk/libswt.so)
   at
org.eclipse.swt.widgets.Combo.setText(java.lang.String)(/usr/lib/eclipse/plugins/org.eclipse.swt.gtk_2.1.1/ws/gtk/libswt.so)
   at
com.redhat.eclipse.rpm.import_export.RPMImportPage$2.handleEvent(org.eclipse.swt.widgets.Event)(/usr/lib/eclipse/plugins/com.redhat.eclipse.rpm.import_export_1.0.0/libRPMimport_export.so)
   at
org.eclipse.swt.widgets.EventTable.sendEvent(org.eclipse.swt.widgets.Event)(/usr/lib/eclipse/plugins/org.eclipse.swt.gtk_2.1.1/ws/gtk/libswt.so)
   at
org.eclipse.swt.widgets.Widget.sendEvent(org.eclipse.swt.widgets.Event)(/usr/lib/eclipse/plugins/org.eclipse.swt.gtk_2.1.1/ws/gtk/libswt.so)
[snip]


Expected Results:  Nothing should have happened. Absolutely nothing. :-)

Additional info:
Comment 1 Phil Muldoon 2003-11-19 16:26:49 EST
Added null test for file dialog
Added File.isFile test for return value
Added src.rpm test for returned value

Note You need to log in before you can comment on or make changes to this bug.