NPE selecting file in explorer that has no file extension
---------------------------------------------------------
Key: TEIIDDES-429
URL:
https://jira.jboss.org/jira/browse/TEIIDDES-429
Project: Teiid Designer
Issue Type: Bug
Components: Views
Affects Versions: 7.0
Reporter: Barry LaFond
Fix For: 7.0
Create File resource under some Model Project in Desginer
Select that file in explorer and receive the following NPE:
java.lang.NullPointerException
at
com.metamatrix.modeler.internal.ui.actions.DeleteResourceAction.isValidSelection(DeleteResourceAction.java:861)
at
com.metamatrix.modeler.internal.ui.actions.DeleteResourceAction.selectionChanged(DeleteResourceAction.java:799)
at
org.eclipse.ui.internal.AbstractSelectionService.fireSelection(AbstractSelectionService.java:156)
at
org.eclipse.ui.internal.AbstractSelectionService$1.selectionChanged(AbstractSelectionService.java:62)
at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162)
Simple code fix in DeleteResourceAction
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira